From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id VAA17277 for ; Wed, 2 Oct 1996 21:08:22 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id GAA16516; Wed, 2 Oct 1996 06:56:02 -0400 (EDT) Resent-Date: Wed, 2 Oct 1996 06:56:02 -0400 (EDT) Message-Id: <199610021055.MAA21971@sgi.ifh.de> X-Authentication-Warning: sgi.ifh.de: Host pws@localhost didn't use HELO protocol To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: zsh3.0.0 bug: aliases in if-statement In-reply-to: ""Bart Schaefer""'s message of "Tue, 01 Oct 1996 17:34:20 MET." <961001173420.ZM24672@candle.brasslantern.com> Date: Wed, 02 Oct 1996 12:55:41 +0200 From: Peter Stephenson Resent-Message-ID: <"kM5472.0.-14.2faKo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2186 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" wrote: > IMHO, alias expansion has always happened too soon in zsh, but it greatly > complicates matters to go around reshaping syntax trees at execution time. Not just too soon, I've often thought, but too much. I don't like the following at all. % which ls ls: aliased to ls -F % foo() { command ls } % which foo foo () { command ls -F } -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.