From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4003 invoked from network); 28 Mar 2000 18:28:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Mar 2000 18:28:02 -0000 Received: (qmail 20239 invoked by alias); 28 Mar 2000 18:27:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10301 Received: (qmail 20222 invoked from network); 28 Mar 2000 18:27:53 -0000 From: "Bart Schaefer" Message-Id: <1000328182738.ZM23045@candle.brasslantern.com> Date: Tue, 28 Mar 2000 18:27:38 +0000 In-Reply-To: <200003281152.NAA14996@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: autoload +X[zk]" (Mar 28, 1:52pm) References: <200003281152.NAA14996@beta.informatik.hu-berlin.de> <200003281410.QAA20885@beta.informatik.hu-berlin.de> In-Reply-To: <200003281410.QAA20885@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: autoload +X[zk]" (Mar 28, 4:10pm) X-Mailer: Z-Mail (5.0.0 30July97) To: Sven Wischnowsky , zsh-workers@sunsite.auc.dk Subject: Re: autoload +X[zk] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 28, 1:52pm, Sven Wischnowsky wrote: } Subject: Re: autoload +X[zk] } } > Note also the handling of the positional parameters. For the first } > call (i.e.: when the init code from the file is executed) they are not } > set. Only for the appended function call are they set up. This is the } > behaviour the ksh I have here shows. } } Damn. That doesn't work, because the printing functions just output } `foo "$@"' for the not-really-existing call. And the [[ -o kshautoload ]] || foo "$@" trick doesn't work if we were to really emulate that ksh behavior, either, does it? } Hm. What are we supposed to do here? Handle positional parameters } differently? For now, I think the answer is: Handle positional parameters like zsh always has done for kshautoload (as you pointed out in 10298) and fix the problem of accurately emulating ksh at a later time. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com