From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7181 invoked from network); 6 Oct 2000 14:59:32 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Oct 2000 14:59:32 -0000 Received: (qmail 409 invoked by alias); 6 Oct 2000 14:59:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12920 Received: (qmail 345 invoked from network); 6 Oct 2000 14:59:10 -0000 From: "Bart Schaefer" Message-Id: <1001006145848.ZM25084@candle.brasslantern.com> Date: Fri, 6 Oct 2000 14:58:48 +0000 In-Reply-To: <200010061253.OAA14888@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "PATCH: Re: Standard setopts for completion system, again" (Oct 6, 2:53pm) References: <200010061253.OAA14888@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: Standard setopts for completion system, again MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 6, 2:53pm, Sven Wischnowsky wrote: } } We use nonomatch not because of globbing, but because of ~... and } =... expansion. Aha! I wonder if there shouldn't be some clarification of this in the doc (not the completion doc, the nullglob and file expansion doc -- the doc for nullglob simply says "overrides nomatch", and the doc for file expansion (as opposed to generation) doesn't mention nomatch at all). } A good question might be if we should just move the nonomatch into } _main_complete `and be done with it'. Instead of error messages we } always want strings we can handle, or don't we? I think we definitely *don't* want the functions to fail early, because we rely on being able to restore state before returning. Whether we'd rather have an unchanged string or no string at all, is another matter. } Still no decision on how to move that init code into a function or } alias. I think I'd prefer an alias since it makes it easier for } function writers. Unfortunately, we heavily recommend autoloading all completion functions with "autoload -U", which means an alias won't be expanded! -- 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