zsh-workers
 help / color / mirror / code / Atom feed
* undo in menu selection broken
@ 2000-06-27 14:50 Andrej Borsenkow
  0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2000-06-27 14:50 UTC (permalink / raw)
  To: ZSH workers mailing list

It is probably the result of recent patch and hence partially my fault.
undo'ing after accept-and-infer-next-history does not goes up but rather
deletes one character on the line.

bor@itsrm2% cd ./AIX/
Completing directory
AIX/       Bsd/       CVS/       Core/      Linux/     X/
Base/      Builtins/  Commands/  Debian/    User/
bor@itsrm2% cd ./AIX/ (after a-a-i-n-h)
bor@itsrm2% cd .AIX/  (after undo)

I have menucomplete set; else

bor@itsrm2% zstyle -L
zstyle ':completion:*' completer _oldlist _complete _match
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the
character to insert%s'
zstyle ':completion:*' match-original both
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-z}={A-Z}
r:|[._-]=* r:|=*' 'm:{a-z}={A-Z} r:|[.-]=** r:|=**'
zstyle ':completion:*' menu 'select=long-list' 'select=0'
zstyle ':completion:*' old-list _match
zstyle ':completion:*' verbose true
zstyle :compinstall filename /home/bor/.zcompletion
zstyle ':completion:*:*:configure:*' tag-order 'options:-with:with\
options options:-other:other\ options' 'options:-without:without\
options'
zstyle ':completion:*:options-with' ignored-patterns '^--with-*'
zstyle ':completion:*:options-without' ignored-patterns '^--without-*'
zstyle ':completion:*:options-other' ignored-patterns '--with(|out)-*'
bor@itsrm2%

-andrej

Have a nice DOS!
B >>


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

* Re: undo in menu selection broken
@ 2000-06-27 15:18 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-06-27 15:18 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> It is probably the result of recent patch and hence partially my fault.
> undo'ing after accept-and-infer-next-history does not goes up but rather
> deletes one character on the line.
> 
> bor@itsrm2% cd ./AIX/
> Completing directory
> AIX/       Bsd/       CVS/       Core/      Linux/     X/
> Base/      Builtins/  Commands/  Debian/    User/
> bor@itsrm2% cd ./AIX/ (after a-a-i-n-h)
> bor@itsrm2% cd .AIX/  (after undo)

The problem is something I asked some time ago: a-a-i-n-h has problems 
when the completion it tries generates only one or two matches. In
this case there is only one (CVS), so instead of accepting that it
leaves menu-selection and the undo then removes the slash. Probably
some messed up undo state, I'll have a look. But the real problem with 
this is the a-a-i-n-h behaviour. What should it do when there are no
matches or only one? I would definitely prefer it if it didn't leave
menu selection. For one match this would show that match, quite
reasonably, but when there are no matches? Ideas, anyone?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~2000-06-27 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-27 14:50 undo in menu selection broken Andrej Borsenkow
2000-06-27 15:18 Sven Wischnowsky

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