home *** CD-ROM | disk | FTP | other *** search
- Organization: Carnegie Mellon, Pittsburgh, PA
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sb41+
- Newsgroups: comp.emacs
- Message-ID: <0f05vcO00VoR8B7WVR@andrew.cmu.edu>
- Date: Tue, 10 Nov 1992 20:16:24 -0500
- From: Steven Robert Bates <sb41+@andrew.cmu.edu>
- Subject: Re: emacs over a modem on a mac keyboard
- In-Reply-To: <EJH.92Nov10101917@khonshu.colorado.edu>
- References: <EJH.92Nov10101917@khonshu.colorado.edu>
- Lines: 37
-
- Excerpts from netnews.comp.emacs: 10-Nov-92 emacs over a modem on a
- mac.. Edward J. Hartnett@khons (1577)
-
- > But when I
- > tried that same thing with C-h it wouldn't accept C-h by itself, it
- > wanted some other key to be pressed afterwards. When I hit C-h emacs
- > showed that as C-h- and waited for another key. It's hard to explain,
- > but try it and see. Can anyone explain this strange behavior to me?
-
- Yes. C-h is what is called a prefix command. Prefix commands are
- basicly keymaps. In the case of help-command it is an alist of the help
- keys and their functions. The way it works is when a prefix command in
- envoked
- the next key's function binding is taken for the prefix command's
- keymap. This is how C-x C-c work. If you want to change the binding of
- C-h, it looks like you have to either to add the following to your
- .emacs:
-
- (global-set-key "\C-h" 'backward-delete-char) ; note no more help key
-
- You will probaly want to bind the symbol help-command to some other key,
- so can still get help.
-
- Or you can do an "esc esc" or M-x eval-expression and type the same line
- as you would add to your .emacs.
-
- Hope this helps.
- Steven Robert Bates
- Student User Consultant
- Cluster Manager Wean 5209
-
- sb41@andrew.cmu.edu
- R746SB41@VB.CC.CMU.EDU
- cevin@CMU.EDU
-
- It has to warm up... So it can kill you!
- -Gomez Adams
-