unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>,
	Tina Russell <tinakellyrussell@gmail.com>
Cc: Julien Danjou <julien@danjou.info>, 34001@debbugs.gnu.org
Subject: bug#34001: 26.1.90; :distant-foreground face property fails to work in most cases
Date: Mon, 21 Jan 2019 18:09:39 -0500	[thread overview]
Message-ID: <8fee11d3-aaad-2173-f05e-05c83a84dbb4@dancol.org> (raw)
In-Reply-To: <87muntwrcx.fsf@tcd.ie>

On 1/21/19 5:58 PM, Basil L. Contovounesios wrote:
> Tina Russell <tinakellyrussell@gmail.com> writes:
> 
>> I’m not the only one who’s noticed this; there’s a good StackExchange
>> thread from 2015 here:
>> https://emacs.stackexchange.com/questions/7982/ The author notes that
>> there should be a user option to set the amount of “distance” (between
>> foreground and background colors) that is required for
>> distant-foreground to kick in
> 
> It would be nice if any work in this area took into consideration
> existing efforts by Julien Danjou (CCed) in lisp/net/shr-color.el
> (see e.g. user options shr-color-visible-luminance-min and
> shr-color-visible-distance-min and function shr-color-visible).
> 
> For example, the library may end up either duplicating existing core
> logic, or prove sufficiently useful that it is moved to a less
> SHR-specific location (I'm just speculating).
> 
>> , and adds that a good way to measure
>> color distance in real-world circumstances is described here:
>> http://web.mst.edu/~rhall/web_design/color_readability.html A commenter
>> suggested that he file a bug, but I can’t find an Emacs bug report
>> related to this issue, so I’m filing this now.
> 
> FWIW, there has been some discussion of colour distances in bug#25525
> and bug#30295:
> 
>    https://debbugs.gnu.org/25525
>    https://debbugs.gnu.org/30295
> 

I think I had a proposal a long time ago to just call into lisp during 
redisplay in order to compute the color composition.





      reply	other threads:[~2019-01-21 23:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-06 22:31 bug#34001: 26.1.90; :distant-foreground face property fails to work in most cases Tina Russell
2019-01-16  1:08 ` Federico Tedin
2019-01-20  3:20   ` Tina Russell
2019-01-20 17:15     ` Federico Tedin
2019-03-01  8:40   ` Eli Zaretskii
2019-03-01 12:44     ` Federico Tedin
2019-03-01 13:48       ` Eli Zaretskii
2019-01-21 22:58 ` Basil L. Contovounesios
2019-01-21 23:09   ` Daniel Colascione [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8fee11d3-aaad-2173-f05e-05c83a84dbb4@dancol.org \
    --to=dancol@dancol.org \
    --cc=34001@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=julien@danjou.info \
    --cc=tinakellyrussell@gmail.com \
    /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.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).