From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1935 invoked from network); 27 Oct 2000 15:36:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Oct 2000 15:36:04 -0000 Received: (qmail 25255 invoked by alias); 27 Oct 2000 15:35:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13094 Received: (qmail 25248 invoked from network); 27 Oct 2000 15:35:58 -0000 From: "Bart Schaefer" Message-Id: <1001027153553.ZM15358@candle.brasslantern.com> Date: Fri, 27 Oct 2000 15:35:52 +0000 In-Reply-To: <200010260836.KAA02256@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: [bug?] named directory tex and compinit" (Oct 26, 10:36am) References: <200010260836.KAA02256@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Assignments to nameddirs[] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 26, 10:36am, Sven Wischnowsky wrote: } } Bart Schaefer wrote: } } > The parameter module "knows" that named directories must begin } > with a slash character, and normally doesn't let you assign such values. } > This can lead to some oddities like not being able to assign the value of } > a parameter to itself: } } Hm. Should we change that? Possibly so. } I don't know why I added that test anymore. Maybe I somehow had the } impression that hash does the same? Hm. It's probably because such a test is used to decide whether a reference to a parameter with ~paramname will cause an entry to be made in the nameddir table. But assignment to the nameddirs special hash is more like using the "hash" command than it is like using ~paramname. -- 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