louis,
@louis@emacs.ch avatar

I had my first Emacs coaching session with Prot today. It was even better than I could have imagined.

We focused mainly on the minibuffer:

Out:

  • icomplete
  • fido
  • which-key

In:

  • vertico
  • marginalia
  • orderless with customized matching rules for different completion categories.

https://protesilaos.com/coach/

schmudde,
@schmudde@mastodon.social avatar

@louis Prot is the best! I also have had coaching lessons with him. It’s a real joy.

oatmeal,
@oatmeal@emacs.ch avatar

@louis is he on mastodon anywhere?

louis,
@louis@emacs.ch avatar

@oatmeal No, Prot is email only AFAIK. But he responds quickly.

dekkzz76,
@dekkzz76@emacs.ch avatar

@louis

what was the driving force to change?

louis,
@louis@emacs.ch avatar

@dekkzz76 Well, I did not have a specific opinion on weather packages I wanted for minibuffer completions. My philosophy is to use as much vanilla/default as possible.

But it looks like vertico/marginalia/orderless are really powerful and work in combination with each other. Also, having different matching styles for different minibuffer categories is really great.

Also: Fido had some issues with my global-visual-line-mode. It started to wrap lines after a few keypresses although visual-line-mode was turned off.

dekkzz76,
@dekkzz76@emacs.ch avatar

@louis

i've used flx,ido & smex for last 4 & 5 years

tried the vertico, marginella, orderless combo but it didn't feel right despite being the hot kids on the block

glad you enjoyed your session with prot he certain seems one of the goto guys for emacs

cthulhu,

@louis @dekkzz76 Ivy has been my default completion tool. But recently, I've been getting experimental and may try something new or even go full vanilla 🤔

dekkzz76,
@dekkzz76@emacs.ch avatar

@cthulhu @louis

ivy helm & OMV are great for power users but i don't really come into that category

apublicimage,

@louis
Why did you remove which-key?

ctietze,
@ctietze@mastodon.social avatar

@apublicimage @louis Ooh yes, that surprised me as well

louis,
@louis@emacs.ch avatar

@apublicimage @ctietze I realized that I never use it because of the sheer amount of available entries it shows.

Prot showed me how to create a beautiful and fully customized menu myself with Transient (which is what Magit uses).

So I decided to go the Transient route.

ctietze,
@ctietze@mastodon.social avatar

@louis @apublicimage Exciting! Do you auto-populate a transient with available key bindings, or did you create a whole lot of transients for selected use cases?

louis,
@louis@emacs.ch avatar

@ctietze
It will be the latter. Hand crafted. But it's not finished yet, that's what we will do next week 🙂

ctietze,
@ctietze@mastodon.social avatar

@louis Please consider sharing your journey!

I'm still confused about this move because I personally use which-key to look for available options in keymaps I almost never use (discovery), while making a transient requires up-front knowledge to select what goes where (convenience). Sounds rad to have more transients, though!

daviwil,
@daviwil@fosstodon.org avatar

@ctietze @louis I stopped using which-key when I realized that you can press C-h in any prefix map to get a listing of the keys under that map, provided that C-h isn't bound in that map

ctietze,
@ctietze@mastodon.social avatar

@daviwil @louis You're too hard-core for me :)

It's better than the listing offered by C-h m (IIRC that was/will be overhauled, though?) -- so I'll give that an honest try.

daviwil,
@daviwil@fosstodon.org avatar

@ctietze @louis yeah I'm not sure whether it was 28 or 29 but the binding display buffers are much better now

ctietze,
@ctietze@mastodon.social avatar

@daviwil @louis It's v29. Can tell because I don't have that, yet :)

screwtape,
@screwtape@mastodon.sdf.org avatar

@louis haha, I thought you would have been the coach! I'm looking forward to absorbing some of your deep training

louis,
@louis@emacs.ch avatar

@screwtape The shoemaker's son always goes barefoot. 🙂 In all seriousness, 1:1 sessions help me to avoid distraction and the temptation to "give up" when something doesn't work the way I want it. So now I can focus even more on doing Common Lisp with my IDE of life :emacs:​.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • provamag3
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines