From: Daniel Pittman <daniel@rimspace.net>
To: help-gnu-emacs@gnu.org
Subject: Re: C-x right
Date: Wed, 26 Dec 2007 00:26:23 +1100 [thread overview]
Message-ID: <87wsr26h34.fsf@rimspace.net> (raw)
In-Reply-To: fkqsvj$p7h$1@ss408.t-com.hr
Nikola Skoric <nick-news@net4u.hr> writes:
> I'd like to bind C-x right to bury-buffer. I just can't find manual
> section which describes who to do that. I've tried:
> (global-set-key [\C-x right] 'bury-buffer)
> (global-set-key [C-x right] 'bury-buffer)
> (global-set-key "\C-x<right>" 'bury-buffer)
> but nothing works. I figured out how to bind normal keys, but I just
> can't figure out arrows...
(global-set-key [(control x)(right)] #'bury-buffer)
(define-key ctl-x-map [(right)] #'bury-buffer)
Regards,
Daniel
--
Daniel Pittman <daniel@cybersource.com.au> Phone: 03 9428 6922
1/130-132 Stawell St, Richmond Web: http://www.cyber.com.au
Cybersource: Australia's Leading Linux and Open Source Solutions Company
next prev parent reply other threads:[~2007-12-25 13:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-25 12:27 C-x right Nikola Skoric
2007-12-25 13:20 ` Lennart Borgman (gmail)
2007-12-25 13:26 ` Daniel Pittman [this message]
[not found] ` <mailman.5380.1198588863.18990.help-gnu-emacs@gnu.org>
2007-12-25 14:06 ` Nikola Skoric
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsr26h34.fsf@rimspace.net \
--to=daniel@rimspace.net \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).