aliquot

< a quantity that can be divided into another a whole number of time />

Emacs for the 21st Century

June 4, 2020

Emacs has a long tradition of being a versatlie text editor for code, prose, GTD, and it may even replace your OS if you’re into this kind of stuff (don’t be kiddy, though, read a more opinionated version). I discovered Emacs when I was doing my PhD, and never looked back – except when Textmate came up a while back. Too late to change: I’m probably too old now, and I would probably not really know how to use another editor in any case. Emacs is Emacs, after all.

While Emacs proponents largely agree that it is the world’s greatest text editor, it is almost as much a Lisp machine disguised as an editor. Indeed, one of its chief appeals is that it is programmable via its own programming language. Emacs Lisp is a Lisp in the classic tradition. In this article, we present the history of this language over its more than 30 years of evolution. Its core has remained remarkably stable since its inception in 1985, in large part to preserve compatibility with the many third-party packages providing a multitude of extensions. Still, Emacs Lisp has evolved and continues to do so. — Evolution of Emacs Lisp

I’m not alone, hopefully, and you’ll find many accounts of why Emacs is great, e.g., Two Years With Emacs as a CEO (and now CTO), the latest random “why I switched to” I found on DuckDuckGo — there are so many, or Remote First, Pair Programming and Emacs, for the latest I came across today.

I’m not that fancy regarding Emacs config, nor do I have to do exceptionally hard things in Emacs. I just want a punctilious text editor, with good support for text spelling (occasionally) and linting(always — that’s where being a bit obsessive bless), that allows me to open as many buffers as I want (regardless of the working directory, okay Vim?), including shell and the like. Emacs does the job, and it does it right, that’s all!

I have countless of personal .emacs.d config stored in my bookmark list, I keep posting various links, and I recently spent a fair amount of time (re)configuring how my Emacs looks. I fear that only those who abound in the sense of ultimate procrastination will be able to understand the joy that a tiny change in the way colors are used to edit Python or Lisp code can bring. Or how you can solve this fucking issue with doom-modeline right-handed overflow after more than one year. Yes, this is just Emacs after all, you can make it looks the way you want, if you have a good search engine and time to waste of course.

That being said, it’s been three weeks that I processed all incoming emails through mu4e, and that I used vterm (not that vterm) as a handy replacement for my default terminal (iTerm2), not to forget xwidget support which provides a way better (in some sense of “way”) experience for web browsing than eww. I don’t know what Emacs will be in the next decade, but surely I’m on the right track and will keep doing fine.

emacs

See Also

» On text linting » Discord on Emacs » R 4.0 » Handy command-line utilities » Wolfram Engine and Jupyter