zsh-users
 help / color / mirror / code / Atom feed
* Re: menu-select in 3.1.9
@ 2000-06-15  8:14 Sven Wischnowsky
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 2000-06-15  8:14 UTC (permalink / raw)
  To: zsh-users


Andy Spiegl wrote:

> > } I just upgraded from 3.1.7-pre4 to 3.1.9 and menu-selection isn't working
> > } anymore. :-(
> > 
> > I think it's working in the release version of 3.1.9, but not in the most
> > recent CVS snapshot.
> Actually I thought I installed the release version.  Hm...
> So, it's bug, not my problem?

Yes, fixed by the patch below (workers/11890).

Bye
 Sven

Index: Src/Zle/complist.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/complist.c,v
retrieving revision 1.26
diff -u -r1.26 complist.c
--- Src/Zle/complist.c	2000/06/13 10:49:19	1.26
+++ Src/Zle/complist.c	2000/06/14 06:37:56
@@ -1493,6 +1493,8 @@
 
     amatches = dat->matches;
 
+    noselect = 0;
+
     if ((minfo.asked == 2 && mselect < 0) || nlnct >= lines) {
 	showinglist = 0;
 	amatches = oamatches;
@@ -1629,8 +1631,6 @@
     int space, lbeg = 0, step = 1, wrap, pl = nlnct, broken = 0, first = 1;
     char *s;
 
-    if (!mtab)
-	return 0;
     if (fdat || (dummy && (!(s = getsparam("MENUSELECT")) ||
 			   (dat && dat->num < atoi(s))))) {
 	if (fdat) {
@@ -1651,7 +1651,7 @@
     mhasstat = (mstatus && *mstatus);
     fdat = dat;
     selectlocalmap(mskeymap);
-    noselect = 0;
+    noselect = 1;
     while ((menuacc &&
 	    !hasbrpsfx(*(minfo.cur), minfo.prebr, minfo.postbr)) ||
 	   (((*minfo.cur)->flags & (CMF_NOLIST | CMF_MULT)) &&

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


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

* Re: menu-select in 3.1.9
  2000-06-14  2:01 ` Bart Schaefer
@ 2000-06-14 17:08   ` Andy Spiegl
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Spiegl @ 2000-06-14 17:08 UTC (permalink / raw)
  To: ZSH User List

> } I just upgraded from 3.1.7-pre4 to 3.1.9 and menu-selection isn't working
> } anymore. :-(
> 
> I think it's working in the release version of 3.1.9, but not in the most
> recent CVS snapshot.
Actually I thought I installed the release version.  Hm...
So, it's bug, not my problem?

Thanks!
 Andy.

-- 
 E-Mail: Andy@spiegl.de     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 VENI, VEDI, VISA: I came, I saw, I did a little shopping.


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

* Re: menu-select in 3.1.9
  2000-06-13 18:37 Andy Spiegl
@ 2000-06-14  2:01 ` Bart Schaefer
  2000-06-14 17:08   ` Andy Spiegl
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2000-06-14  2:01 UTC (permalink / raw)
  To: Andy Spiegl, ZSH User List

On Jun 13,  8:37pm, Andy Spiegl wrote:
} Subject: menu-select in 3.1.9
}
} Hi!
} I just upgraded from 3.1.7-pre4 to 3.1.9 and menu-selection isn't working
} anymore. :-(

I think it's working in the release version of 3.1.9, but not in the most
recent CVS snapshot.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

* menu-select in 3.1.9
@ 2000-06-13 18:37 Andy Spiegl
  2000-06-14  2:01 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Spiegl @ 2000-06-13 18:37 UTC (permalink / raw)
  To: ZSH User List

Hi!
I just upgraded from 3.1.7-pre4 to 3.1.9 and menu-selection isn't working
anymore. :-(

In my dot-files I've got: (among other lines of course)
 setopt always_last_prompt
 zmodload -i zsh/complist
 zstyle ':completion:*' menu select=5

That's what the zsh-guide says, too.
Can some kind soul please clarify what I have to change?

Thanks a lot!
 Andy.

-- 
 E-Mail: Andy@spiegl.de     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 cat /dev/boiler/water | tea | sieve > /cup
 mount -t hdev /dev/human/mouth01 /mouth ; cat /cup >/mouth/gulp


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15  8:14 menu-select in 3.1.9 Sven Wischnowsky
  -- strict thread matches above, loose matches on Subject: below --
2000-06-13 18:37 Andy Spiegl
2000-06-14  2:01 ` Bart Schaefer
2000-06-14 17:08   ` Andy Spiegl

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