From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26290 invoked from network); 29 Apr 2005 03:27:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Apr 2005 03:27:51 -0000 Received: (qmail 22599 invoked from network); 29 Apr 2005 03:27:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Apr 2005 03:27:44 -0000 Received: (qmail 4834 invoked by alias); 29 Apr 2005 03:27:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8768 Received: (qmail 4814 invoked from network); 29 Apr 2005 03:27:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Apr 2005 03:27:34 -0000 Received: (qmail 21539 invoked from network); 29 Apr 2005 03:27:33 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 29 Apr 2005 03:27:30 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IFO00MRXUXRESS7@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Thu, 28 Apr 2005 22:27:28 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j3T3RRqq032214; Thu, 28 Apr 2005 20:27:27 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j3T3RRYI032213; Thu, 28 Apr 2005 20:27:27 -0700 Date: Fri, 29 Apr 2005 03:27:26 +0000 From: Bart Schaefer Subject: Re: Aaaaargggghhh... :) In-reply-to: <20050428.203557.41646998.Meino.Cramer@gmx.de> To: Meino Christian Cramer , zsh-users@sunsite.dk Message-id: <1050429032726.ZM32212@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050428.203557.41646998.Meino.Cramer@gmx.de> Comments: In reply to Meino Christian Cramer "Aaaaargggghhh... :)" (Apr 28, 8:35pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 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.