From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23346 invoked by alias); 11 Dec 2011 02:23:03 -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: 29996 Received: (qmail 2505 invoked from network); 11 Dec 2011 02:22:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 128.2.11.61 is neither permitted nor denied by SPF record at _spf.google.com) Date: Sat, 10 Dec 2011 21:22:40 -0500 From: gi1242+zsh@gmail.com To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: Documentation error Message-ID: <20111211022240.GA16030@andrew.cmu.edu> Mail-Followup-To: gi1242+zsh@gmail.com, Peter Stephenson , zsh-workers@zsh.org References: <20111210170956.GD8394@andrew.cmu.edu> <20111210174408.GE8394@andrew.cmu.edu> <20111210182912.3403de1b@pws-pc.ntlworld.com> <20111210192647.21ca03f6@pws-pc.ntlworld.com> <20111210201350.2941daf3@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111210201350.2941daf3@pws-pc.ntlworld.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.18.170322 X-SMTP-Spam-Clean: 34% ( RDNS_SUSP_FORGED_FROM 3.5, FORGED_FROM_GMAIL 0.1, LEO_OBFU_SUBJ_RE 0.1, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, NO_REAL_NAME 0, RDNS_BROADBAND 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CD 0, __CT 0, __CT_TEXT_PLAIN 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_BROADBAND_5 0, __RDNS_POOLED_11 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0, __TO_MALFORMED_2 0, __USER_AGENT 0) X-SMTP-Spam-Score: 34% X-Scanned-By: MIMEDefang 2.60 on 128.2.11.61 On Sat, Dec 10, 2011 at 08:13:50PM +0000, Peter Stephenson wrote: >> (There could be perfectly well be a "d" modifier, too, to avoid suprises, >> however. I seem to remember it's caught me in the past.) > > Can't see any harm; there's no clash with other syntax, since at least > the number is mandatory. Great! I first tried replacing mw+1 with md+7, got caught and removed the d. Accepting a "d" modifier reduces surprise. About the completion documentation, what was the verdict? If you just change oldp=( "$1"(Nmw+1) ) to oldp=( "$1"(Nmw+0) ) in the zshcompsys man page (in the cache_invalid example), it will surprise novices much less. Not the end of the world if you don't change it though... Best, GI -- TEN SURE SIGNS THE RECESSION HAS HIT REALLY HARD 5. McDonald's is selling the 1/4 ouncer.