From: Philip Ganchev <phil.ganchev@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: global-set-key C-next
Date: Thu, 9 Dec 2010 18:41:30 -0500 [thread overview]
Message-ID: <AANLkTinGCaLVa9AqihVJhnwwvc56Kdof5+qLgBP-dFyC@mail.gmail.com> (raw)
In-Reply-To: <B483712EEC984189A2F927F6B57A21D8@us.oracle.com>
On Thu, Dec 9, 2010 at 5:19 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> 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).
next prev parent reply other threads:[~2010-12-09 23:41 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 [this message]
2010-12-10 4:43 ` Drew Adams
[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=AANLkTinGCaLVa9AqihVJhnwwvc56Kdof5+qLgBP-dFyC@mail.gmail.com \
--to=phil.ganchev@gmail.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/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.