help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: global-set-key C-next


From: Drew Adams
Subject: RE: global-set-key C-next
Date: Thu, 9 Dec 2010 20:43:24 -0800

> >> I want to bind the key Control+PageDown. I tried
> >> (global-set-key (kbd "C-next") bury-buffer)
> >> (global-set-key (kbd "C-<next>") bury-buffer)
> >> but those don't work. How can I describe the key?
> >
> > (global-set-key (kbd "C-<next>") 'bury-buffer) or
> > (global-set-key [(control next)] 'bury-buffer)
> >
> > You forgot a quote.
> 
> Thanks. Although I forgot a quote in my post to the list, I had the
> quote in my .emacs file. It tried with both expressions and it does
> not work. When I press Ctrl+PageDown, "5~" is inserted (without the
> quotes).

Dunno what to say.  Both of those work for me.  Without defining any bindings,
starting with `emacs -Q', what does `C-h k' followed by hitting Ctrl+PageDown
tell you?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]