From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs 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 Message-ID: <87muntwrcx.fsf@tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="32167"; mail-complaints-to="usenet@ciao.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Julien Danjou , 34001@debbugs.gnu.org To: Tina Russell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 22 00:07:00 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glieh-0008HL-Fv for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Jan 2019 00:06:59 +0100 Original-Received: from localhost ([127.0.0.1]:35664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glieg-0006lD-Bm for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Jan 2019 18:06:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gliX1-00015f-3M for bug-gnu-emacs@gnu.org; Mon, 21 Jan 2019 17:59:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gliX0-0000dX-7c for bug-gnu-emacs@gnu.org; Mon, 21 Jan 2019 17:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gliWz-0000dL-Uk for bug-gnu-emacs@gnu.org; Mon, 21 Jan 2019 17:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gliWz-0004f9-Rn for bug-gnu-emacs@gnu.org; Mon, 21 Jan 2019 17:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Jan 2019 22:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34001 X-GNU-PR-Package: emacs Original-Received: via spool by 34001-submit@debbugs.gnu.org id=B34001.154811149717868 (code B ref 34001); Mon, 21 Jan 2019 22:59:01 +0000 Original-Received: (at 34001) by debbugs.gnu.org; 21 Jan 2019 22:58:17 +0000 Original-Received: from localhost ([127.0.0.1]:40632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gliWG-0004e7-O5 for submit@debbugs.gnu.org; Mon, 21 Jan 2019 17:58:17 -0500 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:36052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gliWE-0004dt-3P for 34001@debbugs.gnu.org; Mon, 21 Jan 2019 17:58:14 -0500 Original-Received: by mail-ed1-f44.google.com with SMTP id f23so17831366edb.3 for <34001@debbugs.gnu.org>; Mon, 21 Jan 2019 14:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=TxB33x7eoEhjl1HHLtCD4fGeGe43CX9p6dRD4oeLQUI=; b=XomA2Nas+IMH5AK/hlL8F+pYvHkYfWwGGQ7eE3Ch3+QYuiXQI33pkb+5ZP9zQXRX5B 81nZKOwaKNx/A3p4NPCqeUMBmHFJxMuBlri/lBzvFZzevo48bJiWD+XjKQolsC2o831+ K0/kMv/Ym6Gei6uC6y/RERUM9FtjXIbjMkRevjj7pLZQ/fnu5kqmaxgWoFxJgEVG0+6a p9pphTkkQrLB+5eJ2PAyJLEzksBkeVCcSIbAErVJjnNc7lSol1YmlgArd90WeExzoy16 Ixw8kOVNNkkWXqc7Zgu3RXCkg34rnjNNQrNqnA4yciBWYZcNCJPNGKK/syPO0BQKuTZn vf4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=TxB33x7eoEhjl1HHLtCD4fGeGe43CX9p6dRD4oeLQUI=; b=q7k4BPb/2LSOmgM0haSBr2FUZUGmvUQWPBE7P2rd0U5uLN5G2CcM6V9N45PKItWYUg CD0+fMTycgoIb8wzsTNMRLhLgagItBnk6D/yCnARwNQ1Sfxr02lfN6PTk8MdwZwuFayU IBPf2UCHjSYWXfMPBbM7IkrrlLUYuL+3JoWh5MamJhpyAeH1O0HMm6/1sX4rRk0Uye5G hwNhQsCBTjx9nCZmTDTMfY/1fzfGfHCijsU9D/opvtEpJjCh1vV859CM2bSr8sfzFr1T VZiRt7djIIW3NBjjNk4tYppDtS8p7mDHtuce+hCPS6xX9ilXqlc04NGqqh7HIk2LmfFr joUw== X-Gm-Message-State: AJcUukc4y0NdWZckhZujdUh6M4tGmnSDskP0eJX/J9wOeFAy1+lNCxzs oyHZKrHiZvxp4/QqVvKfIAZ9LA== X-Google-Smtp-Source: ALg8bN5zkMNUzZ+ukpAe7g25IEl1kT9pLJcPHbFPCwB6e8Rsjc4WGqjoszrXYKjg9r7Gp12obBXE0w== X-Received: by 2002:a05:6402:8d2:: with SMTP id d18mr29008541edz.119.1548111488244; Mon, 21 Jan 2019 14:58:08 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:20c2:134e:4f3a:683a]) by smtp.gmail.com with ESMTPSA id j4sm9240928edh.69.2019.01.21.14.58.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jan 2019 14:58:07 -0800 (PST) In-Reply-To: (Tina Russell's message of "Sun, 6 Jan 2019 14:31:51 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154666 Archived-At: Tina Russell writes: > I=E2=80=99m not the only one who=E2=80=99s noticed this; there=E2=80=99s = 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 =E2=80=9Cdistance=E2= =80=9D (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=E2=80=99t find an Emacs bug report > related to this issue, so I=E2=80=99m 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 --=20 Basil