Emacs logo.png

Contents

Emacs

Emacs is the most powerful text editor.

It is so powerful that you cannot limit it to this task alone; removing "text" in the above statement gives a better idea of what Emacs is.

It is one of the big marvels of computer codes, along with Unix, $\mathrm{\TeX}$ and others. Stallman wrote the popular GNU version in 1984 and it is still actively maintained as of today and will hopefully remain so forever. This is the real jewel.

The XEmacs branch, from the flamboyant Jamie Zawinski, was one of the earliest forking process in the computer software industry. It's without any doubt the version to use in the DNA lounge.

Useful

Registers

See [1]

  • text register

C-x r s a store region as “a”
C-x r i a insert region stored in “a”
C-x r r a store rectangle as “a”

  • point register

C-x r SPC a store current point as “a”
C-x r j a move to point in “a”

  • window register

C-x r w a store configuration of windows in frame
C-x r j a restore window configurations

  • frame register

C-x r f a store window configuration for all frames
C-x r j a restore all window configurations

  • number register

C-u 1 C-x r n a store 1 in “a”
C-u 1 C-x r + a add 1 to number in “a”
C-x r i a insert number in “a”

  • position register

C-x r m RET save default
C-x r m <NAME> RET save as NAME
C-x r b RET move to default
C-x r b <NAME> RET move to NAME
C-x r l list

.emacs

My dot-emacs configuration file: .emacs.zip.

Abbrevs

My Emacs-abbrevs file.

Links