unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47574: 'match' face is too bright
@ 2021-04-02 23:42 Dmitry Gutov
  2021-04-03  0:13 ` bug#47574: [External] : " Drew Adams
  2021-04-03  6:39 ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Dmitry Gutov @ 2021-04-02 23:42 UTC (permalink / raw)
  To: 47574

Split off from the discussion in bug#47012.

I think the current "yellow1" is too bright and in-your-face.

It handles its goal (having the matched substrings noticed) admirably, 
but perhaps too well, because we normally don't want to reach each 
match, but rather the contents of the line around it. So I think it's 
not productive putting so much visual attention on it.

Also, IMHO it doesn't fit the surrounding colors very well, 
palette-wise. Too "acidic", or something like that.

Juri suggested #ffff88, and it seems good to me. Both readable and 
noticeable, yet not too bright.

My original suggestions were "lemon chiffon" (seems ideally subdued to 
me, but it would be a drastic change), "khaki1" or "light goldenrod".





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: [External] : bug#47574: 'match' face is too bright
  2021-04-02 23:42 bug#47574: 'match' face is too bright Dmitry Gutov
@ 2021-04-03  0:13 ` Drew Adams
  2021-04-03  6:39 ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Drew Adams @ 2021-04-03  0:13 UTC (permalink / raw)
  To: Dmitry Gutov, 47574@debbugs.gnu.org

I don't argue that we should change the default appearance.
But FWIW I use a "Skyblue" background (no foreground entry).


^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-02 23:42 bug#47574: 'match' face is too bright Dmitry Gutov
  2021-04-03  0:13 ` bug#47574: [External] : " Drew Adams
@ 2021-04-03  6:39 ` Eli Zaretskii
  2021-04-03 18:26   ` Dmitry Gutov
  2021-04-14 14:55   ` Stefan Kangas
  1 sibling, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2021-04-03  6:39 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 47574

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Sat, 3 Apr 2021 02:42:43 +0300
> 
> Split off from the discussion in bug#47012.
> 
> I think the current "yellow1" is too bright and in-your-face.
> 
> It handles its goal (having the matched substrings noticed) admirably, 
> but perhaps too well, because we normally don't want to reach each 
> match, but rather the contents of the line around it. So I think it's 
> not productive putting so much visual attention on it.

If someone wants to see the lines without the match standing out, they
can customize list-matching-lines-face to nil.  So this use case is
already covered.

FTR, I do want to see the match itself, so this face does its job for
me very well.

> Juri suggested #ffff88, and it seems good to me. Both readable and 
> noticeable, yet not too bright.
> 
> My original suggestions were "lemon chiffon" (seems ideally subdued to 
> me, but it would be a drastic change), "khaki1" or "light goldenrod".

If we change the face's colors, we should make sure the new colors
look well on both light and dark backgrounds.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-03  6:39 ` Eli Zaretskii
@ 2021-04-03 18:26   ` Dmitry Gutov
  2021-04-14 14:55   ` Stefan Kangas
  1 sibling, 0 replies; 13+ messages in thread
From: Dmitry Gutov @ 2021-04-03 18:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 47574

On 03.04.2021 09:39, Eli Zaretskii wrote:
>> From: Dmitry Gutov <dgutov@yandex.ru>
>> Date: Sat, 3 Apr 2021 02:42:43 +0300
>>
>> Split off from the discussion in bug#47012.
>>
>> I think the current "yellow1" is too bright and in-your-face.
>>
>> It handles its goal (having the matched substrings noticed) admirably,
>> but perhaps too well, because we normally don't want to reach each
>> match, but rather the contents of the line around it. So I think it's
>> not productive putting so much visual attention on it.
> 
> If someone wants to see the lines without the match standing out, they
> can customize list-matching-lines-face to nil.  So this use case is
> already covered.

I'm talking rather about the other uses of the 'match' face: the Grep 
buffer, the Occur buffer, and the uses of the xref-match face (which 
inherits from 'match' now) inside the Xref buffer (xref-find-references 
or project-find-regexp).

My argument is that it's the dominant use case, so it's worth trying to 
improve the default configuration.

> FTR, I do want to see the match itself, so this face does its job for
> me very well.

Sure, I do too. From my experience, though, it's visible enough with any 
of the proposed colors. Even 'lemon chiffon', though I agree the result 
is fairly subtle.

>> Juri suggested #ffff88, and it seems good to me. Both readable and
>> noticeable, yet not too bright.
>>
>> My original suggestions were "lemon chiffon" (seems ideally subdued to
>> me, but it would be a drastic change), "khaki1" or "light goldenrod".
> 
> If we change the face's colors, we should make sure the new colors
> look well on both light and dark backgrounds.

My proposal is specifically for the light background (the min-colors 88 
case), with the default theme as the baseline.

Looking at the dark background color (and trying it with a couple of 
dark themes), I think it could use some toning down as well from 
RoyalBlue3 to RoyalBlue4, but others who prefer dark backgrounds can 
probably tell better.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-03  6:39 ` Eli Zaretskii
  2021-04-03 18:26   ` Dmitry Gutov
@ 2021-04-14 14:55   ` Stefan Kangas
  2021-04-15 13:57     ` Dmitry Gutov
  1 sibling, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2021-04-14 14:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 47574, Dmitry Gutov

[Resending my reply as I accidentally sent it only to Eli.]

Eli Zaretskii <eliz@gnu.org> writes:

>> Juri suggested #ffff88, and it seems good to me. Both readable and
>> noticeable, yet not too bright.

I don't see a very large difference between yellow and #ffff88, but I
guess it's slightly better than what we have now.

>> My original suggestions were "lemon chiffon" (seems ideally subdued to
>> me, but it would be a drastic change), "khaki1" or "light goldenrod".

FWIW, I think "lemon chiffon" is by far the best one.  It also fits
better with the rest of the default theme.

This is followed by "khaki1" or "light goldenrod", in that order.

I'm not against #ffff88 if that's what people want to see, but the
change is not large enough to make much of a difference here.

> If we change the face's colors, we should make sure the new colors
> look well on both light and dark backgrounds.

Yup.

I think "khaki3" stands out sufficiently well and goes well together
with "lemon chiffon", but there is obviously room for experimentation.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-14 14:55   ` Stefan Kangas
@ 2021-04-15 13:57     ` Dmitry Gutov
  2021-04-15 14:38       ` Eli Zaretskii
  2021-04-15 14:56       ` bug#47574: [External] : " Drew Adams
  0 siblings, 2 replies; 13+ messages in thread
From: Dmitry Gutov @ 2021-04-15 13:57 UTC (permalink / raw)
  To: Stefan Kangas, Eli Zaretskii; +Cc: 47574

On 14.04.2021 17:55, Stefan Kangas wrote:
> [Resending my reply as I accidentally sent it only to Eli.]
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>>> Juri suggested #ffff88, and it seems good to me. Both readable and
>>> noticeable, yet not too bright.
> 
> I don't see a very large difference between yellow and #ffff88, but I
> guess it's slightly better than what we have now.

What do people think about #ffffbb, then? It's the other color Juri 
mentioned.

Stefan? Eli?

It's also relatively low-key like "lemon chiffon", but a bit more 
noticeable. And it seems to fit the default theme very well.

>>> My original suggestions were "lemon chiffon" (seems ideally subdued to
>>> me, but it would be a drastic change), "khaki1" or "light goldenrod".
> 
> FWIW, I think "lemon chiffon" is by far the best one.  It also fits
> better with the rest of the default theme.
> 
> This is followed by "khaki1" or "light goldenrod", in that order.

I guess we'll fall back to "khaki1" if the more radical options are not 
accepted.

> I'm not against #ffff88 if that's what people want to see, but the
> change is not large enough to make much of a difference here.
> 
>> If we change the face's colors, we should make sure the new colors
>> look well on both light and dark backgrounds.
> 
> Yup.
> 
> I think "khaki3" stands out sufficiently well and goes well together
> with "lemon chiffon", but there is obviously room for experimentation.

If we're talking about dark background, it should be at least khaki4 
(the text is hard to read otherwise), or the RoyalBlue4 I suggested as 
the tweak for the current dark-bg color of this face.

Although the current RoyalBlue3 seems to have about the same level of 
brightness as khaki4. So it's not out of the question to just leave the 
current color there.

If we change the dark-bg color to khaki, I think we'd also need to 
change the spec for ((class color) (min-colors 8) (background dark)), 
and setting it to "yellow" is probably not a good idea.

Wish we had some dark-background users in this discussion.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-15 13:57     ` Dmitry Gutov
@ 2021-04-15 14:38       ` Eli Zaretskii
  2021-04-18 10:16         ` Stefan Kangas
  2021-04-15 14:56       ` bug#47574: [External] : " Drew Adams
  1 sibling, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2021-04-15 14:38 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 47574, stefan

> Cc: 47574@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Thu, 15 Apr 2021 16:57:43 +0300
> 
> What do people think about #ffffbb, then? It's the other color Juri 
> mentioned.
> 
> Stefan? Eli?

Too bright.  Almost invisible with the default colors and light
background.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: [External] : bug#47574: 'match' face is too bright
  2021-04-15 13:57     ` Dmitry Gutov
  2021-04-15 14:38       ` Eli Zaretskii
@ 2021-04-15 14:56       ` Drew Adams
  2021-04-15 15:43         ` Dmitry Gutov
  1 sibling, 1 reply; 13+ messages in thread
From: Drew Adams @ 2021-04-15 14:56 UTC (permalink / raw)
  To: Dmitry Gutov, Stefan Kangas, Eli Zaretskii; +Cc: 47574@debbugs.gnu.org

> Wish we had some dark-background users in this discussion.

Why limit a discussion of changing some default
behavior to a bug thread?

(I don't care about the default value of this.
I just think it's not generally wise to limit
default-changes to bug threads.)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: [External] : bug#47574: 'match' face is too bright
  2021-04-15 14:56       ` bug#47574: [External] : " Drew Adams
@ 2021-04-15 15:43         ` Dmitry Gutov
  2021-04-15 16:04           ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: Dmitry Gutov @ 2021-04-15 15:43 UTC (permalink / raw)
  To: Drew Adams, Stefan Kangas, Eli Zaretskii; +Cc: 47574@debbugs.gnu.org

On 15.04.2021 17:56, Drew Adams wrote:
> Why limit a discussion of changing some default
> behavior to a bug thread?

I'm using a bug report to be able to post a sane reference to the 
discussion in the resulting commit message.

Please feel free to post to emacs-devel to notify anybody interested 
that such discussion is taking place here.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: [External] : bug#47574: 'match' face is too bright
  2021-04-15 15:43         ` Dmitry Gutov
@ 2021-04-15 16:04           ` Drew Adams
  0 siblings, 0 replies; 13+ messages in thread
From: Drew Adams @ 2021-04-15 16:04 UTC (permalink / raw)
  To: Dmitry Gutov, Stefan Kangas, Eli Zaretskii; +Cc: 47574@debbugs.gnu.org

> > > Wish we had some dark-background users
> > > in this discussion.
> >
> > Why limit a discussion of changing some
> > default behavior to a bug thread?
> 
> I'm using a bug report to be able to post a sane
> reference to the discussion in the resulting commit message.

Nothing wrong with referring to a bug #/thread
in a commit msg -- after soliciting discussion,
and discussing, in emacs-devel.

The question was about _limiting_ discussion to
a bug thread.  And the answer is?

> Please feel free to post to emacs-devel to notify
> anybody interested that such discussion is taking place here.

I'll let you do that, if you think it's relevant.

Maybe you'd like to do that if and when the
discussion here comes to trying to decide
(1) whether to change the default for this face
and, if so, (2) what to change it to.

I think it makes sense to discuss default changes
in emacs-devel (and not just to notify that list
that there's a discussion here about a possible
default change).  Just one opinion.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-15 14:38       ` Eli Zaretskii
@ 2021-04-18 10:16         ` Stefan Kangas
  2021-04-22  0:13           ` Dmitry Gutov
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2021-04-18 10:16 UTC (permalink / raw)
  To: Eli Zaretskii, Dmitry Gutov; +Cc: 47574

Eli Zaretskii <eliz@gnu.org> writes:

>> What do people think about #ffffbb, then? It's the other color Juri
>> mentioned.
>>
>> Stefan? Eli?
>
> Too bright.  Almost invisible with the default colors and light
> background.

It looks fine here, but I guess results will differ depending on your
the brightness settings of your monitor, etc.

Playing around with some different colors, #ffff99 is a more marked
improvement than #ffff88 here.  It's also not as bright as #ffffbb.
Could that work?

Otherwise, #ffff88 is also an okay choice.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-18 10:16         ` Stefan Kangas
@ 2021-04-22  0:13           ` Dmitry Gutov
  2021-05-06 11:07             ` Lars Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Dmitry Gutov @ 2021-04-22  0:13 UTC (permalink / raw)
  To: Stefan Kangas, Eli Zaretskii; +Cc: 47574

On 18.04.2021 13:16, Stefan Kangas wrote:
> It looks fine here, but I guess results will differ depending on your
> the brightness settings of your monitor, etc.

Right.

I also don't get how it could be hard to see, but environments differ, I 
guess.

> Playing around with some different colors, #ffff99 is a more marked
> improvement than #ffff88 here.  It's also not as bright as #ffffbb.
> Could that work?

#ffff99 looks decent to me personally, if we can't get #ffffbb there.

The discussions seems to have stalled here, though, so I pushed khaki1 
as the sole non-contentious version for now.

Not closing the issue just yet, let's keep the possibility for more 
discussion open.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#47574: 'match' face is too bright
  2021-04-22  0:13           ` Dmitry Gutov
@ 2021-05-06 11:07             ` Lars Ingebrigtsen
  0 siblings, 0 replies; 13+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-06 11:07 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Stefan Kangas, 47574

Dmitry Gutov <dgutov@yandex.ru> writes:

> #ffff99 looks decent to me personally, if we can't get #ffffbb there.
>
> The discussions seems to have stalled here, though, so I pushed khaki1
> as the sole non-contentious version for now.
>
> Not closing the issue just yet, let's keep the possibility for more
> discussion open.

This was two weeks ago, so I'm guessing there isn't going to be more
discussion here, and I'm closing this bug report.  If that's mistaken,
please respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-05-06 11:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 23:42 bug#47574: 'match' face is too bright Dmitry Gutov
2021-04-03  0:13 ` bug#47574: [External] : " Drew Adams
2021-04-03  6:39 ` Eli Zaretskii
2021-04-03 18:26   ` Dmitry Gutov
2021-04-14 14:55   ` Stefan Kangas
2021-04-15 13:57     ` Dmitry Gutov
2021-04-15 14:38       ` Eli Zaretskii
2021-04-18 10:16         ` Stefan Kangas
2021-04-22  0:13           ` Dmitry Gutov
2021-05-06 11:07             ` Lars Ingebrigtsen
2021-04-15 14:56       ` bug#47574: [External] : " Drew Adams
2021-04-15 15:43         ` Dmitry Gutov
2021-04-15 16:04           ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).