From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5932 invoked by alias); 27 May 2011 05:37:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29394 Received: (qmail 21539 invoked from network); 27 May 2011 05:37:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110526223650.ZM804@torch.brasslantern.com> Date: Thu, 26 May 2011 22:36:50 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Re: Problem with fake-files style and cd" (May 27, 6:57am) References: <237967ef0902140622s7389d2c8h5a0c786dcf207422@mail.gmail.com> <200902141801.n1EI1E2l003603@pws-pc.ntlworld.com> <237967ef0902141019t30118690m30116c9413015d96@mail.gmail.com> <090214111316.ZM15188@torch.brasslantern.com> <237967ef0902141141y609b61d3i154546f6f6886c65@mail.gmail.com> <090214133904.ZM15383@torch.brasslantern.com> <20090216094632.30502fe9@news01> <237967ef0902160155m583e714fqe9bbd344420f1ce0@mail.gmail.com> <110526214110.ZM518@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers Subject: Re: Problem with fake-files style and cd MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 27, 6:57am, Mikael Magnusson wrote: } } On 27 May 2011 06:41, Bart Schaefer wrote: } > There are no full-stops in any of the other items in that list. Hmm, I'm wrong about that; other-files (which is the other place that says "used instead") has full stops both in the middle and at the end. variant has one at the end only. Not very consistent, are we. } How's this? Fine, except see below. } > More substantively, remind me what "used instead" means here? The } > word "used" is not specific enough, I guess. } } I'm not sure how this is unclear, but when cdpath is set, } local-directories is looked up, when it is unset directories is looked } up. Ok, so "used" means "looked up". But the above is true only for "cd" (and other commands handled by _cd), not by e.g. _files. And path-directories is looked up *as well*, not *instead*, though it is used before named-directories and after local-directories. The intent is that anything that would be in directories is split among local- and path- when cdpath is set. } That reminds me, one of the places that uses it is the entry for } use-perl Well, yeah, but that one is talking about perl being run in place of awk. There's only one thing "used" can possibly mean there, and anyway use-perl is a style name, not a tag name. } which says that _make uses this style, but since the rewrite } it does not. It is currently completely unused, should we remove this } paragraph? } } Currently this is only used in completions for `make', but it may be } extended depending on authorial frustration. If it's entirely unused we could remove the entire entry, or replace that paragraph with one that says the style name is reserved for use by future competion authors, or the like.