all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Philip Ganchev'" <phil.ganchev@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: global-set-key C-next
Date: Thu, 9 Dec 2010 20:43:24 -0800	[thread overview]
Message-ID: <C9558539798941258BEFBD7711D043B7@us.oracle.com> (raw)
In-Reply-To: <AANLkTinGCaLVa9AqihVJhnwwvc56Kdof5+qLgBP-dFyC@mail.gmail.com>

> >> 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	other threads:[~2010-12-10  4:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03  3:08 global-set-key C-next Philip
2010-12-09 22:19 ` Drew Adams
2010-12-09 23:41   ` Philip Ganchev
2010-12-10  4:43     ` Drew Adams [this message]
     [not found]     ` <mailman.57.1291956252.5417.help-gnu-emacs@gnu.org>
2010-12-10 21:17       ` Stefan Monnier
2010-12-10 21:43         ` Drew Adams
     [not found]         ` <mailman.41.1292017466.4804.help-gnu-emacs@gnu.org>
2010-12-10 22:35           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C9558539798941258BEFBD7711D043B7@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=phil.ganchev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.