home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / m / me_cd25.zip / DOC.ZIP / ME2.DOC < prev    next >
Text File  |  1992-11-09  |  50KB  |  1,084 lines

  1. ========================================================================
  2. ==        ME2 Documentation        Craig Durland  8/88 10/91 ==
  3. ========================================================================
  4.  
  5.   ME2 is a small, portable, extensible [GNU] Emacs' like editor.  This
  6. document describes how individual commands work - it is light on general
  7. usage.  If you need to learn Emacs, look at the GNU, Goslings or
  8. Unipress Emacs manuals.
  9.  
  10.  
  11.              Copyright 1991 Craig Durland
  12.     Distributed under the terms of the GNU General Public License.
  13.   Distributed "as is", without warranties of any kind, but comments,
  14.            suggestions and bug reports are welcome.
  15.  
  16. ========================================================================
  17. ==        Soft keys and Function keys                           ==
  18. ========================================================================
  19.  
  20.   When describing characters or keys, the character itself is used if it
  21. is printable.  Unprintable characters are made printable using 3 or more
  22. printable characters.  For example, the letter "A" is printable but
  23. control-A is not and so the code "C-a" is used to describe it.  The
  24. table below shows the various codes needed to map the unprintable keys.
  25.  
  26. Prefix    Meaning
  27. ------    -------
  28.   C-    Control key.
  29.   F-    Function or soft key such as f1, Home, etc.
  30.   M-    Meta key.  See META in the GLOSSARY.
  31.   S-    Shift.  This only applies to function keys.
  32.  
  33.    This is a list of "extended" keys - those not covered by ASCII.  ME
  34. maps these keys to 3 or more ASCII codes.  Ignore the ME key column
  35. unless you are binding keys.  The keyboard column is the key on the
  36. keyboard you press to generate the ME key which (unless rebound) fires
  37. off the function listed in the Bound to column.
  38.  
  39. Keyboard      ME key    Bound to
  40. --------      -- ---    ----- --
  41.   F1        F-1
  42.   F2        F-2
  43.   F3        F-3
  44.   F4        F-4
  45.   F5        F-5
  46.   F6        F-6
  47.   F7        F-7
  48.   F8        F-8
  49.   F9        F-9
  50.   F10        F-0
  51.   home        F-A    (beginning-of-buffer)
  52.   end        F-B    (end-of-buffer)
  53.   up arrow    F-C    (previous-line)
  54.   down arrow    F-D    (next-line)
  55.   right arrow   F-E    (next-character)
  56.   left arrow    F-F    (previous-character)
  57.   insert    F-G
  58.   delete    F-H    (delete-character)
  59.   page up    F-I    (previous-page)
  60.   page down    F-J    (next-page)
  61.   clear line    F-K    (cut-line)
  62.   delete line    F-L
  63.   insert line    F-M
  64.   select    F-N    (set-mark)
  65.   roll up     F-O    (scroll-down)
  66.   roll down     F-P    (scroll-up)
  67.   DEL        C-?    (delete-character) (This is the DELete key)
  68.   ESC        C-[
  69.   shift tab    M-I
  70.  
  71.   ALT 0..9A..Z!    mapped to META 0..9A..Z!
  72.   Use the ALT key like the control key (ie hold it down while you press the
  73.     next key).
  74.  
  75. For the MS-DOS and OS/2 versions of ME2, the grey keys (on the 101
  76. keyboard) are distinguished from the other keys on the keypad, and the
  77. ordinary keys.
  78.  
  79.   Keyboard         ME key    Bound to
  80.   --------       -- ---    ----- --
  81.   grey-home       S-F-A
  82.   grey-end       S-F-B
  83.   grey-up arrow    S-F-C
  84.   grey-down arrow  S-F-D
  85.   grey-right arrow S-F-E
  86.   grey-left arrow  S-F-F
  87.   grey-insert       S-F-G
  88.   grey-delete       S-F-H
  89.   grey-page up       S-F-I
  90.   grey-page down   S-F-J
  91.   grey--       S-F--
  92.   grey-+       S-F-+
  93.   grey-Enter       S-C-F-M    ;; (Maybe not on the MS-DOS version)
  94.   grey-/       S-F-/
  95.   grey-*       S-F-*
  96.  
  97.  
  98. ========================================================================
  99. ========================================================================
  100.  
  101. Case of letters:
  102.   Meta keys and Control X commands: next letter is ALWAYS uppercase.
  103.   Function keys are case sensitive.
  104.  
  105. ========================================================================
  106. ==            GLOSSARY                      ==
  107. ========================================================================
  108. C-[  See META
  109. args
  110.   Parameters or arguments that will be requested by the command.  If
  111.    [] surround the arg, then it will only be requested in certain cases.
  112.  
  113. binding    See bound.
  114. bound
  115.   A key is attached or bound to a command or program.
  116.   If the key is pressed, whatever it is bound to is invoked.
  117.   Keys can be bound locally or globally.  If a key has a local  binding,
  118.     pressing  the key in the  buffer  it was bound in causes  action.  A
  119.     global  binding  covers all buffers.  Note that local  bindings take
  120.     precedence over global ones.
  121. buffer
  122.   A buffer is an internal workspace where changes are made to text.  If
  123.     a buffer is visible, it is shown through one or more windows.  It is
  124.     usually attached to a file (ie contains the contents of the file).
  125.     If the buffer was created by reading in a file, the buffer name is
  126.     created by removing the path from the file name (and leaving only
  127.     the name and extension).
  128.  
  129. clear
  130.   A operation where something is covered over by something else.  Also
  131.     reset.
  132.   For example:
  133.     If text is cleared, it is covered by blanks.
  134.     If a mark is cleared, it is reset to an initial state (pointing to
  135.       nothing).
  136.   See also:  cut, delete, clear.
  137. command or cmd
  138.   A ME built in command such as (read-file).
  139.   These can be bound to a key to make executing them easier.
  140.   Documented  under  COMMANDS  (in  ME2.DOC).  These are  different  from
  141.     functions  in  that  they  can be  bound  to  keys  or  executed  by
  142.     (ME-command).
  143. Command completion
  144.   ME will  attempt to complete a command if the space bar is pressed and
  145.     completion is on.  The only time you can use command  completion  is
  146.     when you are being queried in the  minibuffer.  For example, when ME
  147.     is requesting a buffer name for  (use-existing-buffer) and foobar is
  148.     a buffer,  typing  "foo" and hitting  space will fill in the rest of
  149.     the name.  ME also trys to fix typos.  If you had typed  "fooie" and
  150.     hit the space bar, you still get "foobar".  Sometimes,  you will hit
  151.     space and only part of the command  name will  appear.  This is ME's
  152.     way of  telling  you there is some  ambiguity  as to the full  name.
  153.     Type some more of the name and hit space  again or press ?  to get a
  154.     list of possible names.
  155.   See also: complete in ME2MUTT.DOC.
  156. cut
  157.   A operation where something is saved and then removed.
  158.   For example:  If text is cut, it is saved in the cut buffer and then
  159.     deleted.  You can retrieve it later from the cut buffer.
  160.   See also:  cut buffer, delete, clear.
  161. Cut buffer
  162.   An invisible buffer that holds things created by deletion commands
  163.     such as (cut-region) and (copy-region).  Used to cut and paste, or
  164.     just cut, text.
  165.   If you want to move a block of text about:  1.  set the mark at one
  166.     end and then move the dot to the other end.  2.  cut the region.  3.
  167.     move the dot to the start of where you want the text to begin and 4.
  168.     yank the cut buffer.  Bingo.
  169.   Copy and cut append to the cut buffer if last command was also a cut
  170.     or copy, otherwise the cut buffer is cleared before the new text is
  171.     entered.
  172.   The cut buffer is also used by (filter).
  173.   Other Emacs' refer to this as the kill buffer.
  174.  
  175. delete
  176.   A operation where something is removed and NOT saved.
  177.   For example:  If text is deleted, it is gone and can't be recovered
  178.     (unless undo can be it back).
  179.   See also:  cut, clear.
  180. dot
  181.   The place between two  characters.  It is  immediately  to the left of
  182.     the cursor.  Also known as point.  One per window or buffer.
  183.  
  184. ESCAPE
  185.   See also META.
  186.   The escape key (usually marked ESC on keyboards) acts like the META key
  187.     for those keyboards that don't have a META key.
  188.  
  189. file
  190.    For MS-DOS, you can use forward slashes "/" as part of the path name.
  191. function or fcn
  192.   The commands that comprise the Mutt programming language.  Documented
  193.     in MUTT2.DOC and ME2MUTT.DOC.  These differ from commands in that
  194.     they cannot be bound to keys and cannot be executed by (ME-command).
  195.  
  196. help
  197.    Help is pretty much limited to reading manuals or asking gurus.
  198.    Limited  forms of online help are  command  completion  (see  above),
  199.      typing a ?  when  being  asked a  question  (see "If you are  being
  200.      asked a question" below), command completion and (describe-bindings).
  201.  
  202. keys
  203.   Keys are used to enter text and invoke commands.  The keys used to
  204.     invoke can be one or two keys where each key can have one or more
  205.     modifiers.
  206.     modifier meaning    notes
  207.        M-    META    See META and ESCAPE.  Cannot be prefixed.
  208.        C-    CONTROL    
  209.        S-    SHIFT    Only used with nonASCII keys
  210.        F-    FUNCTION    NonASCII keys
  211.   See also: prefix-key in ME2MUTT.DOC
  212.  
  213. macro
  214.   A sequence of  keystrokes  that can be replayed on command.  Used when
  215.     you don't  want to spend  the time  writing a  program.  Created  by
  216.     going through the motions (which are actually done so you can verify
  217.     that  what  you  want  to  happen  is   actually   happening)   (see
  218.     (start-macro)  and (end-macro)).  When replayed by  (execute-macro),
  219.     the exact sequence you typed in is replayed.
  220.  
  221. mark
  222.   A user settable dot.
  223.   A mark is remembered for the life of the buffer and stays where you
  224.     set it until you or ME moves it.  (exchange-dot-and-mark) will get
  225.     you to the mark from anywhere in the buffer.
  226.   If the dot is at a mark and you do something  (like  insert text, yank
  227.     text, etc), it is done  between  the dot and mark, that is, the mark
  228.     is before the change and the dot after.
  229.   Advanced  note:  The marks are  associated  with a buffer NOT with the
  230.     windows  attached  to the buffer.  Thus all  windows  attached  to a
  231.     buffer have the same marks.
  232. ME
  233. ME2
  234.   The Mutt Editor.  An editor that is extensible using the Mutt
  235.     programming language.  ME2 is the follow on to ME.
  236. message line or
  237. minibuffer
  238.   The bottom line of the screen.  This is the place where all questions
  239.     are asked, error messages sent, etc.
  240. META key
  241.   This is a modifier key that works like the control key.  Your keyboard
  242.     may or may not have  one.  On IBM PCs, this is the ALT key.  To use,
  243.     hold  down the META key and  press  the key you want to  modify.  If
  244.     your  keyboard does not have a META key, use ESCAPE  instead - press
  245.     the ESCAPE key, let it up and then press the key you want to modify.
  246.   In the ME documents, the META key will be referred to by M-x where x is
  247.     the key being modified.
  248. Mutt
  249.   The built in programming language.  Refer to the Mutt documentation in
  250.     MUTT2.DOC and ME2MUTT.DOC.
  251.  
  252. n nth
  253.   Argument prefix (set by  (universal-argument)).  This means repeat the
  254.     key   (or   what   its   bound   to)   or   command   n   times.  If
  255.     (universal-argument) is not used then n defaults to 1.
  256.  
  257. pgm    See program.
  258. point    See dot.
  259. program
  260.   A program created by (defun).
  261.   These are created by the user to make its editing easier.
  262.   See MUTT.DOC and ME2MUTT.DOC.
  263.  
  264. region
  265.   The area between two marks (usually the dot and the mark).
  266. rectangle
  267.   The rectangler region between two marks.  One mark is at the upper
  268.     left corner of the region and the other mark is at the lower right
  269.     corner.  The width is measured in characters and the height in lines.
  270.  
  271. syntax tables are used to determine word boundaries, etc.  All commands
  272.    work with words use these tables (eg (next-word).  Use
  273.    (modify-syntax-entry) to change what it means to be a word.
  274. sysvar or system variable
  275.    These are a collection of user changeable variables that effect the way
  276.      ME does certain things.
  277.    Documented in ME2MUTT.DOC.
  278.  
  279. window
  280.   A portion of the screen.  A window provides a view of a buffer.  There
  281.     can be more than one window showing a buffer.  Windows are separated
  282.     from each by a mode line.  Mode lines look like:
  283.     -* ME2 -- buffer_name -- file_name -------------------------------
  284.     The  * is  present  only  if  the  buffer  has  been  modified.  The
  285.     file_name is present only if a file is associated with the buffer.
  286. word
  287.   A string of letters, digits, "$", "'" or "_".  By modifying the syntax
  288.     tables, you can change the definition of a word.
  289.   See syntax tables, (modify-syntax-entry).
  290. Word wrap
  291.   When you are typing at the end of a line and cross the fill column the
  292.     last  "word" is  wrapped  to the next  line.  If you have some  left
  293.     margin  you  wish  to  preserve,   bind  CR  to   newline-and-indent
  294.     (bind-to-key "newline-and-indent" "C-m").
  295.   Setting the system var  word-wrap  to 0 turns it off,  setting it to n
  296.     causes wrapping to occur at column n.
  297.  
  298. ========================================================================
  299. ==        If you are being asked a question              ==
  300. ========================================================================
  301. Key bindings are not in effect.  This means if a normal key has been bound
  302.   to something wrong by accident, you can unbind it without undo grief.
  303. "Special" keys:
  304.     C-h or Backspace    Delete character left of the cursor.
  305.     C-g     Abort out of the question.  Also causes the command to be aborted.
  306.     C-j     Same as C-m.
  307.     C-l  Redraw the screen.  Handy if you messed it up with help and want
  308.      to see the original contents.
  309.     C-m or return (enter)    End the question and return your answer.
  310.     C-q  Quote the next character.  C-qC-j is the code for the end of a
  311.      line - if you search for "C-qC-jstart of line" you will find
  312.      "start of line" if it is the first thing on a line.
  313.     C-^  Quote next key (same as C-q)
  314.  
  315.     ?    Show help (if available).  This shows the possible responses for
  316.      this command.  This is available whenever command completion is.
  317.     Space Command completion (if available for this command).  You can
  318.           customize this key.  See complete-key in ME2MUTT.DOC.
  319.  
  320.     C-f  Next character
  321.     C-b  Previous character
  322.     C-a  Beginning of line
  323.     C-e  End of line
  324.  
  325.     C-u  Delete everything and start over.
  326.     C-d  Delete character
  327.     C-k  Delete to end of line
  328.  
  329.     M-f  Next word
  330.     M-b  Previous word
  331.  
  332.     C-p  Previous history
  333.     C-n  Next history
  334.     C-r  Search back though history
  335.     M->  Youngest history entry
  336.     M-<  Oldest history entry
  337.      
  338.   If you answer the question by hitting <return or enter> and the line is
  339.     empty, you have entered the null line zone.  This can be interpreted as:
  340.     1.  An empty line.  It will then be ignored or complained about or
  341.       stop the command.
  342.     2.  A C-m.  (bind-to-key) does this.
  343.     3.  A request to use the default.  This is usually the current
  344.       thing being manipulated (where thing is buffer, file, etc).
  345.       eg (write-file) defaults to current file name and
  346.       (delete-buffer) defaults to current buffer name.
  347.  
  348. ========================================================================
  349. ==            NOTES                          ==
  350. ========================================================================
  351. In this document, you will see command names surrounded by parens (eg
  352.   (beginning-of-line)).  If the command is bound, you can execute the
  353.   command by pressing the keys it is bound to.  For example,
  354.   (beginning-of-line) is bound to C-a, so holding down the control key
  355.   and pressing A will move the cursor the the beginning of the line.  If
  356.   the command is not bound (or you don't remember or want to use the
  357.   binding), you can also execute the command by using (ME-command).
  358.  
  359. ========================================================================
  360. ==            COMMANDS                      ==
  361. ========================================================================
  362. COMMAND    name, default binding, args and comments
  363.   These all return a BOOLEAN (the ones written in Mutt might not).
  364. Note:  Some of commands listed are actually written in Mutt.  Some are
  365.   built-in and others must be loaded.  The ones that must be loaded are
  366.   marked with a "*" at the beginning of the line.  In all cases, the
  367.   Mutt file that they are defined in is listed after the command.  If
  368.   you are using the standard distribution of ME2, the commands that need
  369.   to be loaded will be when you run the command.
  370.  
  371. (abort)        C-g
  372.   Back out of anything.
  373.   If remembering a macro, forget it.
  374.   If executing a program, stop it.
  375.   This only works when ME is waiting for a key press (ie it won't halt
  376.     pgms in a infinite loop or runaway pgms that aren't looking at the
  377.     keyboard).
  378. (apropos)    M-?    args: keyword
  379.   List all commands and programs that have a keyword in them.  For example,
  380.     if you apropos commands with "mark" in them you might get something like:
  381.     PROGRAMS:
  382.     mark-and-end               F-B
  383.     mark-and-home              F-A
  384.     COMMANDS:
  385.     exchange-dot-and-mark      C-xC-x 
  386.     set-mark                   C-@ M-  F-N
  387.     On the left is the command name.  On the right are the key(s) bound
  388.       to the command.  So, in this case, (set-the-mark) is bound to
  389.       control-@, meta-space and softkey-N.
  390.   Command completion is on.
  391.   See also: (describe-bindings).
  392.  
  393. (beginning-of-buffer)    M-<
  394.   Move the dot to the first character of the buffer.
  395.   See also: (end-of-buffer).
  396. (beginning-of-line)    C-a
  397.   Move the dot to the first character of the line.
  398.   See also: (end-of-line).
  399. (bind-local-key)    Not bound.    args: command name, keystroke(s)
  400.   Same as (bind-to-key) but the binding is in effect only in the buffer it
  401.     was bound in.
  402.   Note that local bindings take precedence over global ones.
  403.   See: (bind-to-key)
  404. (bind-to-key)        Not bound.    args: command name, keystroke(s)
  405.   Attach a key to a command or  program.  When ever the key is  pressed,
  406.     the command or program will be executed  (except  when a question is
  407.     being asked).
  408.   Possible keys are single key strokes and combo keystrokes.
  409.     Combo keys are prefixed keys, softkeys or modified keys.
  410.   When asked for the key just press the key(s).  You might have to use
  411.     C-q to quote the keys, in that case it often easier to just type
  412.     "C-a" if you mean control a.
  413.   If  programming,  use the keycode.  Keycodes  are ASCII (ie no control
  414.     characters and such)  representations of a key.  For example, META-D
  415.     is represented by the 3 characters  M-d,  control-C by ^C or C-c and
  416.     function  key 1 (aka  soft key 1) by F-1.  Keycodes  should  be used
  417.     when programming to avoid screwing up things like printers (when you
  418.     print out the file).  eg (bind-to-key "foo" "F-1").
  419.   To unbind a key, bind it to "".  (bind-to-key "" "F-1") will remove
  420.     anything bound to F-1 and make F-1 self insert.
  421.   To unbind all keys, use (bind-to-key "clear-keymap") (note that you
  422.     don't need a keystroke arg).  Be careful how you use this because
  423.     you can make it impossible to exit ME.  "Regular" (noncontrol, etc)
  424.     keys become self inserting after clearing the keymap.  ie "a" will
  425.     insert an "a".
  426.   Note: Always use uppercase for control keys if you use the ^ notation.
  427.   Command completion is on.
  428.   See also: (bind-local-key), (defun), keys (in the glossary above).
  429.  
  430. *(calculator)        Not Bound        calc.mut
  431.   A simple programmers calculator for those times when you don't want to
  432.     use the one sitting next to the keyboard.  Supports arithmetic in
  433.     many different bases.  For more info, run calculator and press "?".
  434. (capitalize-word)    M-c            case.mut
  435.   Capitalize word after dot.
  436.   If dot is between words, searches forward to the start of the next word
  437.     and capitalizes that one.
  438.   If the dot is in the middle of a word, the letter after the dot is
  439.     capitalized.
  440.   See also: (modify-syntax-entry), (upcase-region), (downcase-region),
  441.     (capitalize-region).
  442. (capitalize-region)    Not Bound        case.mut
  443.   Capitalize all words in a region.
  444.   If dot is between words, searches forward to the start of the next word
  445.     and capitalizes that one.
  446.   If the dot is in the middle of a word, the letter after the dot is
  447.     capitalized.
  448.   See also: (modify-syntax-entry), (upcase-region), (downcase-region),
  449.     (capitalize-word).
  450. (clear-rectangle)    Not Bound        me2.mut
  451.   Set the rectangle to blanks.
  452.   See also:  (copy-rectangle), (cut-rectangle), (delete-rectangle).
  453. *(compile)        Not bound        compile.mut
  454.   Run make (or a command of your choice (such as cc)), collect output in
  455.     a buffer and while the compile is running, optionally visit the
  456.     files that have errors.
  457.   See documentation in PACKAGE.DOC under "compile".
  458.   Notes:
  459.     Only works on machines running unix and the compute server.
  460.     Modeled after compile in GNU Emacs.
  461. (copy-region)        M-w
  462.   Copy a region to the cut buffer.  If the last command was a cut
  463.     command, append to the cut buffer.  The region is unaffected.
  464.   Returns TRUE if region copied, FALSE if no region, ABORT if the cut
  465.     buffer runs out of space.
  466.   See also: (cut-region), (yank).
  467. (copy-rectangle)    Not Bound        me2.mut
  468.   Copy a rectangle to the cut buffer.
  469.   See also:  (cut-rectangle), (delete-rectangle), (clear-rectangle),
  470.     (copy-region-to-rectangle).
  471. (copy-region-to-rectangle)    C-xr        register.mut
  472.   Copy a rectangle (marked by the dot and mark) to a register.  With an
  473.     argument, the rectangle is deleted.  The command querys you for the
  474.     register.
  475.   See also: (insert-register), (copy-to-register), (copy-rectangle).
  476. (copy-to-register)        C-xx        register.mut
  477.   Copy the region to a register.  With an argument, the region is
  478.     deleted.  The command querys you for the register.
  479.   See also: (insert-register), (copy-region-to-rectangle).
  480. (cut-the-line)            F-5        me2.mut
  481.   Delete the entire line the cursor is on.
  482. (cut-line)        C-k or F-K (clear line)
  483.   Delete text from dot to the end of the line.
  484.     If an argument is given:
  485.     If n = 0: cut from beginning of line to dot.
  486.     If n > 0: cut forward over n newlines.
  487.     If n < 0: error.
  488.   The deleted text is put into the cut buffer or appended to the cut
  489.     buffer if the last command was also a cut command.
  490.   Other Emacs' call this kill-line.
  491.   See also: (cut-word), (cut-previous-word), (cut-region),
  492.     (yank).
  493. (cut-previous-word)        M-C-h (M-backspace)
  494.   Delete the previous word.  Save them in the cut buffer.
  495.   See also: (modify-syntax-entry).  
  496. (cut-rectangle)    Not Bound            me2.mut
  497.   Copy a rectangle and delete a rectangle to the cut buffer.
  498.   In GNU Emacs, this is called kill-rectangle.
  499.   See also:  (copy-rectangle), (delete-rectangle), (clear-rectangle).
  500. (cut-region)        C-w
  501.   Delete a region and save it in the cut buffer.  If the last command was
  502.     a cut command, append to the cut buffer.
  503.   See also: (copy-region), (delete-region), (cut-line),
  504.     (yank).
  505.   Other Emacs' call this kill-region.
  506. (cut-word)            M-d or M-C-? (M-DEL)
  507.   Delete a word.  Save them in the cut buffer.
  508.   See also: (modify-syntax-entry).  
  509.  
  510. (delete-buffer)    C-xk                delbuf.mut
  511.   Remove a buffer.  It disappears into ness-ness land.  If the buffer
  512.     has been modified, ask before deleting.  If the buffer is on the
  513.     screen, replace it with the (next-buffer).  If it is the only
  514.     buffer, replace it with "*scratch*".  If n, remove the window it was
  515.     displayed in.
  516.   Defaults to the current buffer.
  517.   Buffer name completion is on.
  518.   See also: (delete-current-windows).
  519. (delete-character)        C-d, C-? (DEL) or F-H (delete)
  520.   Delete the character after the dot (visually under the cursor).  If at
  521.     the end of the line, the next line is joined to the current line.  If
  522.     given an argument, deleted characters are put into the cut buffer.
  523.   If a Mutt program calls this, deleted characters are never put into
  524.     the cut buffer.
  525. (delete-current-window)    C-x0            me2.mut
  526.   Delete the current window.
  527. (delete-other-windows)        C-x1
  528.   Make the current window the only window on the screen.
  529.   See also: (split-window).
  530. (delete-previous-character)    C-h (backspace)
  531.   Delete the character before the dot (visually to the left of the
  532.     cursor).  If at the beginning of the line, the current line is
  533.     joined to the end of the previous line.  If given an argument,
  534.     deleted characters are put into the cut buffer.
  535.   If a Mutt program calls this, deleted characters are never put into
  536.     the cut buffer.
  537. (delete-rectangle)    Not Bound        me2.mut
  538.   Delete the rectangle.
  539.   See also:  (copy-rectangle), (cut-rectangle), (clear-rectangle).
  540. (delete-region)        Not bound
  541.   Delete a region.  The region is NOT saved.
  542.   See also: (cut-region).
  543. (describe-bindings)    Not bound
  544.   List all commands and programs along with their key bindings in the same
  545.     format as (apropos).
  546.   See also: (apropos).
  547. (describe-key)        Not Bound        me2.mut
  548.   Tells you what a key is bound to.
  549. (downcase-region)    C-xC-l            case.mut
  550.   Convert a region to lower case.
  551.   See also: (upcase-region), (downcase-word), (upcase-word).
  552. (downcase-word)    M-l                case.mut
  553.   Convert word to lower case.
  554.   See (capitalize-word) for edge conditions.
  555.   See also:  (modify-syntax-entry), (upcase-word), (downcase-region),
  556.     (upcase-region).
  557.  
  558. (end-macro)        C-x)
  559.   Stop remembering keystrokes.  The keystrokes are stored in the macro
  560.     buffer ready to be replayed by (execute-macro).
  561.   See also: (execute-macro), (start-macro).
  562. (end-of-buffer)        M->
  563.   Move the dot to the bottom of the buffer.
  564.   See also: (beginning-of-buffer).
  565. (end-of-line)        C-e
  566.   Move the dot to the end of the line.
  567.   See also: (beginning-of-line).
  568. (exchange-dot-and-mark)    C-xC-x
  569.   Move the dot to the mark and set the mark to old dot value.  Visually,
  570.     move to where the mark was set.  Repeating this command will undo it.
  571.   See also: (set-the-mark).
  572. (execute-macro)        C-xe
  573.   Replay the keystrokes saved in the macro buffer.
  574.   See also: (start-macro), (end-macro).
  575. (exit)            C-c  C-xC-c    args: [yes or no]
  576.   Exit ME.  If there is a modified buffer (one that has changed since it
  577.     was last saved), you are asked about it.
  578.   If n, quit no matter what and without making any noise.
  579.  
  580. (filter)        Not bound        filter.mut
  581.   Take a region and feed it to a filter as standard input.
  582.   Take the output of the filter and use it to replace the region.
  583.   For example:  If the region is a list of words and sort is a program
  584.     that sorts text then (filter "sort") will replace the region with
  585.     a sorted copy.
  586.   If you don't want to remove anything, use universal argument (C-u) or
  587.     make a null region (set the mark at the dot).  eg C-u (filter "ls")
  588.     will insert a directory listing at the dot.
  589.   The region is saved in the cut buffer.
  590.   See OS-filter (in ME2MUTT.DOC) for info on environment variables.
  591. *(findit)        Not bound        findit.mut
  592.   Search or search and replace across many files.
  593.   See documentation in PACKAGE.DOC under "findit".
  594.   See also: grep.
  595. (forward-re-search)    M-C-s            search.mut
  596.   Same as (forward-search) but using regular expressions.
  597.   See REGEXP.DOC for regular expression syntax.
  598.   See also: (query-replace), (forward-search), (reverse-re-search).
  599.    in ME2MUTT.DOC: case-fold-search, get-matched, looking-at
  600. (forward-search)    Not Bound        search.mut
  601.   Search for a string.
  602.   CR ends patterns, LF (^J) => end of line.
  603.   The pattern is saved across searches.
  604.   (forward-search) The dot is after the last character matched.
  605.   (reverse-search) The dot is before the last character matched, or put
  606.     another way, to the left of the first character of the search string.
  607.   Examples:
  608.     To search for "foobar", type: foobar<Enter>
  609.     To search for "foobar"<end of line>, type: foobar^Q^J<Enter>
  610.     To search for <start of line>"foobar", type: ^Q^Jfoobar<Enter>
  611.       Note that, in this case, the very first line will not match (this
  612.       is because the first line has no preceding line and therefore no
  613.       end of line marker before it).
  614.   See also:  (reverse-search), (forward-re-search), (isearch),
  615.     (query-replace), (re-query-replace), case-fold-search (in ME2MUTT.DOC)
  616.     
  617. *(get-sysvar)        Not Bound        sysvar.mut
  618.   Display the value of a ME2 system variable.
  619.   See ME2MUTT.DOC for a list and what they do.
  620.   Command completion is on.
  621.   See also:  (set-sysvar).
  622. (Goto-line)        M-g            me2.mut
  623.   Move the dot to the beginning of the nth line in the current buffer.
  624.     First line of the buffer is 1.  If n is negative, got the nth line
  625.     from the end of the buffer.
  626.   Returns FALSE is try to move off either end of the buffer.  In that
  627.     case the dot is left at the buffer edge it tried to move across (at
  628.     the start of the line).
  629.   Notes:
  630.     Line 0 does not really exist so (goto-line 0) returns FALSE.  If you
  631.     ignore the error, (goto-line 0) is the same as (goto-line 1).
  632.   See also:  goto-line (in ME2MUTT.DOC).
  633. *(grep)            Not bound        compile.mut
  634.   Run grep, collect output in a buffer and while the grep is running,
  635.     visit all the files grep finds matches in.
  636.   See documentation in PACKAGE.DOC under "compile".
  637.   Notes:
  638.     Only works on machines running unix and the compute server.
  639.     Modeled after grep in GNU Emacs.
  640.   See also: findit.
  641. (grow-window)        C-x^            window.mut
  642.   Enlarge the current window by a line.
  643.   See also: (shrink-window).
  644.  
  645. *(hanoi)        Not Bound        ganoi.mut
  646.   A towers of hanoi solver that shows the disks moving around.
  647.   To load it:  M-x load <Enter> ganoi <Enter>
  648.   See also: (Queens).
  649.  
  650. (indent-rigidly)    C-xC-i            indent.mut
  651.    Shift a block left or right.
  652.    A block is all the lines of text between the dot and mark inclusive.
  653.    With no arg: asks for the amount to shift the region.  Positive
  654.      for right shift, negative for left shift.
  655.    With arg (ie C-u):  shifts the region by the difference between the dot
  656.      and the first nonblank character on that line.
  657.      eg use this to shift the top line of the region over to the cursor.
  658.    Removes white space from blank lines.
  659.    When doing a negative shift, text won't be shifted left of the left
  660.      margin.
  661.  
  662. (insert-file)        C-xi    args: file name
  663.   Insert a file into the buffer at the dot.  The file is unaffected.
  664.   Command completion is on.
  665.   See also: (read-file), (visit-file), (write-file).
  666. (insert-file-name)    Not bound        me2.mut
  667.   Use command completion to get a file name and insert the name at the
  668.     dot.
  669. (insert-register)    C-xg        register.mut
  670.   Insert the contents of a register at the dot.  If the register
  671.     contains a rectangle, a rectangle is inserted.  The command querys
  672.     you for the register.
  673.   For text, the dot is left after the inserted text and the mark is
  674.     before.  With an argument, the dot is left before and the mark after.
  675.   See also: (copy-to-register), (copy-region-to-rectangle).
  676. (isearch-forward)    C-s or C-\        isearch.mut
  677.   Search as you type - shows you where the string you have typed so far
  678.     would be found.
  679.   Keys:
  680.     C-h (Backspace):  Remove the last character from the search pattern.
  681.        Don't move.
  682.     C-s:  Search forward for existing pattern.  If haven't entered a
  683.        pattern, the old pattern is used.
  684.     C-\:  Same as C-s.
  685.     C-r:  Search reverse for pattern.
  686.     C-q:  Quote the next character into the search pattern.  Useful for
  687.        searching for control characters (like tab).
  688.     C-w:  Add the rest of the word to the search pattern.
  689.     C-g:  Exit search.
  690.     C-m (Enter): Drop to non incremental search if haven't done anything
  691.      yet.
  692.   Control characters and combo keys (eg cursor motion, C-x=, etc)
  693.     terminate the search.  The key is then executed.  For example,
  694.     searching for text and then pressing C-p will cause the cursor to
  695.     move to the line above the matched text.
  696.  
  697.   If you want to call isearch from a Mutt program, prime and start
  698.     searching, just pass in a search string.  eg (isearch TRUE "foobar")
  699.     will start a incremental search at the point and search for foobar.
  700.     Use FALSE to search backwards.
  701.  
  702.   See also:  (isearch-reverse), (forward-search).
  703. (isearch-reverse)    C-r            isearch.mut
  704.   See (isearch-forward) for info.
  705.  
  706. (list-buffers)        C-xC-b            bstats.mut
  707.   List all the buffers currently in ME along with some info about them.
  708.   For example:
  709.     Flags  Size Buffer           File
  710.     -----  ---- ------           ----
  711.     .---     81 *Help*
  712.     -u--   2732 bstats.mut     /users/craig/tools/me2/mutt/bstats.mut
  713.     Mu--  37434 me2.doc         /users/craig/tools/me2/doc/me2.doc
  714.  
  715.    40527 bytes (943 lines) in 3 buffers.  
  716.  
  717.   Here is what the flags (MuhH) mean:
  718.     M : M if the buffer has been modified and we care.
  719.     u : u if undo is turned on.
  720.     H : if the buffer is "hard" hidden.
  721.     h : if the buffer is "soft" hidden.
  722.     If any of the flags is off, a "-" is used in place of the letter
  723.       (except for modified where a "." is used).
  724.   See also: (show-buffer-stats)
  725. (load)        Not bound    args: code-file-name
  726.   Load a Mutt executable code file compiled with the Mutt compiler (MC2).
  727.   The file "me2.mco" is loaded when ME2 is fired up (unless it does not
  728.     exist).
  729.   Where the file is looked for is controlled by the environment variable
  730.     "ME2".  If it doesn't exist, the current directory is searched.  If
  731.     it does exist, it is parsed just like the UNIX ksh PATH variable:  
  732.       If code-file-name has a slash in it, the ME2 path is not searched.
  733.       Everything between separators (":" on UNIX, ";" on MS-DOS) is a path.
  734.       If path starts with ":", the current directory is searched first.
  735.       If path ends with ":", the current directory is searched last.
  736.       MS-DOS only:
  737.         "/" and "\" are treated the same way - as "\".
  738.     If code-file-name starts with a drive (eg "A:"), the ME2 path is
  739.       not searched.
  740.     For example:  ME2=$HOME/mutt:.:/usr/local/lib/mutt
  741.       When (load "foo") is done, ME will try to load
  742.       "$HOME/mutt/foo.mco", "./foo.mco" and
  743.       "/usr/local/lib/mutt/foo.mco" in succession.
  744.   Notes:
  745.     The extension MUST be ".mco" and is optional (ie you don't have to
  746.       include it and if you do, I'll change it to ".mco").
  747.     With an arg prefix (ie C-u) there is no error message if the file
  748.       can't be found.
  749.     If the arg prefix is 42, I check to see if the file has already been
  750.       loaded - if it has been, I won't load it again.
  751.   Warnings:
  752.     A pgm should NOT try to load it self or the file it is defined in
  753.       (eg if foo is defined in bar.mut, foo should not try to (load
  754.       "bar").  This is because the old bar is discarded (to make room
  755.       for the new code) before foo finishes running (ie foo is thrown
  756.       away).  Depending on the OS, this may work but your asking for
  757.       trouble if you do it.
  758.     If a code file is loaded that has the same name (ignoring path) as
  759.       an already loaded code file, it overwrites the old file.  All keys
  760.       bound to functions in the old file are removed.  See autoload.mut
  761.       for more about load and late binding.
  762.   See also: documents on Mutt programming (MUTT2.DOC and ME2MUTT.DOC).
  763.  
  764. (ME-command)    M-x    args: command or program name
  765.   Run a command or program.  ie one of the things listed in this
  766.     document.  When asked what to Execute:  use the name as listed here
  767.     (without the "()"'s).  eg Execute:  describe-bindings
  768.   Command completion is in effect.
  769.  
  770. (newline)        C-m
  771.   Insert a newline before the dot (visually before the cursor).
  772.   See also: (newline-and-indent), (open-line).
  773. (newline-and-indent)    C-j or M-C-o (oh, not zero)
  774.   Insert a newline before the dot and duplicate the indentation of the
  775.     previous line (the one the dot just left).
  776.   Note:  if tab-stops is 0, tabs are used where possible.  Otherwise
  777.     only blanks are used.
  778.   See also: (newline), (open-line), tab-stops (ME2MUTT.DOC).
  779. (next-buffer)        F-2            hidebuf.mut
  780.   Replace the current buffer with the next buffer in the buffer list,
  781.     skipping the hidden buffers.  The buffer list is in alphabetical
  782.     order.  The buffer list is circular, ie, the last buffer is followed
  783.     by the first buffer.
  784.   See also:  (list-buffers), (switch-to-buffer), (use-existing-buffer).
  785. (next-character)    C-f or F-E (right arrow)
  786.   Move right a character.
  787.   See also: (previous-character).
  788. (next-file)        C-xf            nextfile.mut
  789.   Read the next file on the command line.  By default, ME only reads the
  790.     first file on the command line.  This command will read the next
  791.     one.  Note that wildcards must be expanded by the shell (MS-DOS
  792.     users take note).
  793.   Use C-u to read in lots of files at once.
  794. (next-line)        C-n or F-D (down arrow)
  795.   Move the dot vertically down the screen.  Trys to stay in the same
  796.     column.
  797.   Note:
  798.     Don't use this in a pgm unless you want column tracking (for example
  799.       binding an arrow key).  In most cases the column tracking gets in
  800.       the way and will confuse your pgm.  Use forward-line instead.
  801.       (see ME2MUTT.DOC).
  802.   See also: (forward-line), (previous-line).
  803. (next-page)        C-v or F-J (page down)
  804.   Scroll forwards a page (window size -2).
  805.   See also: (previous-page).
  806. (next-window)        C-xo (oh, as in other)
  807.   Move to the next window down the screen and make it the current window.
  808.   See also: (previous-window)
  809. (next-word)        M-f
  810.   Move forwards until dot is after the end of a word or end of buffer.
  811.   See also: glossary, (previous-word), (cut-previous-word),
  812.     (cut-word), (modify-syntax-entry).
  813. (not-modified)        Not bound        me2.mut
  814.   Reset the modified bit on the current buffer.
  815.  
  816. (open-line)        C-o (oh, not zero)
  817.   Insert a newline after the dot.  The dot does not move.
  818.   See also: (newline), (newline-and-indent).
  819.  
  820. (p-match)        F-6            pmatch.mut
  821.   Paren matcher.  Works on (){}.
  822.   Put the cursor at a paren, execute p-match.  The cursor is moved to
  823.     the matching paren, sits there for a while so you can see the
  824.     matching paren and then cursor is restored.  The mark is left at the
  825.     matching paren so you can (exchange-dot-and-mark) at your convenience.
  826. (previous-character)    C-b or F-F (left arrow)
  827.   Move the dot backwards by a character.
  828.   See also: (next-character).
  829. (previous-line)        C-p or F-C (up arrow)
  830.   Move the dot vertically up the screen.  Tries to stay in the same
  831.     column.
  832.   Note:
  833.     Don't use this in a pgm unless you want column tracking (for example
  834.       binding an arrow key).  In most cases the column tracking gets in
  835.       the way and will confuse your pgm.  Use forward-line instead.
  836.       (see ME2MUTT.DOC).
  837.   See also: (forward-line), (next-line).
  838. (previous-page)        M-v or F-I (page up)
  839.   Scroll backwards a page (window size -2).
  840.   See also: (next-page).
  841. (previous-window)    C-xp
  842.   Move to the window immediately above the current window and make it the
  843.   current window.
  844.   See also: (next-window).
  845. (previous-word)        M-b
  846.   Move backwards until dot is at the beginning of a word or beginning of
  847.     buffer.
  848.   See also: (cut-previous-word), (cut-word), (next-word),
  849.     (modify-syntax-entry).
  850.  
  851. *(Queens)        Not Bound        queen.mut
  852.   A "how do you place N queens on a NxN chess board so they don't attack
  853.     each other?"  solver that shows the queens moving around.
  854.   To load it:  M-x load <Enter> queen <Enter>
  855.   See also: (hanoi).
  856.  
  857. (query-replace)    M-% or M-q            qr.mut
  858.   Interactively search and replace strings.
  859.   If the replacements are successful, the cursor is left where the
  860.     replace started and the mark is after the last replacement.
  861.   If aborted, the cursor is left where the abort occurred and the mark is
  862.     where the replace started.
  863.   n : No, don't replace.  Go on to next match.
  864.   <SPACE>, y : Yes, replace and go to next match.
  865.   ! : Replace all the rest without asking.
  866.   C-g : Abort.  The command stops and the cursor is left where it is.  To
  867.       get to the start of the query-replace, use (exchange-dot-and-mark).
  868.   ? : Popup a window with some documentation in it.
  869.   C-l : Redraw the screen and put the cursor in a "reasonable" place.
  870.   A few others.  Use "?".
  871.  
  872.   If you hit a character not in the list, the query-replace stops.
  873.   Patterns are saved across searches.
  874.   If you want to call this from a Mutt program, the optional args are:
  875.     (query-replace search-pattern replace-pattern)
  876.     Note that the query-replace remains interactive.
  877.   See also:  (re-query-replace), search-replace (ME2MUTT.DOC),
  878.     case-fold-search (in ME2MUTT.DOC).
  879. (quote)            C-q or C-^ (control-^)
  880.   Insert the next character typed into the buffer.  This is how to get
  881.     control characters and the like into the buffer.
  882.   Note: If you quote ALT keys or softkeys it will be pretty boring.
  883.  
  884. (re-query-replace)    M-C-q            qr.mut
  885.   Same as (query-replace) but using regular expressions.
  886.   See REGEXP.DOC for regular expression syntax.
  887.   See also: (query-replace), case-fold-search (in ME2MUTT.DOC)
  888. (read-file)        C-xC-r    args: file name, [yes or no]
  889.   Clear the current buffer (asking if the buffer has been modified) and read
  890.     in a file.
  891.   The file name defaults to the file name of the current buffer.
  892.   Command completion is on.
  893.   See also: (insert-file), (visit-file), (write-file) and read-file-hook
  894.     (in ME2MUTT.DOC).
  895. (refresh-screen)    C-l
  896.   Repaint the screen.  If n, then center the dot vertically in the window.
  897.   See also: (reposition-window).
  898. (rename-buffer)    Not bound            me2.mut
  899.   Change the name of the file that is attached to the current buffer.
  900.   After you do this, saving the buffer will cause it to write to the new
  901.     file name.
  902.   If you want to detach the buffer from the file system, use "" as the
  903.     new file name.
  904. (reposition-window)    M-!
  905.   Move the current window so that the line the dot is on is n lines
  906.     from the top of the window.  The default is to move the line the dot
  907.     is on to the top of the window.
  908.   If n <  0, move the dot so that it is n lines from the bottom.
  909.   If n == 0, the dot is centered vertically centered in the window.
  910.   See also: (refresh-screen).
  911. (reverse-re-search)    Not Bound        search.mut
  912.   Same as (reverse-search) but using regular expressions.
  913.   See REGEXP.DOC for regular expression syntax.
  914.   See also: (reverse-search), (forward-re-search).
  915. (reverse-search)    Not Bound        search.mut
  916.   See (forward-search) for info.
  917.  
  918. (save-buffer)        C-xC-s
  919.   Write the current buffer to the file associated with it.  Does not
  920.     do anything if the buffer is unmodified.  If you want to force a write,
  921.     use (write-file).
  922.   See also:  (write-file).
  923. (scroll-down)        C-xC-n or F-O (oh) (roll up)
  924.   Move the current window down by a line.  Visually, the dot moves up the
  925.     screen.
  926. (scroll-up)        C-xC-p or F-P (roll down)
  927.   Move the current window up by a line.  Visually, the dot moves down the
  928.     screen.
  929. (set-the-mark)        C-@ or M-SPACE or F-N (select)
  930.   Set the mark at the dot.  Visually, under the cursor.
  931.   See also: (exchange-dot-and-mark).
  932. (set-sysvar)        Not Bound        sysvar.mut
  933.   Set a ME2 system variable.
  934.   See ME2MUTT.DOC for a list and what they do.
  935.   Command completion is on.
  936.   See also:  (get-sysvar).
  937. (shell-command)        C-x!    args: op sys command
  938.   Call the operating system to perform a command or run a program and then
  939.     return to editing.
  940.   MS-DOS example:  To copy a file: (shell-command "copy foo bar")
  941.     To get a directory listing: (shell-command "ls").
  942.   See also:  (filter), (spawn-shell), enter-ME-hook and leave-ME-hook
  943.     (in ME2MUTT.DOC).
  944. (shell-region)        Not bound        me2.mut
  945.   Use the region as input to (shell-command).
  946.   For example:
  947.     foo.c has a comment in it that shows how to compile:
  948.     /* cc -o foo foo.c -lX11 */
  949.     By setting dot and mark around the text and using shell-region, you
  950.     can compile foo.
  951.   See also:  (shell-command).
  952. (show-buffer-stats)    C-x=            bstats.mut
  953.   Display some info about the current buffer.
  954. (shrink-window)    C-xC-z                window.mut
  955.   Shrink the current window by a line.  With an arg, shrink by that many
  956.     lines.
  957.   See also: (grow-window), window-height (ME2MUTT.DOC).
  958. (spawn-shell)        C-z
  959.   Jump to the operating system shell for a while.  ME is still loaded
  960.     and will sit in the background until you exit the shell (via "exit"
  961.     in MS-DOS).
  962.   In UNIX and MS-DOS, you can specify your shell with the SHELL
  963.     environment variable (eg set SHELL=MUSH.EXE).
  964.   On UNIX systems that support job control, C-uC-z will suspend ME.  This
  965.     is (usually) much faster than forking a new shell (use the fg
  966.     command (or equivalent) to return to ME).  A major drawback of this
  967.     is trying to use it from a shell that does not support job control
  968.     (such as sh) or from a program (such as mail) that fired off ME via
  969.     the C system() command (it uses sh).  In these cases the shell hangs
  970.     and it is difficult to recover.
  971.   See also:  (shell-command), (filter), enter-ME-hook and leave-ME-hook
  972.     (in ME2MUTT.DOC).
  973. *(spell-buffer)            Unix only    spell.mut
  974.   Check the spelling of every word in the current buffer using the Unix
  975.     spell program.  For each incorrect word, you are asked for the
  976.     correct spelling and then put into a query-replace to fix some or
  977.     all occurrences.  If you do not want to change a word, just press
  978.     Return - the query replace will be skipped.  If you hit Return too
  979.     many times, press "-" and you will be asked about the previous
  980.     incorrect word.  Case is important.
  981. *(spell-region)            Unix only    spell.mut
  982.   Check the spelling of words in a region.
  983. *(spell-string)            Unix only    spell.mut
  984.   Check the spelling of one or more words you type in.  No query replace
  985.     is done.
  986. *(spell-word)        M-$    Unix only    spell.mut
  987.   Check the spelling of the words the cursor is on.
  988. (split-window)        C-x2
  989.   Make 2 windows out of the  current  window.  A window with less than 3
  990.     lines cannot be split.
  991.   See also: (delete-other-windows).
  992. (start-macro)        C-x(
  993.   Start remembering keystrokes until (end-macro).
  994.   (abort) will terminate and back out of the macro.
  995.   See also: (end-macro), (execute-macro).
  996. (switch-to-buffer)    C-xb    args: buffer name
  997.   Replace the current window with another buffer.
  998.   Buffer name completion is on.
  999.   See also: (list-buffers), (next-buffer), (use-existing-buffer).
  1000.  
  1001. (tab)            C-i or the tab key
  1002.   Insert tab(s).
  1003.   Move to the next tab stop.  With argument, move n tabs.
  1004.   To set the tab stops, see tab-stops in ME2MUTT.DOC.
  1005. (turn-on-undo)        Not Bound        undo.mut
  1006.   Turn on undo for a buffer.  This has usually already been done.
  1007.   See also: (undo)
  1008. (twiddle-about-dot)    Not Bound        twiddle.mut
  1009.   Transpose the two characters on either side of the dot (cursor).
  1010. (twiddle-left-of-dot)    C-t            twiddle.mut
  1011.   Transpose the two characters left of the dot (cursor).
  1012.  
  1013. (undo)            C-xu or C-_        undo.mut
  1014.   Undo the last change to the buffer.  May not be turned on for some
  1015.     buffers.
  1016.   Undo won't undo the following things:
  1017.     cursor movement, buffer clears, file reads.
  1018.   See also:  (turn-on-undo), Undo.article.
  1019. (universal-argument)    C-u
  1020.   Get a numeric count for the next command.  The next command or program
  1021.     is performed count times.  If the command is a self-insert, count
  1022.     copies of the character are inserted.
  1023.   Count starts at 4 (except as noted below).  If the first key pressed
  1024.     after C-u is "-", count becomes negative.  Pressing C-u multiplies
  1025.     count by 4.  If a non digit is pressed, whatever is bound to that
  1026.     key is performed count times.  Otherwise, count becomes the next
  1027.     digits pressed.
  1028.   For example, C-uC-f will move forward 4 characters, C-uC-uC-f 16
  1029.     characters, C-u123 123 characters.  C-u5@ will insert "@@@@@".
  1030.   If (universal-argument) is given an argument, the count starts there.
  1031.     For example, in some Emacses, META digit starts the count at digit.
  1032.     See arg-prefix in ME2MUTT.DOC for how to implement this.
  1033.   (universal-argument) ignores running programs and will read from the
  1034.     keyboard.  Use arg-prefix if you wish pass an argument to something.
  1035.   See also: arg-prefix (in ME2MUTT.DOC).
  1036. (upcase-region)    C-xC-u                case.mut
  1037.   Convert a region to upper case.
  1038.   See also: (downcase-region), (downcase-word), (upcase-word).
  1039. (upcase-word)        M-u            case.mut
  1040.   Convert word to upper case.
  1041.   See (capitalize-word) for edge conditions.
  1042.   See also:  (modify-syntax-entry), (downcase-word), (downcase-region),
  1043.     (upcase-region).
  1044. (use-existing-buffer)    C-xC-o (oh)        me2.mut
  1045.   Replace the current window with a buffer that already exists.
  1046.   Buffer name completion is on.
  1047.   See also: (list-buffers), (switch-to-buffer).
  1048.  
  1049. (version)        Not bound
  1050.   Show the version of ME2.
  1051. (visit-file)        C-xC-f or C-xC-v  args: file name
  1052.   Pull a file into a buffer for editing.  The current window is used to
  1053.     hold new buffer.  If arg-prefix, the window is split (if it is the
  1054.     only one) or another window is used to hold the new buffer.  If the
  1055.     file has been already loaded, switch to it.  Otherwise, read in the
  1056.     file.  A buffer name is created from the file name by stripping off
  1057.     the directory info and keeping the name and extension.  The dot is
  1058.     set to the beginning of the buffer and the marks are cleared (if
  1059.     this is a new buffer).
  1060.   If the buffer already exists but the filenames are different (eg "foo"
  1061.     and "../foo" both generate the buffer name "foo"), a unique buffer
  1062.     name is constructed by appending "<2>", "<3>", etc, using the lowest
  1063.     number that makes a name not already in use.
  1064.   Command completion is on.
  1065.   See also:  (insert-file), (read-file), (write-file) and read-file-hook
  1066.     (in ME2MUTT.DOC).
  1067.  
  1068. (write-file)        C-xC-w    args: file-name
  1069.   Write the current buffer to a file.  If the file exists, it is
  1070.     overwritten.  If the file does not already exist, it is created.
  1071.   file-name defaults to the file name of the current buffer.
  1072.   Note that the buffer name and file name do NOT change.  Some Emacses
  1073.     change the file name to file-name.  If you like this behavior, try:
  1074.     (defun write-named-file
  1075.     {(rename-buffer (ask "Write named file: "))(write-file "")})
  1076.   Command completion is on.
  1077.   See also: (insert-file), (read-file), (save-buffer), (visit-file).
  1078.  
  1079. (yank)            C-y
  1080.   Insert the contents of the cutbuffer before the dot (visually before the
  1081.     cursor).  Does not affect the cut buffer.
  1082.   The dot is left after the yanked text.  The mark does not move.
  1083.   See also: (copy-region), (cut-line), (cut-region).
  1084.