From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9509 invoked from network); 23 Aug 2004 13:54:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Aug 2004 13:54:35 -0000 Received: (qmail 63991 invoked from network); 23 Aug 2004 13:54:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Aug 2004 13:54:29 -0000 Received: (qmail 10156 invoked by alias); 23 Aug 2004 13:53:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7906 Received: (qmail 10146 invoked from network); 23 Aug 2004 13:53:46 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 23 Aug 2004 13:53:46 -0000 Received: (qmail 62549 invoked from network); 23 Aug 2004 13:51:56 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 23 Aug 2004 13:51:54 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.34) id 1BzFEm-0005Gt-HN; Mon, 23 Aug 2004 15:51:52 +0200 Date: Mon, 23 Aug 2004 15:51:52 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Tip of the day: previous command output Message-ID: <20040823135152.GB7841@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20040819085812.GL22962@localhost> <20040819164250.GA21575@spiegl.de> <20040820121202.GA31466@spiegl.de> <20040820145032.GH13530@ay.vinc17.org> <20040822205801.GM7841@ay.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On 2004-08-22 18:10:57 -0700, Bart Schaefer wrote: > On Sun, 22 Aug 2004, Vincent Lefevre wrote: > > > I mean that instead of expanding to filenames, one expands > > to lines from $kept (but only those that match the pattern). > > Aha. So, akin to the case where you've provided a prefix, but > instead you've provided a pattern. Oops... I meant something like expand-or-complete, but expanding on the values of kept matching the pattern (otherwise complete). Anyway, your solution expand-kept-result just does that (no need to have both widgets). -- Vincent Lefèvre - Web: 100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17, Championnat International des Jeux Mathématiques et Logiques, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA