From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7486 invoked by alias); 12 Dec 2010 22:56:20 -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: 28522 Received: (qmail 25264 invoked from network); 12 Dec 2010 22:56:17 -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 autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.58 as permitted sender) Date: Sun, 12 Dec 2010 22:45:23 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Another ${(z)param} buglet Message-ID: <20101212224523.423399db@pws-pc.ntlworld.com> In-Reply-To: <20101209201913.43a94f54@pws-pc.ntlworld.com> References: <101207203441.ZM4340@torch.brasslantern.com> <20101208175103.40d6cc29@pwslap01u.europe.root.pri> <101209074233.ZM8003@torch.brasslantern.com> <20101209181632.27d47e95@pwslap01u.europe.root.pri> <20101209201913.43a94f54@pws-pc.ntlworld.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=X0sWjjQ37bMP4yB/pNNinY3VxVB2n/hmdAjhihaCFGs= c=1 sm=0 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=4UtWO5riAAAA:8 a=XSWb3yNzZdaFZfqshoMA:9 a=pSBJY9t7H7uTazAYzNhCmh34nqUA:4 a=CjuIK1q_8ugA:10 a=_dQi-Dcv4p4A:10 a=Shd8Sdw-9eQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 On Thu, 9 Dec 2010 20:19:13 +0000 Peter Stephenson wrote: > On Thu, 9 Dec 2010 18:16:32 +0000 > Peter Stephenson wrote: > > The best I can think of is extending the syntax to append options, a bit > > like (q) can have the q multiple or a - added, but maybe less gross > > e.g. explicit option flags like z+c+ to turn on comment handling (and > > possibly z+C+ to strip comments). '+' appears not to be taken so would > > work without complications and there's a mnemonic that there's more to > > come (compared with "(q-)"). > > Here it is implemented and tested, so you can tell me it's not good > enough. As there were no further comments (funny, that...) I've committed it. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/