* PATCH: Re: wrong cursor placement with matchers
@ 2000-05-08 9:27 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-05-08 9:27 UTC (permalink / raw)
To: zsh-workers
Andrej Borsenkow wrote:
> bor@itsrm2% vi c.s<TAB>
> bor@itsrm2% vi c.s<CURSOR HERE>
> Completing file
> config.status* cvs.spec
Well, `wrong' is probably the wrong word, since one *can* disambiguate
between the matches at that position.
But you want the cursor on the dot, right? And I can agree that it
should be there... (bigger difference between `config' and `cvs' then
between `status' and `spec').
Bye
Sven
P.S.: Thanks to Peter's NEWs file I saw that wischnow@zsh.org
works. Cool. When did that happen?
Index: Src/Zle/compmatch.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compmatch.c,v
retrieving revision 1.10
diff -u -r1.10 compmatch.c
--- Src/Zle/compmatch.c 2000/04/28 12:42:25 1.10
+++ Src/Zle/compmatch.c 2000/05/08 09:26:53
@@ -211,9 +211,9 @@
cline_setlens(Cline l, int both)
{
while (l) {
- l->max = cline_sublen(l);
+ l->min = cline_sublen(l);
if (both)
- l->min = l->max;
+ l->max = l->min;
l = l->next;
}
}
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-08 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-08 9:27 PATCH: Re: wrong cursor placement with matchers 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).