From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15492 invoked by alias); 9 Nov 2017 04:17:00 -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: List-Unsubscribe: X-Seq: 41997 Received: (qmail 15996 invoked by uid 1010); 9 Nov 2017 04:17:00 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-mqugw.biglobe.ne.jp by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(133.208.100.4):SA:0(-2.6/5.0):. Processed in 1.262882 secs); 09 Nov 2017 04:17:00 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD,SPF_PASS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: PATCH: correctly breaking out of tag loops Date: Thu, 9 Nov 2017 12:36:29 +0900 References: <13362.1509570073@thecus.kiddle.eu> To: zsh-workers@zsh.org In-Reply-To: <13362.1509570073@thecus.kiddle.eu> Message-Id: X-Mailer: Apple Mail (2.3273) X-Biglobe-Spnum: 49767 > 2017/11/02 6:01, Oliver Kiddle wrote: >=20 > . _make also uses compadd -Q for targets which I can't > quite believe is correct but I'm not going to touch that. I don=E2=80=99t remember exactly why I added -Q, but probably I wanted = to take care of the following cases: GNU make allows glob chars * ? and [..,] to appear even in targets (although I don=E2=80=99t understand when such targets are useful). For example, ch[1-4].pdf: deps ... recipe For this kind of targets, make does globbing by itself, so what this = target means depends on which of ch[1-4].pdf you already have. On the following command line zsh% make ch[1-4].pdf zsh also need to expand ch[1-4].pdf to the list of files. If you quote = it zsh% make ch\[1-4\].pdf then you will get "No rule to make target `c[1-4].dat=E2=80=99.=E2=80=9D = (if you have at least one of ch[1-4].pdf).