From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1951 invoked from network); 30 May 2000 15:39:05 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 May 2000 15:39:05 -0000 Received: (qmail 10633 invoked by alias); 30 May 2000 15:38:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11666 Received: (qmail 10626 invoked from network); 30 May 2000 15:38:53 -0000 From: "Bart Schaefer" Message-Id: <1000530153842.ZM27120@candle.brasslantern.com> Date: Tue, 30 May 2000 15:38:42 +0000 In-Reply-To: <200005300759.JAA19754@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: Calling completion function from a non-completion ZLE widget" (May 30, 9:59am) References: <200005300759.JAA19754@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: Calling completion function from a non-completion ZLE widget MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 30, 9:59am, Sven Wischnowsky wrote: } } Bart Schaefer wrote: } } > What's a reliable way to determine that the completion system is active? } > (Testing a parameter won't do it, the user could always set another of } > the same name.) } } Hm, no parameter? Even if ${(t)compstate} yields `association-local-special'? Ah, I forgot about (t). Yes, that would probably suffice. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net