* M-Tab on w32 (and other window systems?)
@ 2005-02-14 23:56 Lennart Borgman
2005-02-15 0:49 ` David Kastrup
` (3 more replies)
0 siblings, 4 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-14 23:56 UTC (permalink / raw)
The citation below is from nxml-mode.info. Is this something that should be
adopted generally in Emacs?
"The traditional GNU Emacs key combination for completion in a buffer
is `M-<TAB>'. However, many window systems and window managers use this
key combination themselves (typically for switching between windows)
and do not pass it to applications. It's hard to find key combinations
in GNU Emacs that are both easy to type and not taken by something
else. `C-<RET>' (i.e. pressing the Enter or Return key, while the
Ctrl key is held down) is available. It won't be available on a
traditional terminal (because it is indistinguishable from Return), but
it will work with a window system. Therefore we adopt the following
solution by default: use `C-<RET>' when there's a window system and
`M-<TAB>' when there's not. In the following, I will assume that a
window system is being used and will therefore refer to `C-<RET>'."
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-14 23:56 M-Tab on w32 (and other window systems?) Lennart Borgman
@ 2005-02-15 0:49 ` David Kastrup
2005-02-15 16:36 ` Drew Adams
2005-02-15 1:15 ` Miles Bader
` (2 subsequent siblings)
3 siblings, 1 reply; 17+ messages in thread
From: David Kastrup @ 2005-02-15 0:49 UTC (permalink / raw)
Cc: Emacs Devel
"Lennart Borgman" <lennart.borgman.073@student.lu.se> writes:
> The citation below is from nxml-mode.info. Is this something that should be
> adopted generally in Emacs?
>
> "The traditional GNU Emacs key combination for completion in a buffer
> is `M-<TAB>'. However, many window systems and window managers use this
> key combination themselves (typically for switching between windows)
> and do not pass it to applications. It's hard to find key combinations
> in GNU Emacs that are both easy to type and not taken by something
> else. `C-<RET>' (i.e. pressing the Enter or Return key, while the
> Ctrl key is held down) is available. It won't be available on a
> traditional terminal (because it is indistinguishable from Return), but
> it will work with a window system. Therefore we adopt the following
> solution by default: use `C-<RET>' when there's a window system and
> `M-<TAB>' when there's not. In the following, I will assume that a
> window system is being used and will therefore refer to `C-<RET>'."
C-RET is taken by modes already. I find that Esc and TAB keys are
close enough to make typing Esc TAB a simple enough operation. Even
though I am at the moment using Blackbox which does not intercept
M-TAB at all. But I am used to Esc TAB, and don't find it hard to
reach.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-14 23:56 M-Tab on w32 (and other window systems?) Lennart Borgman
2005-02-15 0:49 ` David Kastrup
@ 2005-02-15 1:15 ` Miles Bader
2005-02-15 7:14 ` Lennart Borgman
2005-02-15 5:50 ` It's me FKtPp ;)
2005-02-16 9:32 ` Richard Stallman
3 siblings, 1 reply; 17+ messages in thread
From: Miles Bader @ 2005-02-15 1:15 UTC (permalink / raw)
Cc: Emacs Devel
On Tue, 15 Feb 2005 00:56:12 +0100, Lennart Borgman
<lennart.borgman.073@student.lu.se> wrote:
> "The traditional GNU Emacs key combination for completion in a buffer
> is `M-<TAB>'. However, many window systems and window managers use this
> key combination themselves (typically for switching between windows)
> and do not pass it to applications.
Note that this can also be typed using `ESC TAB', which is pretty
convenient (the ESC and TAB keys are almost next to one another).
Maybe people with typical modern keyboards with the ESC key off in an
obscure location might like some other combination better -- but such
keyboards usually _also_ have the control key in some bizarro obscure
location too, so I'm not sure that C-RET is much better...
[BTW who's fault is that anyway? I seem to recall it was some ISO
keyboard standard in the '80s that started all this keyboard-from-hell
crap...]
-Miles
--
Do not taunt Happy Fun Ball.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-14 23:56 M-Tab on w32 (and other window systems?) Lennart Borgman
2005-02-15 0:49 ` David Kastrup
2005-02-15 1:15 ` Miles Bader
@ 2005-02-15 5:50 ` It's me FKtPp ;)
2005-02-16 9:32 ` Richard Stallman
3 siblings, 0 replies; 17+ messages in thread
From: It's me FKtPp ;) @ 2005-02-15 5:50 UTC (permalink / raw)
"Lennart Borgman" <lennart.borgman.073@student.lu.se> writes:
> The citation below is from nxml-mode.info. Is this something that should be
> adopted generally in Emacs?
>
> "The traditional GNU Emacs key combination for completion in a buffer
> is `M-<TAB>'. However, many window systems and window managers use this
> key combination themselves (typically for switching between windows)
> and do not pass it to applications. It's hard to find key combinations
> in GNU Emacs that are both easy to type and not taken by something
> else.
I think C-M-i does this.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 1:15 ` Miles Bader
@ 2005-02-15 7:14 ` Lennart Borgman
2005-02-15 12:02 ` Johan Bockgård
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-15 7:14 UTC (permalink / raw)
Cc: Emacs Devel
----- Original Message -----
From: "Miles Bader" <snogglethorpe@gmail.com>
> Note that this can also be typed using `ESC TAB', which is pretty
> convenient (the ESC and TAB keys are almost next to one another).
Unfortunately this does not work with viper-mode. Another problem is that
the manuals only mentions Alt-Tab. That is no good for beginners.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 7:14 ` Lennart Borgman
@ 2005-02-15 12:02 ` Johan Bockgård
2005-02-15 13:02 ` Lennart Borgman
2005-02-15 12:28 ` James Cloos
2005-02-16 9:32 ` Richard Stallman
2 siblings, 1 reply; 17+ messages in thread
From: Johan Bockgård @ 2005-02-15 12:02 UTC (permalink / raw)
"Lennart Borgman" <lennart.borgman.073@student.lu.se> writes:
> From: "Miles Bader" <snogglethorpe@gmail.com>
>
>> Note that this can also be typed using `ESC TAB', which is pretty
>> convenient (the ESC and TAB keys are almost next to one another).
>
> Unfortunately this does not work with viper-mode. Another problem is
> that the manuals only mentions Alt-Tab. That is no good for
> beginners.
Why didn't anyone mention `C-M-i'? I find it quite comfortable, and
it's what i normally use.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 7:14 ` Lennart Borgman
2005-02-15 12:02 ` Johan Bockgård
@ 2005-02-15 12:28 ` James Cloos
2005-02-16 9:32 ` Richard Stallman
2 siblings, 0 replies; 17+ messages in thread
From: James Cloos @ 2005-02-15 12:28 UTC (permalink / raw)
>>>>> "Miles" == Miles Bader <snogglethorpe@gmail.com> writes:
>>>>> "Lennart" == Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
Miles> Note that this can also be typed using `ESC TAB', which is pretty
Miles> convenient (the ESC and TAB keys are almost next to one another).
Lennart> Unfortunately this does not work with viper-mode.
I also just noticed that if you are too slow to hit TAB after ESC --
ie if you wait for the string ESC to show up in the minibuffer -- you
get an out of range error in some cases:
Debugger entered--Lisp error: (args-out-of-range "ESC tab" 0 22)
call-interactively(describe-key-briefly)
OTOH, when using the key rather than getting its current binding the
out of range does not occur.
I'm running:
GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.2) of 2005-02-14 on lugabout
via gentoo's emacs-cvs ebuild, grabbed and compiled Sunday night.
-JimC
--
James H. Cloos, Jr. <cloos@jhcloos.com>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 12:02 ` Johan Bockgård
@ 2005-02-15 13:02 ` Lennart Borgman
2005-02-15 14:36 ` Reiner Steib
2005-02-16 9:32 ` Richard Stallman
0 siblings, 2 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-15 13:02 UTC (permalink / raw)
----- Original Message -----
From: "Johan Bockgård" <bojohan+news@dd.chalmers.se>
> "Lennart Borgman" <lennart.borgman.073@student.lu.se> writes:
>
> > From: "Miles Bader" <snogglethorpe@gmail.com>
> >
> >> Note that this can also be typed using `ESC TAB', which is pretty
> >> convenient (the ESC and TAB keys are almost next to one another).
> >
> > Unfortunately this does not work with viper-mode. Another problem is
> > that the manuals only mentions Alt-Tab. That is no good for
> > beginners.
>
> Why didn't anyone mention `C-M-i'? I find it quite comfortable, and
> it's what i normally use.
Thanks, that is very useful! However there was another point in my original
message: Info only mention Alt-Tab. To me this seems ignorant since on w32
at least Alt-Tab can not be used at all. I would appreciate if this was
changed.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 13:02 ` Lennart Borgman
@ 2005-02-15 14:36 ` Reiner Steib
2005-02-15 15:28 ` Lennart Borgman
2005-02-16 9:32 ` Richard Stallman
1 sibling, 1 reply; 17+ messages in thread
From: Reiner Steib @ 2005-02-15 14:36 UTC (permalink / raw)
On Tue, Feb 15 2005, Lennart Borgman wrote:
> Thanks, that is very useful! However there was another point in my original
> message: Info only mention Alt-Tab.
Could you be more specific? Most Emacs info nodes use `M-<TAB>' [1]
and the tutorial explains that you can use ESC instead of M- (Meta):
,----[ C-h t ]
| M-<chr> means hold the META or EDIT or ALT key down while typing <chr>.
| If there is no META, EDIT or ALT key, instead press and release the
| ESC key and then type <chr>. We write <ESC> for the ESC key.
`----
> To me this seems ignorant since on w32 at least Alt-Tab can not be
> used at all. I would appreciate if this was changed.
I don't think this problem is specific to windows. Probably there are
a lot of Window managers for X11 that bind M-TAB by default.
Bye, Reiner.
[1] C-h i d m Emacs RET i M-TAB RET , , ,
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 14:36 ` Reiner Steib
@ 2005-02-15 15:28 ` Lennart Borgman
0 siblings, 0 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-15 15:28 UTC (permalink / raw)
----- Original Message -----
From: "Reiner Steib" <reinersteib+gmane@imap.cc>
> Could you be more specific? Most Emacs info nodes use `M-<TAB>' [1]
> and the tutorial explains that you can use ESC instead of M- (Meta):
...
> I don't think this problem is specific to windows. Probably there are
> a lot of Window managers for X11 that bind M-TAB by default.
Thanks for the info, I was not sure!
What I meant is that since Alt-Tab (or M-<TAB>) is used by window managers
it is unfortunate that Info mention Alt-Tab for completion. It would be much
more useful if it mentioned M-C-i. (Or Esc-Tab, but that does not work with
viper-mode so it is a bit less useful. I would not be using Emacs without
viper-mode I guess.)
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: M-Tab on w32 (and other window systems?)
2005-02-15 0:49 ` David Kastrup
@ 2005-02-15 16:36 ` Drew Adams
0 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2005-02-15 16:36 UTC (permalink / raw)
Cc: Emacs Devel
I find that Esc and TAB keys are
close enough to make typing Esc TAB a simple enough operation.
...I am used to Esc TAB, and don't find it hard to reach.
ESC TAB is `complete-symbol'.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 7:14 ` Lennart Borgman
2005-02-15 12:02 ` Johan Bockgård
2005-02-15 12:28 ` James Cloos
@ 2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:10 ` Lennart Borgman
2 siblings, 1 reply; 17+ messages in thread
From: Richard Stallman @ 2005-02-16 9:32 UTC (permalink / raw)
Cc: snogglethorpe, emacs-devel, miles
> Note that this can also be typed using `ESC TAB', which is pretty
> convenient (the ESC and TAB keys are almost next to one another).
Unfortunately this does not work with viper-mode.
Emulators are not important enough to be the basis for decisions about
standard Emacs commands. We choose them for the sake of ordinary
Emacs usage. Emulators have to adapt to that.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-15 13:02 ` Lennart Borgman
2005-02-15 14:36 ` Reiner Steib
@ 2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:13 ` Lennart Borgman
1 sibling, 1 reply; 17+ messages in thread
From: Richard Stallman @ 2005-02-16 9:32 UTC (permalink / raw)
Cc: emacs-devel, bojohan+news
Thanks, that is very useful! However there was another point in my original
message: Info only mention Alt-Tab. To me this seems ignorant since on w32
at least Alt-Tab can not be used at all.
Do you mean ESC TAB? If so, why doesn't that work on W32?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-14 23:56 M-Tab on w32 (and other window systems?) Lennart Borgman
` (2 preceding siblings ...)
2005-02-15 5:50 ` It's me FKtPp ;)
@ 2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:23 ` Lennart Borgman
3 siblings, 1 reply; 17+ messages in thread
From: Richard Stallman @ 2005-02-16 9:32 UTC (permalink / raw)
Cc: emacs-devel
There is no logical connection between C-RET and M-TAB,
so I don't like making an alias. I'd rather recommend ESC TAB.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-16 9:32 ` Richard Stallman
@ 2005-02-16 13:10 ` Lennart Borgman
0 siblings, 0 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-16 13:10 UTC (permalink / raw)
Cc: snogglethorpe, emacs-devel, miles
----- Original Message -----
From: "Richard Stallman" <rms@gnu.org>
> Unfortunately this does not work with viper-mode.
>
> Emulators are not important enough to be the basis for decisions about
> standard Emacs commands. We choose them for the sake of ordinary
> Emacs usage. Emulators have to adapt to that.
While I in principle agree I believe that some are really more important
than others and must be considered because of the (potential) user base. We
of course want more users.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-16 9:32 ` Richard Stallman
@ 2005-02-16 13:13 ` Lennart Borgman
0 siblings, 0 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-16 13:13 UTC (permalink / raw)
Cc: emacs-devel, bojohan+news
----- Original Message -----
From: "Richard Stallman" <rms@gnu.org>
> Thanks, that is very useful! However there was another point in my
original
> message: Info only mention Alt-Tab. To me this seems ignorant since on
w32
> at least Alt-Tab can not be used at all.
>
> Do you mean ESC TAB? If so, why doesn't that work on W32?
On w32 the Alt key is used for META in Emacs. However the combination
Alt-Tab (as it is usually called on w32) can not be used in Emacs on w32
since the window manager takes it. (This seems to be the case for some
window managers on *nix like OS:es too.)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: M-Tab on w32 (and other window systems?)
2005-02-16 9:32 ` Richard Stallman
@ 2005-02-16 13:23 ` Lennart Borgman
0 siblings, 0 replies; 17+ messages in thread
From: Lennart Borgman @ 2005-02-16 13:23 UTC (permalink / raw)
Cc: emacs-devel
----- Original Message -----
From: "Richard Stallman" <rms@gnu.org>
> There is no logical connection between C-RET and M-TAB,
> so I don't like making an alias. I'd rather recommend ESC TAB.
It is much better (but there is the problem with viper-mode).
C-M-i seems to be mapped to M-TAB, I guess because C-i is mapped to TAB. (I
guess you can distinguish between them on a window system.) That is very
useful too, but kind of hidden. Maybe that could be pointed out somehow?
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2005-02-16 13:23 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 23:56 M-Tab on w32 (and other window systems?) Lennart Borgman
2005-02-15 0:49 ` David Kastrup
2005-02-15 16:36 ` Drew Adams
2005-02-15 1:15 ` Miles Bader
2005-02-15 7:14 ` Lennart Borgman
2005-02-15 12:02 ` Johan Bockgård
2005-02-15 13:02 ` Lennart Borgman
2005-02-15 14:36 ` Reiner Steib
2005-02-15 15:28 ` Lennart Borgman
2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:13 ` Lennart Borgman
2005-02-15 12:28 ` James Cloos
2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:10 ` Lennart Borgman
2005-02-15 5:50 ` It's me FKtPp ;)
2005-02-16 9:32 ` Richard Stallman
2005-02-16 13:23 ` Lennart Borgman
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.