From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: bug with completion (after 15 oct?)
Date: Wed, 25 Oct 2000 12:51:19 +0200 (MET DST) [thread overview]
Message-ID: <200010251051.MAA25260@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: mason@primenet.com.au's message of 25 Oct 2000 10:24:14 GMT
Geoff Wing wrote:
> ...
>
> OK, if that's what you committed, then here's the next quirk:
> (continuation from same situation as before)
>
> % ls ba<TAB><TAB><TAB><TAB><TAB>
> # gives
> % ls bar bar bar
> # when I think it should still be cycling between them. I'll have to
> # check the setopt's I gave but historically it would. Of course, it
> # doesn't coredump :-) So that's better!
Ouch. There is now a cleanup-redisplay which should only be called
conditionally. It cleared `noselect', making the following tests fail.
Bye
Sven
Index: Src/Zle/complist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/complist.c,v
retrieving revision 1.36
diff -u -r1.36 complist.c
--- Src/Zle/complist.c 2000/10/25 08:18:45 1.36
+++ Src/Zle/complist.c 2000/10/25 10:51:02
@@ -2270,7 +2270,12 @@
menucmp = 2;
showinglist = -2;
minfo.asked = 0;
- zrefresh();
+ if (!noselect) {
+ int nos = noselect;
+
+ zrefresh();
+ noselect = nos;
+ }
}
if (!noselect && (!dat || acc)) {
showinglist = -2;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-10-25 10:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-25 10:51 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-10-25 8:17 Sven Wischnowsky
2000-10-25 10:24 ` Geoff Wing
2000-10-25 7:14 Sven Wischnowsky
2000-10-25 7:49 ` Geoff Wing
2000-10-24 14:33 Geoff Wing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200010251051.MAA25260@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).