From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 849 invoked by alias); 4 Jun 2013 06:46: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: 31452 Received: (qmail 27952 invoked from network); 4 Jun 2013 06:45:48 -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=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=m8YIJjD1DzqRPo7YzT4TwybfaEw8hKLF4BpWIYN+rBw=; b=kwzhXA5f1OVzRfvQI1qfBJPnZVeaI/3LypphJAFRArwqcmu2MOvz1w58FUwxOvbc/x gua/C0E/8awTNKe2CikQxwkNlNfOeelNmecaXYpp0Pi7exTSwB98bBYc9ySwXmRKCydT neTxu2ND8KrSo/N3yFtxJUXprUdwoTKfOt2QnQO4uHocLLDGL+TzjFyXuBty37dZ7BJf KXFbgRH4Mrbj1ymBiAw60vi+UrMwqhiSQM+zDq0TkKjkfCv2NX8CZPD0rc5qyMPGspgX ySuWAX6PKr7sOqD93e8YL45lUhefUkf19BGddFBbj2rpornxoaQtNywqDN4k24YdvSUK lrCw== MIME-Version: 1.0 X-Received: by 10.112.13.72 with SMTP id f8mr8546638lbc.51.1370328339356; Mon, 03 Jun 2013 23:45:39 -0700 (PDT) In-Reply-To: <20130602000911.532328c4@pws-pc.ntlworld.com> References: <20130601002954.0e30d7b9@pws-pc.ntlworld.com> <130531232223.ZM13592@torch.brasslantern.com> <20130602000911.532328c4@pws-pc.ntlworld.com> Date: Mon, 3 Jun 2013 23:45:39 -0700 Message-ID: Subject: Re: PATCH: configurability of pattern characters, part 2 From: Bart Schaefer To: Zsh hackers list Content-Type: multipart/alternative; boundary=001a11c3ee6ae4ae4b04de4e6df4 X-Gm-Message-State: ALoCoQm5Xrz0DYwZr0RKfx4POvwiIYx8l48AhYfXOW6J+VPQ0zb0zYxsQmh5Tzo1sk0mippyt1qb --001a11c3ee6ae4ae4b04de4e6df4 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 1, 2013 at 4:09 PM, Peter Stephenson < p.w.stephenson@ntlworld.com> wrote: > Here's the basic disable -p / enable -p and emulation behaviour to be > exposed to public view before the rest. > > Up to now, this has only had finger tests of some of the simpler forms, > so there could well be bugs lurking in the disabling of certain > patterns. > > If somebody can spot some effect I haven't documented, please shout. > Fiddling with this, the very first thing I tried gave me an unexpected result. schaefer<502> print * aclocal.m4 aczsh.m4 autom4te.cache ChangeLog Completion Config config.guess config.h config.h.in config.log config.modules config.modules.shconfig.status config.sub configure configure.ac Doc Etc FEATURES Functions INSTALL install-sh LICENCE MACHINES Makefile Makefile.in META-FAQ Misc mkinstalldirs NEWS README Scripts Src stamp-h stamp-h.in StartupFiles Test Util schaefer<503> disable -p \* schaefer<504> print * zsh: no match schaefer<505> I was rather expecting to get a * as output rather than a no match error. It seems very odd to have a pattern that can't possibly match anything but that is still treated as a pattern; this did not really disable *, it just turned it into the equivalent of [*]. --001a11c3ee6ae4ae4b04de4e6df4--