5 Emacs modes for writers

If you write copy in the Emacs text editor, these five tools will make your life easier.
418 readers like this.
Typewriter with hands

rawpixel.com. CC0.

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.

Muse

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.

Once you're done writing, you can publish your work as HTML or XHTML, Blosxom, LaTeX, DocBook, PDF, or Texinfo.

Writing this article with Muse

Org mode

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.

Org mode

Flyspell

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.

Flyspell

wc Mode

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?

wc mode

WriteGood Mode

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.

WriteGood mode

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?

That idiot Scott Nesbitt ...
I'm a long-time user of free/open source software, and write various things for both fun and profit. I don't take myself all that seriously and I do all of my own stunts.

1 Comment

I'm a bit surprised you mention Muse for authoring, since most people (well, Emacs users...) nowadays would use Org Mode for that. And since you also mention Org Mode... :-)

Also, one very handy keyboard shortcut in Flyspell Mode is `C-;`. It corrects the last incorrectly spelled word before point. Repeating `C-;` cycles through the various suggestions. The nice thing about it is that you can use it even if you're already a few words on, without having to move point to the incorrect word. Much faster than grabbing the mouse. :-)

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.