home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!channel1![rick.sheridan@channel1.com]
- From: "rick sheridan" <rick.sheridan@channel1.com>
- Newsgroups: gnu.emacs.help
- Subject: key binding problem
- Message-ID: <1992Aug17.1277.2525@channel1>
- Date: 17 Aug 92 16:20:18 EST
- Reply-To: "rick sheridan" <rick.sheridan@channel1.com>
- Distribution: gnu
- Organization: Channel 1 Communications
- Lines: 30
-
- I'm using Demacs (DOS Emacs) and am having a problem getting one key
- bound: C-pgup. I got a routine from this newsgroup that rotates thru
- the buffers. It has two functions, swap-to-next-buffer and
- swap-to-prev-buffer, that I want to bind to C-pgdn and C-pgup
- respectively.
-
- C-pgdn generates the key code `C-@ "v"' that I put in my IBMPC.EL file
- as
-
- (define-key ibmpc-map "v" 'swap-to-next-buffer)
-
- which works perfectly. C-pgup generates `C-@ "ESC"' which I put in as:
-
- (define-key ibmpc-map "ESC" 'swap-to-next-buffer)
-
- When I byte compiled IBMPC.EL, I got no errors but I also got no C-pgup.
- Emacs reported it as unbound. In place of "ESC" I then tried both
- "\C-@\e" and even "\C-@\033" (ESC = decimal 27, octal 033). Still no
- C-pgup.
-
- I would appreciate any help with this problem.
-
- advTHANKSance
-
- --Rick
-
- rick.sheridan@channel1.com
- --
- Channel 1 (R) Cambridge, MA
-
-