m (→Useful) |
m (→Useful) |
||
Line 12: | Line 12: | ||
== Useful == | == Useful == | ||
− | + | === Registers === | |
+ | |||
+ | See [http://www.emacswiki.org/emacs/Registers] | ||
<poem> | <poem> | ||
− | text register | + | * text register |
C-x r s a store region as “a” | C-x r s a store region as “a” | ||
C-x r i a insert region stored in “a” | C-x r i a insert region stored in “a” | ||
C-x r r a store rectangle as “a” | C-x r r a store rectangle as “a” | ||
− | point register | + | |
+ | * point register | ||
C-x r SPC a store current point as “a” | C-x r SPC a store current point as “a” | ||
C-x r j a move to point in “a” | C-x r j a move to point in “a” | ||
− | window register | + | |
+ | * window register | ||
C-x r w a store configuration of windows in frame | C-x r w a store configuration of windows in frame | ||
C-x r j a restore window configurations | C-x r j a restore window configurations | ||
− | frame register | + | |
+ | * frame register | ||
C-x r f a store window configuration for all frames | C-x r f a store window configuration for all frames | ||
C-x r j a restore all window configurations | C-x r j a restore all window configurations | ||
− | number register | + | |
+ | * number register | ||
C-u 1 C-x r n a store 1 in “a” | 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-u 1 C-x r + a add 1 to number in “a” | ||
C-x r i a insert number in “a” | C-x r i a insert number in “a” | ||
− | position register | + | |
+ | * position register | ||
C-x r m RET save default | C-x r m RET save default | ||
C-x r m <NAME> RET save as NAME | C-x r m <NAME> RET save as NAME | ||
Line 39: | Line 46: | ||
C-x r l list | C-x r l list | ||
</poem> | </poem> | ||
− | |||
− | |||
== .emacs == | == .emacs == |
Contents |
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.
See [1]
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”
C-x r SPC a store current point as “a”
C-x r j a move to point in “a”
C-x r w a store configuration of windows in frame
C-x r j a restore window configurations
C-x r f a store window configuration for all frames
C-x r j a restore all window configurations
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”
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
My dot-emacs configuration file: .emacs.zip.