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

Re: Aaaaargggghhh... :)



From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
Subject: Re: Aaaaargggghhh... :)
Date: Fri, 29 Apr 2005 03:27:26 +0000

Hi Bart,

 thank you very much for your helpful mail !

 I will re-read the article ... for me it was not always clear whether 
 a new line of script code would replace a previous one or would be
 added (English isn't my mother's tongue...)

 Or I will do "reengineering my English": I will download the cvs
 version of the keeper-function and with that knowledge I will reread
 the article :)

 Have a nice weekend!
 Meino


> On Apr 28,  8:35pm, Meino Christian Cramer wrote:
> > 
> >  am I totally .... ?
> 
> The whole keeper function suite is in the development version of zsh,
> available from CVS on sourceforge:  Functions/Zle/keeper
> 
> You need at least zsh-4.2.2 to run that edition of the suite, as it
> has been updated to use the "always" syntax.
> 
> >    No such widget `_expand-kept-result'
> >  or 
> >    No such widget `_expand-kept-result
> 
> (I presume one of those is supposed to mention "insert".)
> 
> >  What is the bug in my implementation of that keeper funtionality?
> 
> You're missing a couple of "zle -C" commands; go back and look at the
> article again.  There should be a total of three "zle -C" commands in
> the final script, but you've only included one of them.
> 
> Also ...
> 
> >  Here is my script:
> > 
> > function keep {
> [...]
> > }
> > # ......................................................................
> > alias keep='noglob keep'
> > #......................................................................
> > function keep {
> [...]
> > }
> 
> You don't need to define the "keep" function twice.
> 



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