From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29147 invoked from network); 7 Aug 2001 18:03:35 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Aug 2001 18:03:35 -0000 Received: (qmail 12948 invoked by alias); 7 Aug 2001 18:03:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15595 Received: (qmail 12931 invoked from network); 7 Aug 2001 18:03:23 -0000 From: "Bart Schaefer" Message-Id: <1010807180320.ZM9799@candle.brasslantern.com> Date: Tue, 7 Aug 2001 18:03:20 +0000 In-Reply-To: <3B702A64.F7D8A448@yahoo.co.uk> Comments: In reply to Oliver Kiddle "Re: Value of $0" (Aug 7, 6:50pm) References: <1010806144633.ZM7876@candle.brasslantern.com> <3B6EB81D.B0612E7B@u.genie.co.uk> <1010807161625.ZM9619@candle.brasslantern.com> <3B702A64.F7D8A448@yahoo.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Value of $0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 7, 6:50pm, Oliver Kiddle wrote: } } > It's actually worse than that. (Emulation does setopt nocorrect, or at } > least does not setopt correct.) The special meanings of "nocorrect" and } > "noglob" should be disabled in emulation. } } ok, so emulate should disable noglob and nocorrect then. The problem there is that almost everything else done by "emulate" can be undone with "setopt". (There are a couple of exceptions, I know.) } I just noticed a silly bug in _enable which was my fault some while ago } so fix is below. } } I'll also just add `_value:DISPLAY() _x_display' in _value. Shouldn't that be _value:DISPLAY() { _x_display "$@" } just so we don't need to edit _value in case _x_display starts paying attention to its positionals? -- 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