From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: accept-and-infer-next-history in menu selection
Date: Thu, 8 Jul 1999 13:55:20 +0200 (MET DST) [thread overview]
Message-ID: <199907081155.NAA12295@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Thu, 08 Jul 1999 10:37:01 +0200
Peter Stephenson wrote:
> Peter Stephenson wrote:
> > I can't get accept-and-infer-next-history to work in menu selection at
> > all. It simply cycles round to the next match. What could I be doing
> > wrong?
>
> I've tracked it down: it's incompatible with the _oldlist key oldlist_menu,
> which says to keep the old menu. As far as I can see, it has no way of
> knowing that you really want to try a different completion at that point,
> so there's no way of using _oldlist here.
Throwing away the old list before stepping down might be a good idea
anyway...
Bye
Sven
diff -u os/Zle/complist.c Src/Zle/complist.c
--- os/Zle/complist.c Thu Jul 8 11:11:37 1999
+++ Src/Zle/complist.c Thu Jul 8 13:51:41 1999
@@ -694,6 +694,8 @@
break;
} else if (cmd == Th(z_acceptandinfernexthistory)) {
menucmp = 0;
+ fixsuffix();
+ invalidatelist();
menucomplete(zlenoargs);
if (dat->num < 2 || !minfo.cur || !*(minfo.cur)) {
noselect = 1;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-07-08 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-08 11:55 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-07-08 8:58 Sven Wischnowsky
1999-07-08 8:19 Peter Stephenson
1999-07-08 8:37 ` Peter Stephenson
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=199907081155.NAA12295@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).