From: Tassilo Horn <tsdh@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: alt-tab? really? you're joking...
Date: Tue, 27 Jan 2015 10:51:13 +0100 [thread overview]
Message-ID: <87vbjso8ku.fsf@gnu.org> (raw)
In-Reply-To: <87y4opmdjt.fsf@nl106-137-147.student.uu.se>
incal <embe8573@student.uu.se> writes:
>> To me <C-M-i> isn't more difficult to type (in a
>> way, it is easier/better as the left index finger
>> can remain at <f>)
As many keys, that depends on your keyboard layout. I use a German
variant of the Dvorak layout, and then `C-M-i' basically means pressing
three keys with the left hand.
> Without the configuration, <M-tab> translates to
> <C-M-i> in the Linux VTs.
>
> Those keys are both very good, so why have them do the
> same thing? It is a waste.
Because those keys are the same on older terminals.
,----[ (info "(emacs)Named ASCII Chars") ]
| <TAB>, <RET>, <BS>, <LFD>, <ESC> and <DEL> started out as names for
| certain ASCII control characters, used so often that they have special
| keys of their own. For instance, <TAB> was another name for ‘C-i’.
| Later, users found it convenient to distinguish in Emacs between these
| keys and the “same” control characters typed with the <Ctrl> key.
| Therefore, on most modern terminals, they are no longer the same: <TAB>
| is different from ‘C-i’.
|
| Emacs can distinguish these two kinds of input if the keyboard does.
| It treats the “special” keys as function keys named ‘tab’, ‘return’,
| ‘backspace’, ‘linefeed’, ‘escape’, and ‘delete’. These function keys
| translate automatically into the corresponding ASCII characters _if_
| they have no bindings of their own. As a result, neither users nor Lisp
| programs need to pay attention to the distinction unless they care to.
|
| If you do not want to distinguish between (for example) <TAB> and
| ‘C-i’, make just one binding, for the ASCII character <TAB> (octal code
| 011). If you do want to distinguish, make one binding for this ASCII
| character, and another for the “function key” ‘tab’.
|
| With an ordinary ASCII terminal, there is no way to distinguish
| between <TAB> and ‘C-i’ (and likewise for other such pairs), because the
| terminal sends the same character in both cases.
`----
So you may define different commands for `C-M-i' and <M-tab> but then on
a Linux VT, the `C-M-i' binding will be executed for both pressing
`C-M-i' and for "Meta+TAB".
Bye,
Tassilo
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2015-01-27 9:51 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 3:50 Hikaru Ichijyo
2015-01-23 4:17 ` Charles Philip Chan
2015-01-23 5:34 ` Pascal J. Bourguignon
2015-01-23 14:38 ` Hikaru Ichijyo
2015-01-23 14:50 ` Pascal J. Bourguignon
2015-01-23 22:20 ` Charles Philip Chan
2015-01-23 10:26 ` Tassilo Horn
[not found] ` <mailman.18427.1422008816.1147.info-gnus-english@gnu.org>
2015-01-23 14:47 ` Hikaru Ichijyo
2015-01-26 8:12 ` Tassilo Horn
[not found] ` <mailman.18637.1422259999.1147.info-gnus-english@gnu.org>
2015-01-26 21:18 ` incal
2015-01-26 21:34 ` incal
2015-01-27 9:51 ` Tassilo Horn [this message]
[not found] ` <mailman.18727.1422352295.1147.info-gnus-english@gnu.org>
2015-01-27 20:24 ` more keys in a Linux VT (was: alt-tab? really? you're joking...) Emanuel Berg
2015-01-24 0:12 ` alt-tab? really? you're joking incal
2015-01-24 4:40 ` Hikaru Ichijyo
2015-01-24 10:34 ` incal
2015-01-24 12:00 ` Adam Sjøgren
[not found] ` <mailman.18502.1422100844.1147.info-gnus-english@gnu.org>
2015-01-24 23:40 ` Hikaru Ichijyo
2015-01-25 2:07 ` Winston
2015-01-25 2:55 ` Hikaru Ichijyo
2015-01-25 8:38 ` Glyn Millington
2015-01-25 8:40 ` Glyn Millington
2015-01-25 8:59 ` Immediate expiration Damien Wyart
2015-01-25 20:32 ` Hikaru Ichijyo
2015-01-25 12:41 ` alt-tab? really? you're joking incal
2015-01-25 13:00 ` new subject (was: alt-tab? really? you're joking...) Peter Münster
[not found] ` <mailman.18547.1422190826.1147.info-gnus-english@gnu.org>
2015-01-25 13:37 ` incal
2015-01-25 13:42 ` incal
2015-01-25 19:58 ` new subject Peter Münster
2015-01-25 20:36 ` Clemens Schüller
[not found] ` <mailman.18582.1422218214.1147.info-gnus-english@gnu.org>
2015-01-25 20:53 ` Emanuel Berg
2015-01-26 8:04 ` Peter Münster
[not found] ` <mailman.18636.1422259506.1147.info-gnus-english@gnu.org>
2015-01-26 19:35 ` Emanuel Berg
[not found] ` <mailman.18578.1422215928.1147.info-gnus-english@gnu.org>
2015-01-25 20:51 ` Emanuel Berg
2015-01-25 22:19 ` alt-tab? really? you're joking Adam Sjøgren
2015-01-26 8:15 ` Tassilo Horn
2015-01-26 10:12 ` Adam Sjøgren
[not found] ` <mailman.18642.1422267150.1147.info-gnus-english@gnu.org>
2015-01-26 19:48 ` Emanuel Berg
2015-01-27 0:15 ` Hikaru Ichijyo
2015-01-27 1:21 ` spam (was: alt-tab? really? you're joking...) incal
2015-01-27 2:51 ` spam Hikaru Ichijyo
2015-01-27 3:11 ` spam incal
2015-01-25 12:32 ` alt-tab? really? you're joking incal
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=87vbjso8ku.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=info-gnus-english@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 NNTP newsgroup(s).