From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: configurability of pattern characters, part 2
Date: Mon, 3 Jun 2013 23:45:39 -0700 [thread overview]
Message-ID: <CAH+w=7b+19Rd3_sMcWzkWwdYGy8CqdHSj04uJ8RNwuE-KR+T_w@mail.gmail.com> (raw)
In-Reply-To: <20130602000911.532328c4@pws-pc.ntlworld.com>
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
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 [*].
next prev parent reply other threads:[~2013-06-04 6:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 23:29 PATCH: configurability of pattern characters, part 1 Peter Stephenson
2013-06-01 6:22 ` Bart Schaefer
2013-06-01 20:18 ` Peter Stephenson
2013-06-02 7:16 ` Bart Schaefer
2013-06-03 8:40 ` Peter Stephenson
2013-06-03 15:05 ` Bart Schaefer
2013-06-03 15:31 ` Peter Stephenson
2013-06-01 23:09 ` PATCH: configurability of pattern characters, part 2 Peter Stephenson
2013-06-04 6:45 ` Bart Schaefer [this message]
2013-06-04 8:44 ` Peter Stephenson
2013-06-04 14:50 ` Bart Schaefer
2013-06-04 15:09 ` Peter Stephenson
2013-06-09 18:06 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7b+19Rd3_sMcWzkWwdYGy8CqdHSj04uJ8RNwuE-KR+T_w@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).