     EMACSKEY.TXT, ver. 1.31
     New keys and changed keys (a list of all key commands
     modified by EMACS13 for Multi-Edit).
     by Eric Pement - eric [at] pement.org

This file lists all the keybindings which were modified or added by
the combination of EMACS.DB (or EMACS-W.DB), and by the EMACS.S macro
files, showing how closely I have been able to make Multi-Edit for
Windows mimic the Emacs command set. Keybindings which were not
changed from Multi-Edit's default values are not listed.

Multi-Edit commands are indicated in SOLID CAPITAL LETTERS.
Emacs commands are indicated in lower-case-hyphenated-names.

If either editor has no corresponding command, the word "none" appears
in brackets. If the keybinding is not "native" to Emacs (not the
default value when Emacs starts up), a double asterisk (**) appears
after the Emacs command. Where possible, I have usually tried to
follow the GNU set of Emacs keybindings.

KEY      Multi-Edit command     Emacs command
---      ------------------     ---------------
^X       [none]                 Control-X prefix
ESC      [none]                 Escape/Meta prefix
^[       [none]                 Escape/Meta prefix

^A       HOME KEY               beginning-of-line
^B       CURSOR LEFT            backward-char
^C       BOTTOM OF WINDOW       **
^D       DEL CHAR               delete-char
^E       END KEY                end-of-line
^F       CURSOR FORWARD         forward-char
^H       HELP                   help command [ME table of contents]
^K       [none]                 kill-line
^L       CENTER LINE IN SCREEN  recenter
^N       CURSOR DOWN            next-line
^O       OPEN NEW LINE          open-line
^P       CURSOR UP              previous-line
^R       TOP OF WINDOW          **
^S       INCREMENTAL SEARCH     isearch-forward
^T       [none]                 transpose-chars
^U       REPEAT COMMAND         universal-argument
^V       PAGE DOWN              scroll-up
^W       CUT TO BUFFER          kill-region
^Y       PASTE FROM BUFFER      yank
^Z       PAGE UP                scroll-down**
^-/      UNDO                   undo
^-_      UNDO                   undo
^-\      QUERY CURRENT CHAR     [none]
^Shft-S  SPELL CHECK            ispell-buffer**
Alt-D    TIME/DATE STAMP        [none]**
^6       CHANGE CHARACTER CASE  [none]**

^X-b     NEXT WINDOW            switch-to-buffer (next window)
^X-^B    LIST WINDOWS           buffer-menu
^X-^C    SAVE ALL FILES & EXIT  save-buffers-kill-emacs
^X-f     [right margin]         set-fill-column
^X-^F    OPEN NEW FILE          find-file
^X-^G    GO TO LINE NUMBER      goto-line**
^X-i     MERGE FILE             insert-file (from disk)
^X-^L    LOWERCASE BLOCK        downcase-region
^X-o     ADJACENT WINDOW        other-window (switch to)
^X-^S    SAVE FILE              save-buffer
^X-^U    UPPERCASE BLOCK        upcase-region
^X-^W    SAVE FILE AS...        write-file
^X-1     WINDOW^ZOOM            delete-other-windows      [toggle zoom]
^X-2     SPLIT WINDOWS          split-window-vertically   [link windows]
^X-3     SPLIT WINDOWS          split-window-horizontally [link wins]
^X-4     SPLIT WINDOWS /WL=1    find-file-other-window [split down, select file]
^X-5     SPLIT WINDOWS          file-file-other-window [select split and file]**
^X-(     KEY_RECORD             start-kbd-macro

^[-b     WORD_LEFT              backward-word
^[-c     [none]                 capitalize-word (lowercase remainder)
^[-d     DELWORD                kill-word
^[-f     WORD_RIGHT             forward-word
^[-l     [none]                 lowercase-word
^[-q     REFORMAT               fill-paragraph
^[-s     CENTER                 center-line
^[-u     [none]                 uppercase-word (solid caps)
^[-v     PAGE UP                scroll-down
^[-w     COPY TO BUFFER         kill-ring-save
^[-$     SPELL CHECK            ispell-word
^[-%     SEARCH & REPLACE       query-replace
^[-<     TOP OF FILE            beginning-of-buffer
^[->     END OF FILE            end-of-buffer
^[-}     NEXT PARAGRAPH         forward-paragraph
^[-TAB   SPELL                  ispell-complete-word

-------

   What's not here?

Ctrl-C (mode-specific-prefix)  In GNU Emacs, this allows for yet
  another set of 2- or 3-key editing commands. Unlike the Ctrl-X or
  the ESC prefix, the Ctrl-C commands alter depending on which editing
  mode is active. To see why I omitted this, see Ctrl-R, below.

Ctrl-G (abort)  In Emacs, ^G cancels or aborts pending operations
  (such as a prompt requesting user input), while in regular text
  entry ^G does nothing.  In Multi-Edit, the ESC key cancels or aborts
  pending operations, while in regular text entry the ESC key opens up
  a context-sensitive editing menu.  I have not been able to figure
  out how Multi-Edit associates the "cancel pending operation"
  instruction with a key, and so for this reason ^G is unassigned. If
  you need to cancel a prompt, use the ESC key.

Ctrl-Q (quote-next-char)  In Emacs, pressing ^Q means the following
  character will be literally embedded in the document instead of
  being interpreted as a single-key command (e.g., ^A). This is
  normally used to put control codes into the text. If someone can
  figure out how to code this in Multi-Edit's CMACWIN macro language,
  that would be great. I would have done it if I knew how.

Ctrl-R (isearch-backward)  In Emacs, ^R invokes the incremental search
  feature, but instead of searching forward, it automatically searches
  in reverse (backward).  It's not here, partly because I don't know
  how to write the macro; partly because ^S (isearch-forward) already
  has a checkbox to alter the direction of the search; and partly
  because I found the Multi-Edit ^R (TOP OF WINDOW) and ^C (BOTTOM OF
  WINDOW) more handy.  If you know how to modify the Multi-Edit macro
  to search in reverse, go right ahead.

ALT (Meta prefix).  Emacs uses two primary "prefix" keys, the Ctrl-X
  prefix and the Meta prefix (GNU Emacs has a third: Ctrl-C, a
  mode-specific-prefix). You type a prefix key and then 1 or 2 more
  keys to execute extended commands.  In Emacs, the Meta prefix is
  normally accessed by pressing ESC or Ctrl-[.  (In Emacs 19.30 and
  later, you can also press the Alt key to invoke the Meta prefix.)

  In my keymap, the Meta prefix is assigned to ESC and to Ctrl-[, but
  not to the ALT key. This occurs mostly because I'm afraid of losing
  too much functionality by reassigning the ALT key. I suspect that
  fairly few Emacs users type ALT to get the Meta prefixes.

  I must note here that in assigning ESC to be the Meta prefix, this
  disables the context-sensitive editing menu. In normal Multi-Edit,
  this feature is invoked in text mode by pressing the ESC key or
  clicking the right mouse button. This editing menu can now only be
  accessed by right-clicking the mouse button.

  If you want to reassign the ESC key (in text mode) to its former
  value, do the following:

  - goto Customize-->Keys/Commands-->Search. Enter "Context", click OK
  - you should now be at "Context/Right Button menu".  Click "EDIT"
  - Under "Primary key", click the "..." and press the ESC key.
    The word "Esc" should now appear as the key assignment
  - click on OK to close the "Context/Right Button menu" and return to
    the Keys/Commands table.

  - Move the scroll bar down to the very bottom of the menu, for
    User-Defined Operations.
  - Click on (highlight) "ESCape Prefix" and click "EDIT"
  - Under "Secondary key", click the "..." and click on "Delete".
    The word "Esc" should no longer appear under "Secondary key".
  - click on OK and exit out of the Customize tables. You're done.

A "kill-ring"  One of the nice features of GNU Emacs is the kill-ring,
  a buffer which stores separate, noncontiguous deletions.  I.e., if
  you press ^K ten times in a row, then 5 lines of deleted text will
  be stored in one buffer area.  Move the cursor somewhere else, mark
  and kill a block, and the deletion will be stored in a second buffer
  area.  Move to the top of the file, delete the first line, and that
  deletion is pushed onto the kill-ring also.  Pressing ^Y will yank
  back the (former) top line, but you can also cycle through previous
  kills to retrieve earlier deletions.

  This feature is NOT the same as successive levels of UNDO, which
  purely works to reverse old operations.  The kill-ring allows you to
  insert or yank "killed" text into places where it never appeared in
  the first place.  Multi-Edit has the ability to emulate the
  kill-ring, but I have not had the time to implement it.  The
  MultiCut macro by Donald K. Forbes (and others) is perfectly suited
  to this task. Maybe someday I'll take it on.

[end-of-file]
