Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: autoparamkeys broken in 3.1.1



Zefram wrote:
> I have neither the time nor facilities here to fix this properly, but
> at a wild guess, try putting
> 
> 	else if(complexpect)
> 	    addedsuffix = 1;
> 
> on the end of the new version of the conditional.

That certainly fixes the problem I was on about.  I didn't see any
menu problems with parameters appearing, but I'm not sure how to
reproduce those.  Here's that as a patch on top of the previous one.

*** Src/Zle/zle_tricky.c.apk	Mon Feb 10 13:34:40 1997
--- Src/Zle/zle_tricky.c	Mon Feb 10 17:23:31 1997
***************
*** 3310,3315 ****
--- 3310,3317 ----
  		insc = 1;
  		if (singlec != ' ')
  		    addedsuffix = menuinsc = 1;
+ 		else if (complexpect)
+ 		    addedsuffix = 1;
  		inscs = cs;
  		if (!menuwe)
  		    cs = ccs;

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



Messages sorted by: Reverse Date, Date, Thread, Author