From: William Gardella <gardellawg@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How does the Meta/Alt-Key work behind the scenes?
Date: Wed, 31 Oct 2012 12:51:53 -0400 [thread overview]
Message-ID: <87pq3yinyu.fsf@gmail.com> (raw)
In-Reply-To: mailman.12074.1351700673.855.help-gnu-emacs@gnu.org
Hi Thorsten,
Thorsten Jolitz <tjolitz@googlemail.com> writes:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> However, I was told to hardcode the Meta/Alt-Keybindings as ESC-key
>>> sequences, e.g. '^[', wait 500, then 'f', so that they can either be
>>> used as 'ALT-f' or as 'ESC f'. But only the latter (very uncomfortable)
>>> option works for me, and any keybindings that include the SHIFT key
>>> don't work at all.
>>
>> What does "don't work" mean?
>
> Maybe I asked to early since further testing revealed that it is not a
> general problem but a problem of some keys only:
>
> When I use 'C-%' (^% = C-S-5 on my keyboard) which should execute the
> command 'go to next parenthesis' then in xterm '%' is (self)inserted, on
> the console nothing happens. But 'C-_' (^_ = C-S-- on my keyboard)
> executes 'undo' as expected in xterm and on the console.
>
> So I would like to withdraw my question for now - sorry for the noise.
TTY keys are complicated, and really limit the ability of an application
like Emacs to use its bucky bits. Some chords that are valid in a
window system are not valid in a console (or in a terminal emulator
under normal circumstances, which acts like a console). See
e.g. http://en.wikipedia.org/wiki/ASCII#ASCII_control_characters and
http://en.wikipedia.org/wiki/ANSI_escape_code to get a feel for what is
possible and what is missing.
-WGG
--
I use grml (http://grml.org/)
next prev parent reply other threads:[~2012-10-31 16:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.12043.1351673061.855.help-gnu-emacs@gnu.org>
2012-10-31 15:02 ` How does the Meta/Alt-Key work behind the scenes? Stefan Monnier
2012-10-31 16:24 ` Thorsten Jolitz
[not found] ` <mailman.12074.1351700673.855.help-gnu-emacs@gnu.org>
2012-10-31 16:51 ` William Gardella [this message]
2012-10-31 17:43 ` Thorsten Jolitz
2012-10-31 18:00 ` Stefan Monnier
2012-10-31 19:32 ` Thorsten Jolitz
2012-10-31 8:44 Thorsten Jolitz
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=87pq3yinyu.fsf@gmail.com \
--to=gardellawg@gmail.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.