################################################################## If you're ever doing cut-and-pasting work in which you'd save time if only you had several different places to cut(copy) and store things in, use "registers"; "C-x x" will copy the region to a register you name (hit one key a-zA-Z0-1, I think, no ); then "C-x g" retrieves it, after you name it, and inserts it at point. You can also put cursor-positions and "rectangles" (convenient for turning multi-column text (say, scanned) into "normal" and vice versa) Do "C-h a register" For rectangles, look into kill-rectangle and yank-rectangle When you have the time, picture-mode If you need to change somthing in column 63 for the next 20 lines, C-x C-n (undo it with C-u C-x C-n) will "set the goal - column" to 63 (whereever the cursor is) so C-n and C-p stay in that column if at all possible (in picture mode, even if a line is completely blank, spaces/tabs are created as necessary so you can move in all 8 directions w/out needing s p a c e s there) You know about using M-q with "C-x ." ? Finally, when I want to post a peacenet article, I clear the "telnet" buffer ("C-x h C-w" (do a "C-h k C-x h" if you need to)), then, in (c)apture (p)age mode, I (r)edisplay, so the whole thing scrolls. If the paragraphs are yuchy, "C-x h M-x fill-region" clears that up; then "C-x h M-w" copies the article; them "C-x m" puts me in *mail* buffer; then I paste, at the bottom, the article, goto the top ("M-<") and address it (you can use "abbrev"s but the real way, teaching emacs aliases, I still haven't got right; do "C-h a abbrev") to activ-l send that with C-c C-s and then re-address to post-usenet@ucbvax.berkeley.edu and post it to the usenet if/as approp. ################################################################## See "count..." commands, esply "count matches" COUNT COMMANDS (with C-h apropos) ================================= count-lines-page C-x l Function: Report number of lines on current page, and how many are before or after point. count-lines-region ESC = Function: Print number of lines in the region. count-matches Function: Print number of matches for REGEXP following point. ================================= FOR "CURSOR": what-cursor-position C-x = Function: Print info on cursor position (on screen and within buffer). ================================= sort-columns Function: Sort lines in region alphabetically by a certain range of columns. sort-fields Function: Sort lines in region lexicographically by the ARGth field of each line. sort-lines Function: Sort lines in region alphabetically; argument means descending order. sort-numeric-fields Function: Sort lines in region numerically by the ARGth field of each line. sort-pages Function: Sort pages in region alphabetically; argument means descending order. sort-paragraphs Function: Sort paragraphs in region alphabetically; argument means descending order. sort-regexp-fields Function: Sort the region lexicographically as specifed by RECORD-REGEXP and KEY. ================================= WITH "MATCHES": count-matches Function: Print number of matches for REGEXP following point. delete-matching-lines Function: Delete lines containing matches for REGEXP. delete-non-matching-lines Function: Delete all lines except those containing matches for REGEXP. list-matching-lines Function: Show all lines following point containing a match for REGEXP. repeat-matching-complex-command Function: Edit and re-evaluate complex command with name matching PATTERN. ================================= ------------------------------------------------------------------ "newsetup" and "newsgroups" are programs ...see man or man -k /usr/lib/gnu/emacs/etc/SERVICE lists people offering various services to assist users of GNU Emacs, including education, troubleshooting, porting and customization. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please do not send anything but bug reports to this mailing list. Send other stuff to info-gnu-emacs- request@prep.ai.mit.edu (or the corresponding UUCP address). For more information about Emacs mailing lists, see the file /usr/lib/gnu/emacs/etc/MAILINGLISTS. Bugs tend actually to ****************************************************************** use C-shell commands "setenv TERM ..." if emacs is unhappy with your terminal type. "unsetenv TERMCAP" might also be necessary M-x write-file ; write buffer to file FILE and visit it (there is write-region (into a file) append, prepend, .... insert-file insert-buffer C-x a is "append to buffer" for accumulating text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cx-/ and Cx-j for storing position in registers Cx-x and Cx-g for storing regions in registers Cx-' to expand abbrev Cx-+ add global aabbrev - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - see: editing pictures see: rectangles - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -