NOTE: reclaimed from the greyhole in 201103, mostly outdated, needs cleaning up.
get it from here > % tla register-archive http://sourcecontrol.net/~miles/miles@gnu.org--gnu-2004 % tla get miles@gnu.org--gnu-2004/emacs--cvs-trunk--0 emacs
C-x r m mark C-x r b retrieve C-x r l list C-x e annotate
M-x eshell interactive shell like buffer
redirection
echo "hello world" > #<buffer *scratch*> ps wax > #<buffer *scratch*>
$1 -> single arg (eg. for alias) $* -> arg list from commands line $_ -> 2nd arg of previous command $- -> previous directory (pwd) -> 'cd =' or 'cd -'
C-s search forwards C-r search backwards M-% Replace
mulitple file search & replace - http://atomized.org/2009/05/emacs-nerdery-search-replace-across-files/
C-x ( also F3, begin recording C-x ) also F4, end F4 M-x kmacro-call-macro C-x C-k e edit a macro base on previous keystrokes
Movement Forward: Backward C-n 1 line C-p C-f 1 character C-b C-v 1 page M-v C-a line start/end C-e M-< file start end M-> Editing C-d clear letter M-d clear word C-k cut line M-k cut sentence C-y paste C-@ set mark C-spc set mark C-w cut from mark M-w copy from mark C-x C-x exchange mark and cursor C-x C-u Undo! C-x C-h select all M-2 M-z zap to next (2nd) character M-| wc -w word count (shell command on region: 'wc -w') File manipulation C-x C-v new C-x C-f open C-x C-s save C-x C-w save as C-x C-c quit
C-l redraw screen C-o insert line M-q reformat current paragraph C-x o switch windows C-x 0 hide current window C-x 1 maxmize current window C-x 2 split window horizontally C-x 3 split window vertically C-x C-b list all buffers (files) in memory C-x C-k close current buffer (file) C-g cancel command C-h help (repeat C-h for more detail)
using tramp to connect to remote a host using eshell & sudo
file://
prefix for local imgs (note: wont work via http)
fonts and language environment
M-x describe-language-environment C-x RET c utf-8 RET M-x describe-fontset M-x list-character-sets
test ranodm unicode
describe characters at a point with C-u C-x =
C-x RET r utf-8
see the FAQ