home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!news.dell.com!uudell!bigtex!texsun!digi!kgallagh
- From: kgallagh@digi.lonestar.org (Kevin Gallagher)
- Newsgroups: gnu.emacs.help
- Subject: Re: key binding problem
- Message-ID: <1992Aug20.051446.5072@digi.lonestar.org>
- Date: 20 Aug 92 05:14:46 GMT
- References: <1992Aug17.1277.2525@channel1>
- Distribution: gnu
- Organization: DSC Communications Corp, Plano, TX
- Lines: 31
-
- In article <1992Aug17.1277.2525@channel1> "rick sheridan" <rick.sheridan@channel1.com> writes:
- >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.
-
- Try
-
- (define-key ibmpc-map "M-C-d" 'swap-to-prev-buffer)
-
- When I press C-PgUp on my system, while in demacs, view-lossage (C-h l)
- reports that it saw the characters
-
- C-@ M-C-d
- --
- ----------------------------------------------------------------------------
- Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
- DSC Communications Corporation Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
- ----------------------------------------------------------------------------
-