zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Daniel Shahaf <d.s@daniel.shahaf.name>,
	Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: zstyle: "more specific" patterns and *-components
Date: Mon, 27 Apr 2020 19:38:01 +0200	[thread overview]
Message-ID: <CAHYJk3QXhdG+yjOCiLnABkXnu09Q3wN_B3ThaHWVoXkk3r9igg@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMpWqnb+uVjXdPa9E+c4kLMPt4z0gaScPeYthHuA1m4EMg@mail.gmail.com>

On 4/27/20, Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
> On Mon, Apr 27, 2020 at 12:15 PM Daniel Shahaf <d.s@daniel.shahaf.name>
> wrote:
>>
>> WDYT?
>
> My reading of the documentation matches yours, so I also expected the
> behavior you expected (which isn't the actual behavior). I also find
> the documented behavior preferable to the actual behavior.
>
> My experience with zstyle is minuscule, so appraising my opinion at 2
> cents would be too generous.

Another view is that in both cases you specified the values of two
'elements', the fact that they are adjacent in one case shouldn't (one
could argue) affect the specificity of the pattern. (this isn't
necessarily my view).

-- 
Mikael Magnusson

  reply	other threads:[~2020-04-27 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 10:14 Daniel Shahaf
2020-04-27 16:10 ` Roman Perepelitsa
2020-04-27 17:38   ` Mikael Magnusson [this message]
2020-04-28 19:06   ` Daniel Shahaf
2020-04-28 19:30     ` dana
2020-04-28 20:20       ` Daniel Shahaf
2020-04-27 18:54 ` dana

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=CAHYJk3QXhdG+yjOCiLnABkXnu09Q3wN_B3ThaHWVoXkk3r9igg@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=d.s@daniel.shahaf.name \
    --cc=roman.perepelitsa@gmail.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).