From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8135 invoked from network); 27 Oct 2004 18:48:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Oct 2004 18:48:00 -0000 Received: (qmail 76956 invoked from network); 27 Oct 2004 18:47:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Oct 2004 18:47:51 -0000 Received: (qmail 19252 invoked by alias); 27 Oct 2004 18:47:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8142 Received: (qmail 19237 invoked from network); 27 Oct 2004 18:47:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Oct 2004 18:47:04 -0000 Received: (qmail 75751 invoked from network); 27 Oct 2004 18:47:04 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 27 Oct 2004 18:47:03 -0000 Received: from 212.red-80-35-44.pooles.rima-tde.net ([80.35.44.212]:47434 helo=dervishd.net) by ns9.hostinglmi.net with esmtpa (Exim 4.43) id 1CMsp4-0005bE-D7 for zsh-users@sunsite.dk; Wed, 27 Oct 2004 20:47:02 +0200 Date: Wed, 27 Oct 2004 20:49:48 +0200 From: DervishD To: zsh-users@sunsite.dk Subject: Re: Yes, another completion question Message-ID: <20041027184948.GA10764@DervishD> Mail-Followup-To: zsh-users@sunsite.dk References: <20041027170851.GB10509@DervishD> <20041027174931.GB10569@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20041027174931.GB10569@DervishD> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: 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=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi Bart :) * DervishD dixit: > > I don't think there's any reason that compctl will disappear -- but it's > > unlikely to get any bugfixes or further improvements, either. > I haven't found any bug in compctl yet, although I haven't been > using it for a long time. Anyway, I've got a segfault with compadd... > surely fixed in 4.1.x and higher. I don't know if it's a bug, but no matter if I try with a function, a variable or a literal array I cannot get 'compctl -y' to work. For example: function lista () { reply=(one two three) } compctl -f -y lista ls And 'ls ' doesn't show the list. In fact, it doesn't show any list. Same result with compctl -f -y '(one two three)' ls and lista=(one two three) compctl -f -y '$lista' ls But this works: compctl -f -y '(one)' ls Shows 'one' instead of the list of completions, but nothing more :? Is this a known bug? I'm tempted with writing my own shell functions for completions and using compsys (it is maintained after all) but I'm afraid I lack the needed knowledge... Anyway. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/