GNU bug report logs - #7779
Miserable widget completion for type 'directory on w32

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 3 Jan 2011 20:54:02 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 7779 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 7779 <at> debbugs.gnu.org
Subject: Re: bug#7779: Miserable widget completion for type 'directory on w32
Date: Mon, 4 Jul 2011 00:31:47 +0200
On Sun, Jul 3, 2011 at 20:52, Juanma Barranquero <lekktu <at> gmail.com> wrote:
> On Sun, Jul 3, 2011 at 20:48, Lennart Borgman <lennart.borgman <at> gmail.com> wrote:
>
>>> It is? Can you show a test case?
>>>
>>>> - widget-complete is bound to M-TAB. This is by default bound to
>>>> Alt-Tab which is not available to applications on w32.
>>>
>>> But you can use <ESC><TAB>, like you yourself discuss in bug#8256.
>>
>> Didn't I say that you can't do that? If you use some vi emulation like Viper.
>
> Could you answer both questions, not only the second one?
>
> As for that, if M-TAB cannot be reliably used on Windows, and ESC-TAB
> cannot be used inside Viper, please propose an alternate binding for
> using inside Viper.

That might be a good suggestion, but I am not sure.

As everyone here no vi has two main states: input and command. Beside
that there are the normal Emacs key sequences states during input of
key sequences. (The clash between these states is why ESC-TAB can not
be used.)

For the "command" state the g key is unused. Using it directly would
be a waste, but a sequence beginning with g might be good.

But I am not very sure of the value of it since using it would require
switching to "command" state first. And I think you are most likely to
be in "input" mode if you want to do completion.

ESC is the only "control char" that I am using of those vi recognize
as its own. (The other are less important.)

I suggest finding a key sequence in Emacs that does not use M (Alt).
TAB by itself seems to be the favorite on EmacsWiki. Maybe use two
fast TABs for it by default. And have C-RET as backup?




This bug report was last modified 5 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.