Re: ilisp keybindings in emacs

"Bill Clementson" <[email protected]> Sat, 19 Apr 2003 17:12:50 -0600
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Ok, the general consensus that I received from people was that the
fsf keybindings were the best ones to introduce to newbies. (Note: I
received 0 replies on the ILISP mailing list, a few on c.l.l. and
a few more replies were sent directly to me by email). A few people
also used the standard keybindings but with a "C-c" prefix instead
of the standard "C-z" prefix.

The biggest problem with the fsf keybindings is that they are not
complete. Rather than just complain and hope that they will be fixed
at some stage, I would like to propose a set of fsf keybindings for
those commands that aren't covered by the current set of mappings and
volunteer to make the necessary changes myself. There are 2 possible
problems with this:

1. There may be good reasons not to use some of my suggested mappings.
   I am posting my suggested mappings here for comment - let me know
   if you feel that alternative mappings would be preferable.

2. I don't have CVS check-in authority. Either I can be given developer
   access or I can email my changes to one of the developers with the
   necessary access. Alternatively, someone with CVS authority could
   make the changes. Marco or Paolo - could you please email me on this
   to let me know how you want to proceed?

Here are the proposed fsf keybindings. The definitions are in 2 separate
ilisp files at present: ild.el and ilisp-key.el.

The following keys (for lisp debugging) are defined in ild.el.
Since all of these commands are debugging commands, I have given
them a keybinding that uses a shifted letter. There aren't any capital
letter fsf-binding commands at present, so this won't be a conflict
and should be easier for beginners to remember.

Non-fsf   Command          Proposed-fsf
========= ================ ============
"M-a"     ild-abort        "C-c M-A"
"M-c"     ild-continue     "C-c M-C"
"C-M-s"   ild-step         "C-c M-S"
"C-M-n"   ild-next         "C-c M-N"
"C-M-p"   ild-previous     "C-c M-P"
"C-c-<"   ild-top          "C-c M-<"
"C-c->"   ild-bottom       "C-c M->"
"M-b"     ild-backtrace    "C-c M-B"
"C-M-d"   ild-locals       "C-c M-D"
"C-M-l"   ild-local        "C-c M-O"
"C-CR"    ild-return       "C-c M-CR"
"C-M-r"   ild-retry        "C-c M-R"
"C-x-t"   ild-trap-on-exit "C-c M-X"
"C-c-L"   select-lisp    "C-c M-L"
"C-c C-f" fast-lisp        "C-c M-F"
"C-c C-s" slow-lisp        "C-c M-S"

The following (general ilisp) keys are defined in ilisp-key.el.
I have tried to keep them consistent with the non-fsf keybindings
where possible (with the exception of reposition-window-lisp which
conflicted with an existing fsf keybinding).

Non-fsf   Command                Proposed-fsf
========= ================       ============
"C-c-TAB" complete-lisp          "C-c C-TAB"
"C-]"     close-and-send-lisp    "C-c C-]"
"C-M-r"   reposition-window-lisp "C-c M-P"
"M-,"     next-definition-lisp   "C-c M-,"
"M-."     edit-definitions-lisp  "C-c M-."
"M-?"     search-lisp    "C-c M-?"
"M-\"     replace-lisp           "C-c M-\"
"C-c-^"   edit-callers-lisp      "C-c C-^"
"M-`"     next-caller-lisp       "C-c M-`"
"C-c-!"   default-directory-lisp "C-c C-!"
"C-c-SPC" mark-change-lisp       "C-c C-SPC"
"C-c-b"   switch-to-lisp         "C-c M-b"

Any comments on these proposed new mappings?

--
Bill Clementson



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf