From: Bertram Scharpf <b.scharpf@tesionmail.de>
Subject: Meta key, Alt key & ESC
Date: 5 Jan 2003 17:09:24 GMT [thread overview]
Message-ID: <slrnb1gpm3.1fm.b.scharpf@homer.bertram-scharpf> (raw)
Hi,
sorry, I could not find a documentation about this problem.
Under Debian/GNU Linux my Emacs Meta key is the one
between `Control_L' and `Alt_L'. But from SuSE
Linux I am used `Alt_L' to be the Meta key. Now I don't
want to change my Debian `.Xmodmap'; rather I want Emacs
to accept the `Alt_L' in one of the following manners:
A.
I examine my keystrokes using the command "C-h k"
(`descibe-key'). Typing
C-h k <Alt>-a
yields in under
--------- -----
"M-a runs the command ...." SuSE
"A-a is undefined" Debian/GNU
But I get
$ xmodmap -pm | grep mod1
mod1 Alt_L (0x40)
$
in both cases!
So there must be a way to tell Emacs which modifier is the
Meta Key. How do I tell?
B.
My `/usr/X11R6/lib/X11/app-defaults/XTerm' contains
something like
--------------------------------------
XTerm*VT100.Translations: #override \
Alt<KeyPress>Shift_L,Alt<KeyPress>: string(0x01B) insert() \n\
Alt<KeyPress>Shift_R,Alt<KeyPress>: string(0x01B) insert() \n\
Alt Ctrl <KeyPress>: string(0x01B) insert() \n\
Alt <KeyPress>: string(0x01B) insert()
--------------------------------------
(I didn't find a documentation about that either.)
Running Emacs in an XTerm as "emacs -nw" I get the following
results:
Typing yields in
C-h k <Meta>-a "M-a runs the command ...."
C-h k ESC a "ESC a runs the command ...."
C-h k <Alt>-a "ESC a runs the command ...."
but in the X-windowed Emacs still:
C-h k <Alt>-a "A-a is undefined"
Is there a way letting Emacs take an <Alt> as an ESC-prefix
as XTerm does?
Thank you very much in advance for your answers.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
next reply other threads:[~2003-01-05 17:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-05 17:09 Bertram Scharpf [this message]
2003-01-05 19:26 ` Meta key, Alt key & ESC Kai Großjohann
2003-01-05 21:42 ` Bijan Soleymani
2003-09-25 16:00 ` X-Windows cut&paste problems (Japanese characters) Janusz S. Bień
2003-09-27 11:49 ` Eli Zaretskii
2003-09-28 17:12 ` Janusz S. Bień
2003-09-28 17:43 ` Miles Bader
2003-09-29 15:14 ` Janusz S. Bień
2003-09-29 16:09 ` Jason Rumney
2003-01-06 2:11 ` Meta key, Alt key & ESC Tim X
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=slrnb1gpm3.1fm.b.scharpf@homer.bertram-scharpf \
--to=b.scharpf@tesionmail.de \
/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).