From: "Ian Crowther" <i_crowther@hotmail.com>
Subject: Binding meta and arrow
Date: Sat, 14 May 2005 00:27:27 +0100 [thread overview]
Message-ID: <BAY102-F37422DB752AE7A67A40EDEFB120@phx.gbl> (raw)
I'm trying to make emacs bind "M-arrow" to things.
I know other applications can use the key combination in the same
environment (on the console, using putty and screen) and it seems emacs
itself can handle it; when I go "C-h c M-left" it says "ESC <left> is
undefined"
I can evaluate "(global-set-key [left] "left was pressed")" and get "left
was pressed" inserted into the buffer when I press left. All I now need to
do is try to figure out how to use the alt key on my keyboard.
I've tried the following:
(global-set-key [M-left] "M-left was pressed")
(global-set-key [A-left] "A-left was pressed")
(global-set-key [alt left] "alt left was pressed")
(global-set-key [meta left] "meta left was pressed")
And because I don't know what they do, I tried the following combinations
also:
(global-set-key [H-left] "H-left was pressed")
(global-set-key [s-left] "s-left was pressed")
None of them work. I know emacs can tell I've pressed M-left though. I'd be
grateful if somebody could tell me how I'm going wrong trying to bind it.
next reply other threads:[~2005-05-13 23:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 23:27 Ian Crowther [this message]
2005-05-14 7:13 ` Binding meta and arrow Eli Zaretskii
2005-05-14 15:56 ` Peter Dyballa
2005-05-14 23:51 ` Ian Crowther
2005-05-15 9:32 ` Peter Dyballa
2005-05-16 1:01 ` Ian Crowther
2005-05-16 8:50 ` Peter Dyballa
[not found] <mailman.5162.1116027341.2819.help-gnu-emacs@gnu.org>
2005-05-16 15:49 ` Stefan Monnier
2005-05-18 13:56 ` Ehud Karni
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=BAY102-F37422DB752AE7A67A40EDEFB120@phx.gbl \
--to=i_crowther@hotmail.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.
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).