From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: accept-and-menu-complete not working with menu-select
Date: Wed, 23 Jun 1999 11:27:17 +0200 (MET DST) [thread overview]
Message-ID: <199906230927.LAA06338@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Wed, 23 Jun 1999 13:14:34 +0400
Andrej Borsenkow wrote:
> ESC-RETURN bound to accept-and-menu-complete
>
> bor@itsrm2:~/tmp/abcd%> l<TAB>
> bor@itsrm2:~/tmp/abcd%> l <TAB>
> x y z
> bor@itsrm2:~/tmp/abcd%> l x<ESC><RETURN>
> x y z
> ^ highlighted
> bor@itsrm2:~/tmp/abcd%> l x x
> x y z
> ^ highlighted
>
> This is with all current patches
You want it to go to the next match, right?
At one point in time this different behaviour was intentional, but now
that menu-select behaves more like menu-complete, it should probably
be changed, yes.
Bye
Sven
diff -u os/Zle/complist.c Src/Zle/complist.c
--- os/Zle/complist.c Wed Jun 23 11:19:07 1999
+++ Src/Zle/complist.c Wed Jun 23 11:19:52 1999
@@ -668,6 +668,9 @@
s->cs = cs;
memcpy(&(s->info), &minfo, sizeof(struct menuinfo));
acceptlast();
+ do_menucmp(0);
+ mselect = (*(minfo.cur))->gnum;
+ continue;
} else if (cmd == Th(z_undo)) {
int l;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-06-23 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-23 9:27 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-06-23 9:14 Andrej Borsenkow
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=199906230927.LAA06338@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).