Join the 85,000 open source advocates who receive our giveaway alerts and article roundups.
5 useful Emacs modes for writers
5 Emacs modes for writers
If you write copy in the Emacs text editor, these five tools will make your life easier.
Get the newsletter
Not all writers work within the confines of a word processor. More than a few of us tap out words in a humble (and sometimes not so humble) text editor.
When you find a text editor that works for you, and works the way you want it to, you tend to hold onto it like that beaten up leather jacket, like that dog-eared book, or like that collection of old vinyl records.
For some, that editor is vi or Vim. For others, it's Nano or Atom. For me, that editor is Emacs. Why? Mainly because of its variety of modes, including some crafted especially for writers.
Here's a look at five Emacs modes that writers will find useful.
When I stumbled upon Muse in the early 2000s, it quickly made Emacs my go-to tool for writing and publishing. You can use this mode to create and publish articles, reports, blog posts, web pages, recipes, poems, documentation, and more.
Writing with Muse is simple. You format your work with a markup language that's similar to Markdown, with a bit of HTML thrown in for good measure. The markup takes some getting used to, but you should be able to adapt to it quickly.
Like Emacs itself, people use Org mode for just about everything: from taking notes and maintaining their task lists, to writing and publishing blog posts, to creating presentation slides. And a lot more.
For writers, Org mode is a great way to outline what they're working on and to take notes. You can add links between your notes and outline points, which enables you to jump between bits of information when you need to. You can also add tags to the headings in your notes to make it easier to find specific notes when you need them.
If you need to, you can export your work to a number of formats, including HTML, LaTeX, ODT, and Markdown.
No matter how careful you are, typos and misspellings slip through as you're writing. Because of that, every writer should run his or her work through a spelling checker at least once.
I often use Aspell when working with text files, but I find it's faster to check my spelling within Emacs using Flyspell. As you might have guessed from the name, Flyspell is an on-the-fly spelling checker that works as you type.
Flyspell highlights misspelled or unrecognized words. Click the mouse wheel on one of those words to pop up a list of correct spellings. Select the one that you want, or tell Flyspell to remember or ignore that word.
You might be writing for a print or online publication. You might have swallowed the myth of the optimal length of a blog post. Or you might just be trying to learn to write short. No matter who you're writing for or why, sometimes you need to make sure your work stays within the boundaries of a word count.
wc mode does one thing and does it well: It counts the number of words, lines, and characters in what you're writing. You can also highlight a section of text and get its word count.
To use wc mode, type
M-x wc and the word count of what you're writing appears in the mini buffer at the bottom of the screen. What could be simpler?
Writing clear prose takes a lot of work. One key to writing clearly is choosing the correct words. Equally important is knowing which words not to use. No matter your level of experience as a scribe, you can always use some help with that.
That's where WriteGood Mode comes in. It's designed to find common writing problems—mainly passive wording (which too many writers let slip through), duplicate words, and so-called weasel words. WriteGood mode can also perform readability tests on your writing.
The list of weasel and passive words that WriteGood mode uses is in the file
writegood-mode.el. You can add or delete words by editing the file.
A few other modes worth mentioning
If you're interested in screenwriting (or learning how to do it), you don't need to spend a lot of money on proprietary tools. Instead, take a look at Fountain mode, which lets you work with Fountain, a markup language for scripts based on Markdown. After you write your scripts, you can export them as HTML, PDF, or Final Draft files.
Speaking of Markdown, if you write with that language, you'll want to use Markdown mode. It lets you add formatting using keystrokes or a menu, applies syntax highlighting, and saves your work as HTML. Markdown mode does a lot more, too.
Distractions are everywhere, including within Emacs. To get rid of those distractions, and concentrate on your words, check out Writeroom mode. It hides menus and the toolbar, puts Emacs into full screen mode, and hides the scrollbar.
Do you have a favorite Emacs mode that you use when writing? Why not share it by leaving a comment?