Emacs Writing Experience
Jul 28, 2025 13:44

I’ve enjoyed reading the posts in this month’s Emacs Carnival on the topic of “Writing Experience.” It’s given me an opportunity to reflect not only on how I use Emacs to write, but also on why I continue to use Emacs despite the many alternatives that are available. I don’t consider myself to be the typical Emacs user, if there is such a person. I’m certainly not a coder; anything I learned in my single FORTRAN class thirty-five years ago is long gone by now.1 Instead, I’m a philosophy professor at a small liberal arts university, which means that I live in a Microsoft world. It’s very likely that I am the only Emacs user on campus. I’m also a retired Army Reserve chaplain. I’m sure that Emacs users are a minority in technical fields, but they are almost non-existent in the humanities. One can only imagine how few Emacs users there are in ministry.

Everything that I produced during my undergraduate and graduate studies, including my dissertation, was written with a word processor, either WordPerfect 5.1 or MS Word 6.0. As I began working more with formal logic, I began to be aware of the power and beautiful output of LaTeX, and that led me to look for the best way to edit LaTeX files. It turns out that there’s no agreement on the internet for the best way to do anything, so my search let me down many paths. In 2012, I wrote a blog post about my experience, titled “A Sordid Tale of Text Editors.” It documents a journey from TextMate to Vim, a brief interlude with Emacs, then back to TextMate, then to Sublime Text 2.2 What I now find particularly interesting about that post are the three reasons why I rejected Emacs at the time:

  1. The complex, arcane key combinations,
  2. The inability to use Textexpander snippets in Gnu Emacs, and
  3. The pain of configuring Emacs for amateurs.

The second no longer applies — at the time, Emacs just wasn’t a well-behaved Mac app, but that has changed over the years. The first and third, though, are still common reasons that people cite for giving up Emacs. Shortly after I wrote that, however, I gave Emacs another try, and over a decade later, I’m still using it. More that that, though, I can’t imagine an alternative.

The mistake that I made in my earlier flirtation with Emacs was, in my opinion, treating it as just another text editor. Every other text editor that I tried demanded that I conform to its way of editing. When I realized that Emacs, with a bit of configuration work, was quite willing to conform to the way that I wanted to work, the search was over. Don’t like the keybindings? Then change them! Prefer modal editing? Emacs can do that. Do you want a file tree window to the side as with VSCode? Emacs can do that, too. The initialization files may look complicated at first, but Lisp is very straightforward and remarkably easy to follow, even for a philosopher like me. When I got stuck, I found the community to be remarkably gracious and helpful.

I do write some papers for presentation and possible publication, but our primary responsibility as faculty at my institution is teaching. So, most of my writing is for lecture notes, presentation slides, and handouts. Given our heavy teaching load (normally four courses per semester), it helps to be able to produce these as efficiently as possible. With Emacs, I’m able to write one document and, from that, produce a PDF of notes for me, slides to show in class, and and HTML handout to post in the learning management system. In short, a function creates four files: one that exports a notes PDF for me, one that exports to a LaTeX Beamer document, one that exports to HTML for posting, and a data file used by the other three. The Org headers are automatically inserted into each file, and the only file that I actually edit is the data file. Two Yasnippet snippets make it easy to specify text that appears only in the presenter’s notes in the slides and more detailed notes that appear in the lecture notes. The HTML handout includes everything in the lecture notes. An export function generates the HTML and copies it to the clipboard for pasting to the LMS. (The code for everything is in the teaching section of my configuration file.)

I use many packages, but there are some that are particularly useful for my everyday writing.

Finally, I should point out that I can’t use Emacs for everything. Although everything begins in Org mode, some of it must, unfortunately, end up in Microsoft Word. I have a collaborative book project with a colleague who only uses Word, and most publishers in the humanities, including those in my particular fields of philosophy and religion, expect Word documents. That’s no problem, provided that I am the sole author. Any changes can be made to the original Org document, with a final export to a docx file. If I’m collaborating with someone else, then eventually I just have to start working in Word.

In the end, the best thing about the Emacs writing experience is that there is no such thing as the Emacs writing experience. Emacs provides a canvas and tools from which each user crafts their own editing environment. Simple or complex, modal or non-modal, Emacs can provide the writing experience you want, not merely something that just approximates it. That’s why I’m still using it.

Tagged: Emacs

Footnotes

1

The only thing that remains is a vague recollection of the pain of counting columns when debugging a program.

2

The list is actually much longer than that and it includes some editors whose names I can’t even remember now.