
Why Use Emacs

Peter Prevos |
2810 words | 14 minutes
Share this content
Most people believe that the first step in becoming more productive is finding the perfect suite of software tools to manage the vast amounts of information we consume daily. I also used to hop from application to application to perform what I needed—jumping from the action list to my schedule, onward to the word processor and spreadsheet, PDF reader and so on. Wouldn't it be nice if there was one program that could help you with almost all your tasks?
Welcome to the Emacs computing system, the Swiss army chainsaw of productivity.
This article explains why you should use Emacs for writing and undertake almost every task in your writing project, from ideation to publication in one application. This article is part of the Emacs Writing Studio starter kit, which explains how to use Emacs to write and publish articles, books, theatre or film scripts and websites.
Emacs Writing Studio
A comprehensive guide for writers seeking to streamline their workflow using Emacs. The book covers everything from organising ideas and writing distraction-free to publishing in multiple formats. It’s perfect for both beginners and experienced Emacs users, offering practical tips and a tailored configuration to enhance your writing process.
You can find the most recent configuration files on GitHub.
What is Emacs?
The official tagline of GNU Emacs is that it is an "extensible self-documenting text editor". However, these words barely do justice to Emacs because they focus on its original purpose as a software development tool.
Emacs is a multi-purpose computing environment that can help you manage your information, track projects, write and publish articles, books, websites and any other text-based activity. Emacs is a text processor on steroids. The first version of Emacs was released forty years ago, which might seem obsolete software. However, a vibrant community of developers continually improves the system.
Emacs is not a productivity hack; it is a productivity hacking system.
The term text editor requires clarification because it is more akin to developing software. Emacs is not merely a text editor but a text processor, which is more than just a word processor. Editing is the last step in the process of writing an article or book. Software developers refer to the whole process as editing.
When you use a computer, you more than likely write a memo in a word processor, then switch to a spreadsheet to create a graph, which you copy and paste into your memo. Next, you open your email client to send the message to your colleague. The last step is to close the action in your productivity tool. After this hard work, you might play a game and open Tetris. When using these pieces of software, you have to learn different skills for each program. You have to use the software the way the developers intended you to use it.
Working with Emacs is a different experience. You write the memo in Emacs, create the graph with Emacs, email the result and close the action with Emacs. Finally, you play the game, you guessed it, within Emacs. If you use Emacs, you only need to learn one piece of software, and you can configure and extend it to how you prefer to use it, not how a programmer wants you to use the software.
At first instance, Emacs looks more like an angry fruit salad than a modern piece of software. The default interface looks dreary, but don't let these simple looks fool you. Under the hood, Emacs is a modern and robust computing environment that is fully configurable to your liking.
Why use Emacs?
Emacs is a malleable software platform, which means that you are free to change and enhance how it works. This malleability ensures that Emacs can perform any task that you can undertake with a keyboard. Emacs is, as such, the Swiss Army Chainsaw of productivity.
The first principle of malleable software is that it is easy to change. You can build applications using the Emacs LISP language (Elisp). This task might sound daunting, but it is about the possibility. Writing code is optional because most Emacs users share what they have developed through thousands of external packages you can freely install.
Emacs Writing Studio makes it easy for you to get started as this configuration has almost everything you need to write prose.
Users can configure almost everything in the system with little knowledge of Elisp. This knowledge requirement might seem like a hurdle, but learning how to use it will give you virtually unlimited power over how you use your computer. Software should adjust to the user, not vice versa, as is the case with most modern packages.
The advantage of this approach is that you have complete freedom in using this software. You can instruct it to do almost anything you like and configure it to your specific needs. The disadvantage is that it requires a different computing approach than contemporary software. Using Emacs throws you back to the original intent of using a computer and genuine user-friendliness.
Are you ready to change the way you use your computer? To paraphrase a famous scene from The Matrix:
You take the blue Microsoft pill—the story ends, and everything stays the same. You take the purple Emacs pill—you stay in Wonderland, and I show you how deep the rabbit hole goes.
Redefining user-friendliness
Emacs' lack of a slick graphical interface might discourage new users. Unfortunately, most software developers confuse user-friendliness with a smooth design and using a mouse. However, the graphical mouse-driven approach is not user-friendly because your dominant hand constantly moves between the mouse and the keyboard. Graphically-driven software is a gilded cage. It might be pleasant, but it is still a cage.
Emacs is a plain text editor, which means that there is limited markup, such as images, bold and italics. Plain text is not the same as plain English; it relates to how the information is stored on disk. Plain text is the opposite of rich text, which includes hidden definitions for font sizes, colours and other text and formatting attributes.
Plain text is not formatted and most commonly has a .txt
extension. There are, however, many other plain text formats, such as HTML, Markdown, LaTeX and Emacs Org Mode. Windows users might be familiar with the venerable Notepad software (which is, by the way, almost as old as Emacs, but with only limited functionality).
Plain text is intelligible across computer systems, so you never have to worry about locking your writing into a proprietary format and being locked-in by a software package. The internet runs on plain text files, which is highly unlikely to change in the long term.
Text modes can display ‘graphics’. In primary school in the 1970s our teacher showed us some art printed with a computer. The art consisted of a series of keyboard characters that resemble a picture, such as this cute stegosaurus below, borrowed from the ASCII Art Website.
. . / `. .’ \ .---. < > < > .---. | \ \ - ~ ~ - / / | ~-..-~ ~-..-~ \~~~\.' `./~~~/ .-~~^-. \__/ \__/ _/ O \ / / \ \ (_____, `._.' | } \/~~~/ `----. / } | / \__/ `-. | / | / `. ,~~| ~-.__| /_ - ~ ^| /- _ `..-' f: f: | / | / ~-. `-. _||_||_ |_____| |_____| ~ - . _ _ _ _ _>
The main benefit of using plain text over rich text is that it provides a distraction-free writing environment. In word processors, the screen looks like a printed page. While this might be aesthetically pleasing, it distracts the writer from creating content and instead fiddle with the design.
Only a tiny part of written text is printed on paper, so the What You See is What You Get (WYSIWYG) approach does not make much sense in the digital age. Plain text writing follows a different philosophy and uses the What You See Is What You Mean (WYSIWYM) approach.
What You See is What You Mean
Graphical interfaces simulate the physical world by making objects on the screen look like pieces of paper and folders on a desk. You point, click and drag documents into folders; documents appear as they would on paper and when done, they go into the rubbish bin. Graphical interfaces are a magic trick that makes you believe you are doing something physical. This approach might be convenient, but it moves the user away from understanding how a computer works.
The WYSIWYG approach distracts the mind from the content and lures the user into fiddling with style instead of writing text. Office workers around the globe waste a lot of time trying to format or typeset documents. Following the Emacs way will help you become more productive by not worrying about the document’s design until you complete the text. As I write this book, it only takes a few keystrokes to convert the text into a fully formatted ebook or web page, ready for distribution.
As I write this website, I don’t see what it will look like in published form. In Emacs, I only see text, images and some instructions for the computer on what the final product should look like (the What You Mean part of WYSIWYM). This approach lets me focus on writing text instead of worrying about the end product.
The image below shows what this looks like in action. The left side shows this article while writing it. The right side shows the result after creating the content. The colours on the screen indicate the function of the text, such as headers, italic text, or metadata, instead of the actual colour. The fonts are uniform, and Org mode hides images to allow me to focus on the text. Org mode can show the images inside the text with a simple keystroke. The image and the text remain separate files. I rarely view a live preview of the eventual output, as that negates the benefits of writing in plain text.

Principles of writing plain text
When I export this document to a web page or any other format, a template and/or style sheet are attached to the text, which define the design of the published work. Another advantage of this approach is that your text can be easily exported to multiple formats.
In my workflow, the Hugo software converts the text in Emacs to a usable website using my custom template and a CSS style sheet. When I convert a text to PDF, the LaTeX software attaches a document class to the text to define the layout and typography. Each export format has its own method to convert plain text to published content.
To publish any text your text will have four elements:
- Content: The text itself.
- Semantics: Context (markers for headings, rich text, tables, images and so on).
- Template: Translates the structure of the document
- Style sheet: The design of the publication.
In a WYSIWYG word processor, all these elements are embedded in one file, but only the text is visible with the semantics and style sheet applied to show the printed result. In plain text, the content and semantics are directly visible, depending on the text format. Please note that TXT
files don’t contain any semantics; they are the simplest form of plain text. The table below shows how italic text is signified in four common plain text formats.
Format | Italic semantics |
---|---|
HTML | <i>Italic Text</i> |
LaTeX | \emph{Italic Text} |
Markdown | **Italic Text** |
Org mode | /Italic Text/ |
The style sheet exists separate from the text. This means that you can easily export your document to various formats with fine control over the end result. Org mode has a versatile export engine that allows you to convert your writings to a website, ebook or physical book with just a few keystrokes and some configuration.
These are only some example of using plain text for writing projects. Many other markup and markdown formats are available to turn your thoughts into a published work. For example, LilyPond is a plain text music notation format and Fountain is a format to write screenplays.
The Emacs learning curve
The second hurdle is the steep learning curve. To make Emacs work for you, you will need to learn the basics principles and learn some of the associated add-on packages. As Emacs is old software, some default settings and terminology differ from contemporary graphical software. For example, opening a file is 'visiting a file'. Pasting a text is' yanking'; cutting it is the same as killing. Emacs terminology is certainly more poetic than the current handicraft terms, such as cutting and pasting. Closing Emacs itself is called killing.
The steeper the learning curve, the bigger the reward.
The key to learning Emacs is to not get overwhelmed by the virtually infinite configuration options but to only learn those bits of functionality that you need to do what you need to do. Even without any configuration, you can do a lot with Emacs.
Learning some Elisp enables you to configure the software to your wishes. While that might sound daunting, you can simply copy and paste (kill and yank) examples from the Internet. Even better, Emacs Writing Studio is a starter kit to shorten this learning curve as it optimises Emacs for the writing workflow.
The articles on this website guide you through what you need to know for Emacs to become your favourite writing tool. You can also download and use the complete configuration file from these articles to get you started.
Advantages of using Emacs
In summary, these are some of the significant advantages of using Emacs to create written content:
- One piece of software to undertake most of your computing activities makes you more productive because you only need to master one system.
- You store all your information in plain text files. You will never have any problems with compatibility due to esoteric file formats.
- You can modify almost everything in the software to suit your workflow.
- Emacs runs on all major operating systems: All Linux flavours, Windows, Chrome OS, and macOS.
- Emacs is open source and supported by a large community willing to help.
Limitations of Emacs
After singing the praises of this multi-functional editor, you would almost think that Emacs is the omnipotent god of software. Some people even have established the Church of Emacs as a mock religion to express their admiration.
Emacs can display images and integrate them with text. Still, it has limited functionality to create or modify graphical files. If you need to create or edit pictures, consider using GIMP (GNU Image Manipulation Program). Video content is currently not supported and cannot be easily integrated with text other than hyperlinks to a file or web page.
The focus on text limits working in Emacs to serial thinking to the exclusion of visual thinking. I like to scribble little diagrams in my notebook to help me solve problems. Emacs is limited to text. But you can import your doodles as images.
The second disadvantage is that Emacs does not have a fully operational web browser. There are packages to surf the web within Emacs, but they have limited functionality.
Emacs has the risk of becoming a productivity sink. But remember that just because you can configure everything does not mean you should. Don't spend too much time worrying about the minutia of your workflow. Spend this time inside your workflow and create new things. Most productivity hacks do not affect your output because you write with your mind, not the keyboard.
The best way to learn Emacs is one step at a time. Start with a simple configuration and then build on this starting point once you need further enhancements.
Emacs Writing Studio
If you like to support my work, then please purchase the Emacs Writing Studio book.
Emacs Writing Studio
A comprehensive guide for writers seeking to streamline their workflow using Emacs. The book covers everything from organising ideas and writing distraction-free to publishing in multiple formats. It’s perfect for both beginners and experienced Emacs users, offering practical tips and a tailored configuration to enhance your writing process.
You can find the source files for the book and the latest configuration files on GitHub:
Emacs is a malleable system, and everybody has personal preferences on how to undertake a task and configure Emacs. Any article on how to use Emacs is thus opinionated. If you have a different way of doing things, please complete the contact form to send me an email or contact me on social media.
The next article discusses getting started with Emacs and introduces the basic principles.
Share this content