Settings

Theme

Emacs: A Basic and Capable Configuration

protesilaos.com

79 points by donatzsky a year ago · 11 comments

Reader

drfiresign a year ago

I've only been using Emacs for 7 or 8 years, but in my admittedly limited experience, Protesilaos has singlehandedly done more to bring more people into the community than anyone. He's been a huge advocate for composability in packages, through use of the core Emacs functions, allowing incredible flexibility without being locked into a particular library (e.g. Helm / Ivy).

I'm always curious to see what he's been up to!

  • sourcepluck a year ago

    I'm unashamedly singing Prot's praises below there, but I must say, there are many, many people who've done amazing things to bring people in to Emacs over the last few years. Singling one person out as doing "the most" is in my opinion not sensible or fair.

    Without reflecting much at all or trawling through various resources, Mike Zamansky, Sacha Chu, Mickey Peterson, etc etc. Not to mention all the maintainers, Eli Zaretskii, Lars Ingebrigsten, and however many others I don't know about, loads probably.

sourcepluck a year ago

Prot continuing to be thorough in his work, write clearly, and produce very useful stuff for Emacs operators. This guide looks very interesting (even for slightly-above-beginner Emacsers like myself).

gnuhack a year ago

It's great to see Prot over here! His work it's top notch, I've learnt a lot with him. Also it has really affordable Emacs coaching sessions.

setopt a year ago

A lot of this should be made into Emacs default settings. (Like the others, I’m happy to see posts by Prot as usual.)

yoyohello13 a year ago

Awesome! use-package is also now built in as of Emacs 29.

perihelions a year ago

- "Having observed beginners [sic] struggle with C-g not closing the open minibuffer, I know that the following is a quality-of-life refinement:"

Oh wow does this one make me feel stupid. I've spent eons doing a C-x o C-x o C-x o... dance every time there's some bugging-out minibuffer prompt. It *never once* occurred to me to reflect on that as a "I'm doing it wrong!" issue.

  • TeMPOraL a year ago

    That one was tricky to figure out for me, too. I had a colleague ready to give up on Emacs because of that very issue.

    Myself, I also haven't thought about fixing `C-g`. I ended up settling on a compromise solution - I have `winum` package configured so that pressing `M-0` focuses minibuffer, if open, so closing defocused minibuffer is just `M-0 C-g` for me. The keys `M-1` through `M-9` focus the windows 1 through 9, as usual.

    I use a config similar to this explicit one with sparse keymap: https://github.com/deb0ch/emacs-winum?tab=readme-ov-file#key...

    As long as `winum-auto-assign-0-to-minibuffer` user option is `t`, which it is by default, `M-0` does what I described above.

    Having a single key to "focus minibuffer" is also useful with recursive minibuffers, on which I rely increasingly often.

  • Munksgaard a year ago

    I had the same reaction. But now I'm wondering, what is the intended way to close the minibuffer in these cases?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection