Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zstyle: "more specific" patterns and *-components
- X-seq: zsh-workers 45726
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: zstyle: "more specific" patterns and *-components
- Date: Mon, 27 Apr 2020 19:38:01 +0200
- Cc: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAN=4vMpWqnb+uVjXdPa9E+c4kLMPt4z0gaScPeYthHuA1m4EMg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20200427101430.447e2a21@tarpaulin.shahaf.local2> <CAN=4vMpWqnb+uVjXdPa9E+c4kLMPt4z0gaScPeYthHuA1m4EMg@mail.gmail.com>
On 4/27/20, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
> On Mon, Apr 27, 2020 at 12:15 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author