|
|
|
|
|
by chuckadams
202 days ago
|
|
> Defaults emacs ships with today are really good. They're really not. It still defaults to opening a split window, still litters #foo# and foo~ files in the directory of whatever you're editing, and still comes with few language modes supported out of the box, let alone set up to automatically spawn and use LSP servers. Running a macro over a 10,000 line file is still incredibly slow on a 1-year old mac. Many common functions are still bound to chains of two or sometimes three keystrokes with multiple combinations of ctrl-keys and sometimes the mysterious ctrl-u prefix. Rebinding all the defaults is pretty much a given for any emacs power user. It's no wonder RMS ended up with RSI problems, because "emacs pinkie" is still very much a thing. I miss emacs in a lot of ways, I used it for a good two dozen years starting in the 90's, but there's a reason I use IDEA Ultimate to write code now. |
|
> split windows.
Why would I want a new window to replace the one I’m in. If I want to look at an info manual, I want it to start in a new window instead of the one that I’m looking it. My understanding is that there are main tasks and secondary tasks. Switching main tasks replace the current windows, starting secondary tasks pop up a new one. And those pops up are usually dismissed by typing q.
> still litters #foo# and foo~ files in the directory of whatever you're editing
Backup files and autosaved files are good. Especially if the edited file is not versioned. It’s the correct choice as some users are not programmers.
> few language modes
How many toolchain are installed on a newly installed OS? And major modes are not only for syntax.
> LSP servers
Eglot is built in and has a good set of default for current servers. But why should Emacs install stuff for me. It does not know how I want to install them.
> macro over a 10,000 lines
macros do run the full set of the commands as it would run in a normal invocation time the amount of repetition. And there are other approaches like an awk script that may be faster for your usecase.
> common functions…bound to chains of two…three keystrokes
Emacs have a lot of commands. And if you used something a lot, you can bind it to a more accessible bindings.
> mysterious ctrl-u prefix
If it’s mysterious after two dozen years, then I wonder if you ever give the manual a glance. It is for providing an argument to the command and it’s commonly used for providing an alternate behavior to the default one. Like ‘g’ is recompile in a compilation buffer and ‘ctrl-u g’ asks for the command to use for the new iteration instead of reusing the old one.