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. To enclose an s-expression in parentheses, use M-x paredit-wrap-round. To eliminate parentheses but keep what is inside, use M-x paredit-splice-sexp just inside the parenthesis you want to eliminate, to the right of the first element. According to the cheat sheet, you can go from:


To toggle on/off line numbers: M-x linum-mode.

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).

To see your mode: M-x describe-mode RET (C-h m) t

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

I have a page on emacs buffers here.  That is all for now.

You’re welcome.