From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] Proposed change to show-ambiguity context
Date: Tue, 19 May 2015 01:51:56 +0000 [thread overview]
Message-ID: <20150519015156.GD2024@tarsus.local2> (raw)
In-Reply-To: <150517210336.ZM857@torch.brasslantern.com>
Bart Schaefer wrote on Sun, May 17, 2015 at 21:03:36 -0700:
> On May 17, 11:45pm, Daniel Shahaf wrote:
> }
> } I always wondered list-colors and LS_COLORS were either/or, rather than
> } overlay list-colors on top of LS_COLORS - that is: have the already-typed
> } part of the filename in color X, the next-letter-to-be-typed in color Y,
> } and the remainder of the filename colored according to LS_COLORS. (where
> } X and Y are specified by list-colors/show-ambiguity)
>
> Because list-colors and show-ambiguity, like most of the "menu" styles,
> are just alternate interfaces to the base functionality from complist. as
> implemented by LS_COLORS, et al.
>
So you're saying, it's this way because down in ZLS_COLORS, the "pattern
matching" form is filetype-agnostic and has precedence over the
"per-filetype" form. Thanks for the pointer.
P.S. As to your actual question in this thread, I have no opinion, as
I don't use show-ambiguity, but list-colors directly, and AIUI the patch
doesn't change the semantics of list-colors.
next prev parent reply other threads:[~2015-05-19 1:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 5:39 Bart Schaefer
2015-05-17 23:45 ` Daniel Shahaf
2015-05-18 4:03 ` Bart Schaefer
2015-05-19 1:51 ` Daniel Shahaf [this message]
2015-05-19 3:09 ` Bart Schaefer
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=20150519015156.GD2024@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--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).