From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 279 invoked by alias); 9 Apr 2016 18:28:02 -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: 38256 Received: (qmail 11944 invoked from network); 9 Apr 2016 18:27:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Originating-IP: [82.20.18.64] X-Spam: 0 X-Authority: v=2.1 cv=SOu/L7bH c=1 sm=1 tr=0 a=tQ56d2wE10i0ATcm3CvKvA==:117 a=tQ56d2wE10i0ATcm3CvKvA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=5oxxQnFLXFcsuKurPh0A:9 a=CjuIK1q_8ugA:10 Date: Sat, 9 Apr 2016 19:22:18 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: PATCH: short-circuiting glob exclusion operator Message-ID: <20160409192218.3f1d6710@ntlworld.com> In-Reply-To: <160407201830.ZM3747@torch.brasslantern.com> References: <20160321183649.4fd4d72a@pwslap01u.europe.root.pri> <160321155421.ZM27019@torch.brasslantern.com> <20160322094614.13b07bf4@pwslap01u.europe.root.pri> <160326084042.ZM12055@torch.brasslantern.com> <20160407211027.2c305cad@ntlworld.com> <160407201830.ZM3747@torch.brasslantern.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 7 Apr 2016 20:18:30 -0700 Bart Schaefer wrote: > On Apr 7, 9:10pm, Peter Stephenson wrote: > } > } It looks like it has to be Y- (or something else) > > I considered suggesting (Y/) for "short-circuit directories". That might be a good idea. > } @@ -735,13 +738,47 @@ patcompile(char *exp, int inflags, char **endexp) > } + /* > } + * The top-level ~~ is the last thing that can appear. > } + */ > > Is that comment about ~~ still meaningful? There are a few comments that need updating. pws