zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: short-circuiting glob exclusion operator
Date: Sat, 9 Apr 2016 21:00:36 +0200	[thread overview]
Message-ID: <CAHYJk3QzmTj_kWZ+L7MDCnW+=Bmfw6UejROKkWoRjNyWyaLW+Q@mail.gmail.com> (raw)
In-Reply-To: <20160409192218.3f1d6710@ntlworld.com>

On Sat, Apr 9, 2016 at 8:22 PM, Peter Stephenson
<p.w.stephenson@ntlworld.com> wrote:
> On Thu, 7 Apr 2016 20:18:30 -0700
> Bart Schaefer <schaefer@brasslantern.com> wrote:
>> On Apr 7,  9:10pm, Peter Stephenson wrote:
>> }
>> } It looks like it has to be Y- (or something else)
>>
>> I considered suggesting (Y/) for "short-circuit directories".
>
> That might be a good idea.

The only argument against this syntax (and I'm not saying it's a
strong argument) is that you have to choose between being able to
shortcircuit a subtree, or excluding a particular match that happens
to be a directory (while still including children of that directory).
Unless like before this only applies to the final ~ pattern in the,
er, pattern?

-- 
Mikael Magnusson


  reply	other threads:[~2016-04-09 19:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21 18:36 Peter Stephenson
2016-03-21 20:39 ` Mikael Magnusson
2016-03-21 22:54 ` Bart Schaefer
2016-03-22  9:46   ` Peter Stephenson
2016-03-22 11:46     ` Jesper Nygårds
2016-03-23  9:56       ` Peter Stephenson
2016-03-26 15:40     ` Bart Schaefer
2016-04-07 20:10       ` Peter Stephenson
2016-04-08  3:18         ` Bart Schaefer
2016-04-09 18:22           ` Peter Stephenson
2016-04-09 19:00             ` Mikael Magnusson [this message]
2016-04-09 19:51               ` Peter Stephenson
2016-04-10  5:40                 ` Bart Schaefer
2016-04-10 12:11                   ` 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='CAHYJk3QzmTj_kWZ+L7MDCnW+=Bmfw6UejROKkWoRjNyWyaLW+Q@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=p.w.stephenson@ntlworld.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).