Emacs Pages

Pages about emacs, the best editor ever.

Some emacs cheat sheets:

The EmacsWiki recommends newbies start at the EmacsNewbie page.

Here is a page from the EmacsWiki on installing packages.

A cheat sheet on ParEdit. Here is another one on EmacsWiki. A page with notes on ParEdit. Another page with notes.

Based on this answer on Stack Overflow, to comment out an s-expression while using ParEdit, go to the beginning and hit M-x mark-sexp, then M-x comment-dwim. I know everyone loves shortcuts, but now I am using a bunch of modes I got from Clojure For the Brave And True that I have decided to go with functions.

One mode I like is smex mode (see this page on the emacs wiki). This will do auto-complete when you type in function names. Just hit M-x, and it will display the last functions you used. To get what command a key-binding is bound to, use: M-x describe-key and put in the key-binding, or M-x describe-bindings to get all bindings (see this answer on Stack Overflow).

And I am still getting tabs of two spaces, not four.

You’re welcome.