From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34001: 26.1.90; :distant-foreground face property fails to work in most cases Date: Fri, 01 Mar 2019 10:40:10 +0200 Message-ID: <83o96vhtsl.fsf@gnu.org> References: <87a7k1l88w.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="86857"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34001-done@debbugs.gnu.org, tinakellyrussell@gmail.com To: Federico Tedin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 01 09:42:00 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzdjz-000MSx-Tw for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Mar 2019 09:42:00 +0100 Original-Received: from localhost ([127.0.0.1]:52933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdjy-0006pt-TH for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Mar 2019 03:41:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdj5-0006HF-2j for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 03:41:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdj4-0008EJ-Fz for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 03:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzdj4-0008E5-B5 for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 03:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzdj4-0002HC-74 for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2019 03:41:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Mar 2019 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 34001 X-GNU-PR-Package: emacs Mail-Followup-To: 34001@debbugs.gnu.org, eliz@gnu.org, tinakellyrussell@gmail.com Original-Received: via spool by 34001-done@debbugs.gnu.org id=D34001.15514296328701 (code D ref 34001); Fri, 01 Mar 2019 08:41:01 +0000 Original-Received: (at 34001-done) by debbugs.gnu.org; 1 Mar 2019 08:40:32 +0000 Original-Received: from localhost ([127.0.0.1]:55781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzdia-0002GH-2T for submit@debbugs.gnu.org; Fri, 01 Mar 2019 03:40:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzdiY-0002G4-K1 for 34001-done@debbugs.gnu.org; Fri, 01 Mar 2019 03:40:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdiT-0007sE-BC; Fri, 01 Mar 2019 03:40:25 -0500 Original-Received: from [176.228.60.248] (port=3697 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gzdiS-0007o4-VM; Fri, 01 Mar 2019 03:40:25 -0500 In-reply-to: <87a7k1l88w.fsf@gmail.com> (message from Federico Tedin on Tue, 15 Jan 2019 22:08:15 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:155919 Archived-At: > From: Federico Tedin > Date: Tue, 15 Jan 2019 22:08:15 -0300 > > I've created a patch that introduces a new variable > `face-near-same-color-threshold', with a default value of 30000 (as was > defined in NEAR_SAME_COLOR_THRESHOLD in xfaces.c). Changing this > variable's value will make certain color combinations be considered as > 'same', which will lead to :distant-foreground being used. For example: Sorry for the long delay, I've now pushed your change to the master branch. Please in the future provide a ChangeLog-style commit log message for your changes, and also accompany them with the pertinent updates for the documentation. I did that for this change. Thanks again for working on this.