zsh-workers
 help / color / mirror / code / Atom feed
* [rr13@os.inf.tu-dresden.de: Re: Bug#276187: zsh: Ineractive menu completion with tab doesnt work.]
@ 2004-10-14 17:21 Clint Adams
  2004-10-15  1:24 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2004-10-14 17:21 UTC (permalink / raw)
  To: zsh-workers; +Cc: rr13

Rene: You can post without subscribing as long as the tmda-like thing is
functioning properly.

----- Forwarded message from Rene Reusner <rr13@os.inf.tu-dresden.de> -----

Clint Adams(schizo@debian.org)@2004.10.12 10:58:27 +0000:
> > Then normaly, i press tab again and again, to cycle through
> > these items. But this doesnt work anymore, the shell puts some weird 
> > chars in the prompt, like ^@^@^@ and i cant use tab anymore.
> 
> I can reproduce this partially (the ^@^@^@ shows up, but tab keeps
> working).

I followed the thread on the zsh-workers mailing list, but
I not subscribed the zsh-workers mailing list, hence I mail this to you.

I tested the "fixed" zsh-cvs version. The  ^@^@^@ are gone now, but I cant
use tab anymore when in interactive mode. 
ls <tab> <tab> <tab> to cycle through the menu or ls .* <tab> <tab> don't
work.

Same config.

BTW: woody has 4.0.4 with menu completion, and in woody with 4.04 its
works fine. Sorry for this fault. The "woody" system I checked to
figure out the zsh version, had a patched zsh-4.0.7 installed.
But on every other woody system I use, is it the original uptodate
woody zsh-4.0.4 and its working fine for me.


Thanks and regards 
rene

----- End forwarded message -----


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [rr13@os.inf.tu-dresden.de: Re: Bug#276187: zsh: Ineractive menu completion with tab doesnt work.]
  2004-10-14 17:21 [rr13@os.inf.tu-dresden.de: Re: Bug#276187: zsh: Ineractive menu completion with tab doesnt work.] Clint Adams
@ 2004-10-15  1:24 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2004-10-15  1:24 UTC (permalink / raw)
  To: zsh-workers; +Cc: rr13

On Thu, 14 Oct 2004, Rene Reusner wrote:
> 
> I tested the "fixed" zsh-cvs version. The  ^@^@^@ are gone now, but I cant
> use tab anymore when in interactive mode.

Please pardon me if I'm mistaken, but I don't really think you know what
"interactive mode" is supposed to do.

I say that because you said this:

> But on every other woody system I use, is it the original uptodate
> woody zsh-4.0.4 and its working fine for me.

I repeat what I said before:  Interactive menu selection mode was never
ported to zsh-4.0.x.  In the style

	zstyle ':completion:*' menu select interactive

zsh-4.0.x entirely ignores the word "interactive" and it's exactly as if
you used

	zstyle ':completion:*' menu select

So before you complain further, I suggest you drop the word "interactive"
from your style and tell us whether zsh-4.2.x thereafter behaves as you
expect it to behave.

> ls <tab> <tab> <tab> to cycle through the menu or ls .* <tab> <tab> don't
> work.

With "interactive" in the style setting, that's not SUPPOSED to work.

		** Warning, very long example follows. **

Once the prompt

	interactive: []

has been displayed, TAB serves only to complete as much of the word as is 
unambiguous.  Chances are that after "ls <TAB>" there is no unambiguous
prefix.

E.g. I get, after one TAB ...

schaefer<502> ls
Completing files
Src/               config.h           config.modules.sh  ul*
Test/              Makefile           Etc/               Functions/
config.log         Config/            COMPS.zwc          Completion/
Doc/               config.status*     config.modules     BUILD
stamp-h            config.cache       config.h-xx        stamp-h.in

... and then after a second TAB ...

schaefer<502> ls
interactive: []
Completing files
Src/               config.h           config.modules.sh  ul*
Test/              Makefile           Etc/               Functions/
config.log         Config/            COMPS.zwc          Completion/
Doc/               config.status*     config.modules     BUILD
stamp-h            config.cache       config.h-xx        stamp-h.in

... at which point TAB does nothing until I type at least one character to
disambiguate.  So if I type "c" ...

schaefer<502> ls c
interactive: config.[]
Completing files
config.log         config.status*     config.modules.sh  config.h-xx
config.h           config.cache       config.modules

... and now when I type TAB ...

schaefer<502> ls config.
interactive: config.[]
Completing files
config.log         config.status*     config.modules.sh  config.h-xx
config.h           config.cache       config.modules

... at which point TAB again does nothing until I disambiguate further by
typing "m" ...

schaefer<502> ls config.m
interactive: config.modules[]
Completing files
config.modules.sh  config.modules

... and now do you see how this is intended to be used?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-15  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 17:21 [rr13@os.inf.tu-dresden.de: Re: Bug#276187: zsh: Ineractive menu completion with tab doesnt work.] Clint Adams
2004-10-15  1:24 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).