unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: 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 22:58:06 +0000	[thread overview]
Message-ID: <87muntwrcx.fsf@tcd.ie> (raw)
In-Reply-To: <CAJBHbT7DPTPq8-Vs1w=v8+7JM1aqgG=aAxD6SXGWu0ghtDuT_w@mail.gmail.com> (Tina Russell's message of "Sun, 6 Jan 2019 14:31:51 -0800")

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

-- 
Basil





  parent reply	other threads:[~2019-01-21 22:58 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 [this message]
2019-01-21 23:09   ` Daniel Colascione

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=87muntwrcx.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=34001@debbugs.gnu.org \
    --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).