GNU bug report logs - #43381
27.1.50; Maybe wrong cursor FG color in NS port

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Dale Sedivec <dale@HIDDEN>; Keywords: confirmed; dated Sun, 13 Sep 2020 20:03:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 18 Sep 2020 13:18:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 09:18:22 2020
Received: from localhost ([127.0.0.1]:41275 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJGHO-0000WI-HH
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 09:18:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kJGHK-0000Vo-3j
 for 43381 <at> debbugs.gnu.org; Fri, 18 Sep 2020 09:18:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46830)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kJGHD-00011f-S3; Fri, 18 Sep 2020 09:18:11 -0400
Received: from [176.228.60.248] (port=3532 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kJGHD-0001TJ-8l; Fri, 18 Sep 2020 09:18:11 -0400
Date: Fri, 18 Sep 2020 16:18:23 +0300
Message-Id: <83mu1n440w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87o8m3i686.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 18 Sep 2020 15:07:05 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN>
 <87pn6kphmw.fsf@HIDDEN> <83tuvw5tbi.fsf@HIDDEN>
 <87pn6jjqdz.fsf@HIDDEN> <83sgbf48pr.fsf@HIDDEN> <87o8m3i686.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: alan@HIDDEN,  43381 <at> debbugs.gnu.org,  dale@HIDDEN
> Date: Fri, 18 Sep 2020 15:07:05 +0200
> 
> > I thought to define it only for the cursor face.  And if that needs
> > some special treatment on the C level, it shouldn't be hard to tweak
> > that.
> 
> Ah, right...  but then that'd be used on all characters the cursor is
> over, no matter what the background colour of the cursor is?

No, only when the contrast with the other color is too low.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 18 Sep 2020 13:07:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 09:07:19 2020
Received: from localhost ([127.0.0.1]:41233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJG6h-0000Cv-LL
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 09:07:19 -0400
Received: from quimby.gnus.org ([95.216.78.240]:53714)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kJG6f-0000Cg-I6
 for 43381 <at> debbugs.gnu.org; Fri, 18 Sep 2020 09:07:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=N/jEJMVJNOMbV2z037kcths8JF7UR80ENQPWw95sur8=; b=UiKxscJkXEW30UinJdr+TYqT9N
 4ecsQ6ubEKNsTQgi6NgbaHB8aPIWez05+d3eL/SHNHLoHmsjci1NUOSQlALWeiFPcjmVLnMFP7p+E
 T7fkh/cpqIRM+7VvBw7e13/SpHYWXe8Zjz1f5kaGRFTweZKCcAWzwyJnpsVN2xiPa4K0=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kJG6V-00064I-0Z; Fri, 18 Sep 2020 15:07:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN>
 <87pn6kphmw.fsf@HIDDEN> <83tuvw5tbi.fsf@HIDDEN>
 <87pn6jjqdz.fsf@HIDDEN> <83sgbf48pr.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXh3dP5+fXHvbKu
 pJuNf3FaVFAuIycJAwb///9n79W4AAAAAWJLR0QIht6VegAAAAd0SU1FB+QJEgw4OfeBw8YAAAGg
 SURBVDjLZdPNcoMgEABgMNOeJZ3eDbSTa0ec5Nyq6QNE6ANkxHsnkdcvCyyK3ZPZb/YHNITEYBCl
 e+CcCyllTFMWg5BiDWyJDChbywJZnpVFApYHQaAbKBHYFoot4PMGyrQ4ycDneQW/ygAUDyY6WfOK
 wpAVlEU/WTt/cShZAzlZiLmucih3NsSN07ziGGGuYcgC5CeCbSsEv+4L5u01QBvhFbqEIQG6CM8u
 ZSaAOwdoEI4LfCSA6WcA3+rhWu1l9x/mCs6R4BtnB2g8wJBTWhda7QAqX/K+wIEx0TngHp4WoO59
 dP3gviLotUtwp7CUAoBXsE/Df2FErxQAvLV0iZ++UwAoOeO1H+AUKoIrOaYCJqBTAE4oVtBYEIGT
 YfJXaA+laBKI+k2PRoVWvIHRAaQUSt+vvuQmQ17Fv4m4fLUXv1XMI8i26cO1j0OXQXOJR5/ziq7X
 EUaXNCtQZp4wr03ayq2u/YjZ5xHEAqMyLkY8OYCCr8cVeNB4JQCjgQLXZ7LGjUdwS+rJ+gFQYsYA
 ws3QanqETj4Qeleth1gA8QeGJv6VZ7dEEwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOS0xOFQx
 Mjo1Njo1NyswMDowMCo3F/EAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMThUMTI6NTY6NTcr
 MDA6MDBbaq9NAAAAAElFTkSuQmCC
X-Now-Playing: Stina Nordenstam's _This Is Stina Nordenstam_: "Circus"
Date: Fri, 18 Sep 2020 15:07:05 +0200
In-Reply-To: <83sgbf48pr.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 18 Sep
 2020 14:37:04 +0300")
Message-ID: <87o8m3i686.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: >> The vast majority
 of faces don't have a distant-foreground, I think? >> And that's in relation
 to the region face, not the cursor? > > I thought to define it only for the
 cursor face. And if that n [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> The vast majority of faces don't have a distant-foreground, I think?
>> And that's in relation to the region face, not the cursor?
>
> I thought to define it only for the cursor face.  And if that needs
> some special treatment on the C level, it shouldn't be hard to tweak
> that.

Ah, right...  but then that'd be used on all characters the cursor is
over, no matter what the background colour of the cursor is?  Isn't that
the same information loss you were worried about, only with a different
colour?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 18 Sep 2020 11:37:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 07:37:00 2020
Received: from localhost ([127.0.0.1]:41077 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJEhI-0006Li-7H
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:37:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kJEhG-0006LW-5I
 for 43381 <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:36:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41606)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kJEhA-0004fa-Gd; Fri, 18 Sep 2020 07:36:52 -0400
Received: from [176.228.60.248] (port=1234 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kJEh9-0001Sr-VO; Fri, 18 Sep 2020 07:36:52 -0400
Date: Fri, 18 Sep 2020 14:37:04 +0300
Message-Id: <83sgbf48pr.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87pn6jjqdz.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri, 
 18 Sep 2020 13:06:16 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN>
 <87pn6kphmw.fsf@HIDDEN> <83tuvw5tbi.fsf@HIDDEN> <87pn6jjqdz.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: alan@HIDDEN,  43381 <at> debbugs.gnu.org,  dale@HIDDEN
> Date: Fri, 18 Sep 2020 13:06:16 +0200
> 
> > The solution to that doesn't have to be what you propose, it can be
> > something else, which doesn't ignore our usual face-merging.  We just
> > need to use a mechanism we have for this purpose: the
> > distant-foreground color of a face.
> 
> The vast majority of faces don't have a distant-foreground, I think?
> And that's in relation to the region face, not the cursor?

I thought to define it only for the cursor face.  And if that needs
some special treatment on the C level, it shouldn't be hard to tweak
that.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 18 Sep 2020 11:06:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 07:06:37 2020
Received: from localhost ([127.0.0.1]:41035 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJEDs-0001Ic-HC
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:06:37 -0400
Received: from quimby.gnus.org ([95.216.78.240]:52756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kJEDq-0001IQ-Mb
 for 43381 <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:06:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Zz91vXzP1QxjrEhjIOYCNVRpc33ygJYrU9IkNCox8C0=; b=eTJ69Jtsd0GStJ8/VtfY5q92j9
 KAR7qDeUFwv3W4kYCaeqa0/JMYu/K7oDmxYQIla5/HVJ6lKti8cVvMnQe3i7GIzjzmCDv3YzyHXJN
 TR342mlhGXkEubgt4YTFd6s1V15BQeC9/4wXQ9Pm2MpSaGcucd+iSFbejk5w3y0H/JYY=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kJEDa-0004x4-3n; Fri, 18 Sep 2020 13:06:28 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN>
 <87pn6kphmw.fsf@HIDDEN> <83tuvw5tbi.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX+/vvk1dGlYGKR
 MjrLoJ+KGinDnZyUOUGgP0aAVFX///9OLS67AAAAAWJLR0QKaND0VgAAAAd0SU1FB+QJEgorLYg5
 KpsAAAE/SURBVDjLxZLNS8NAEMXbGKLHQsF6VBe827FOvAnpx70liLciIXcZYTwqUdo/28l2Qzfj
 7smDAzmEt/vmN29nMPhLDWNCMooI45iw2EYEcxnp/X4bFtL8PgKVT8PCBe/CWMWueQxD7ZswVrPn
 1yBtznwXhELmINYZS/lYWbWsq/m8NgxIN3W1rKqX6/ZAOittIQEiSJXl7NneTDYkv+0HbAsfnGMB
 h0JilgMIVx3ot1NYwJjo7Ui6sRcArdPUQys6q9bMz8WZIRB6RkczYOgZeWTMWxVI9nQQfqWVYDsi
 ca6FMdg4mPTrLmwswqt7GHtc5v5Qz0duclRLlwoUfcmTsFo6gcL1KJPJFe+ptJCMVqixCqJ2dYZG
 YxmXUQZq6QjcwQn2li6Fz47b9LCS9THNHtaJ13HiY537IegY/6F+AKqTW3idEuXzAAAAJXRFWHRk
 YXRlOmNyZWF0ZQAyMDIwLTA5LTE4VDEwOjQzOjQ1KzAwOjAwNvmniQAAACV0RVh0ZGF0ZTptb2Rp
 ZnkAMjAyMC0wOS0xOFQxMDo0Mzo0NSswMDowMEekHzUAAAAASUVORK5CYII=
X-Now-Playing: Stina Nordenstam's _Dynamite_: "Until"
Date: Fri, 18 Sep 2020 13:06:16 +0200
In-Reply-To: <83tuvw5tbi.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 17 Sep
 2020 18:14:25 +0300")
Message-ID: <87pn6jjqdz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > I understand. The
 result
 will be that every character under cursor > will look the same regardless
 of its original face colors. Oh, I didn't think of that as an issue... I
 mean, the cursor blinks (by default), so... does anybody care? 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> I understand.  The result will be that every character under cursor
> will look the same regardless of its original face colors.

Oh, I didn't think of that as an issue...  I mean, the cursor blinks (by
default), so...  does anybody care?

> Which is both losing information and different from the face-merging
> we do everywhere else.
>
> The original problem, AFAIU, was not that we behave as we do, but that
> the result is almost illegible in some situations.

Yup.

> The solution to that doesn't have to be what you propose, it can be
> something else, which doesn't ignore our usual face-merging.  We just
> need to use a mechanism we have for this purpose: the
> distant-foreground color of a face.

The vast majority of faces don't have a distant-foreground, I think?
And that's in relation to the region face, not the cursor?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 17 Sep 2020 15:14:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 11:14:26 2020
Received: from localhost ([127.0.0.1]:38606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIvcA-0003lH-H5
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 11:14:26 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51328)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kIvc6-0003l1-Vs
 for 43381 <at> debbugs.gnu.org; Thu, 17 Sep 2020 11:14:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38315)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kIvc1-0003Gp-6B; Thu, 17 Sep 2020 11:14:17 -0400
Received: from [176.228.60.248] (port=1638 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kIvc0-0003cx-40; Thu, 17 Sep 2020 11:14:16 -0400
Date: Thu, 17 Sep 2020 18:14:25 +0300
Message-Id: <83tuvw5tbi.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87pn6kphmw.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 17 Sep 2020 17:06:31 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN> <87pn6kphmw.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: alan@HIDDEN,  43381 <at> debbugs.gnu.org,  dale@HIDDEN
> Date: Thu, 17 Sep 2020 17:06:31 +0200
> 
> The character under point will have the cursor colour as the
> background colour, and it doesn't matter what the foreground colour
> of that character is: Today the foreground colour (when the cursor
> is over the character) is the character's background colour, but the
> proposal is to change that to use the default face's background
> colour instead.

I understand.  The result will be that every character under cursor
will look the same regardless of its original face colors.  Which is
both losing information and different from the face-merging we do
everywhere else.

The original problem, AFAIU, was not that we behave as we do, but that
the result is almost illegible in some situations.  The solution to
that doesn't have to be what you propose, it can be something else,
which doesn't ignore our usual face-merging.  We just need to use a
mechanism we have for this purpose: the distant-foreground color of a
face.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 17 Sep 2020 15:06:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 11:06:43 2020
Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIvUh-0003ZO-M8
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 11:06:43 -0400
Received: from quimby.gnus.org ([95.216.78.240]:41982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kIvUf-0003ZB-OE
 for 43381 <at> debbugs.gnu.org; Thu, 17 Sep 2020 11:06:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=j3CX6nWwiB4jdVp0zNR1U/WhEB4zDyrVqI+EXoZ6rxo=; b=aCsBrjY4zUzn4a5N1Tf0Slhqqx
 RRYz6xwX71SgvIYsb3lpCAnFpiX8FE2FRdNtjNhEMg3goFSwIMTSzAKOT5QpyyKw+fqtB8qujo58e
 id0AGWiALVuDmOlOi7cOGIKsHq6weFUzahtQvYKdTddunIHaxEU7wPEtptuJaUbrqQRs=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kIvUW-0001ib-CO; Thu, 17 Sep 2020 17:06:34 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
 <87a6xoqxkr.fsf@HIDDEN> <83wo0s5uen.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX7+/vSz8+mo6Zb
 WF0fGhovKixBPEB/e4H///+DCN/PAAAAAWJLR0QIht6VegAAAAd0SU1FB+QJEQ8ELY5bf/MAAAGk
 SURBVDjLtZTPjtsgEMZBfQGDD73GE0U5r6eLH6CwPW8NPMAiptfGrpTX74CdOEqzp6ifLP/hx3wz
 gsFCPJBiiSfUCCHL7V5SKQ1aPSIcJBvxP/TFhRAph1UJEft5ODYMrAveXuR4zkgjVsATecQumIpB
 BXYBdo3iD5dX4AJdrSrYItCz1dvED54VwgW4NHgu4F3IQ424AWfvvP8tVMsg3wAc+HOETjKIecvh
 MDt6/YE/W1qASQuImIy17/uXQ6ggrMBFPLUJT1Lt0drEAC+g10Oz74QCzpHoCmw86Z1oX4SeWq7Q
 XK1s7LtO4odScHAjmpvkQ8f7nfSA30a8B+LwXanZ/kKkDYw4qa8IoP5EpLJntAGYJw2AxWhZq10B
 b3gGrSdQiIBlkyma3bIkWLKDgjPMBeQLSJxEMzqyly9eG+iBdS45GPCVF0Cmn+A48zDl0hNXEA0m
 rmlGrtXdgVh8MPsCSpYKbDQUyripIGwgENXexGzXTvULcDmGEYlT8LsvnVJALRspGV6/17BFPJJ8
 7jR/KtU1bN39a84nXD75D2k+Gf8LJHu4UBQcHYUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDkt
 MTdUMTU6MDQ6NDUrMDA6MDD3ORtbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTE3VDE1OjA0
 OjQ1KzAwOjAwhmSj5wAAAABJRU5ErkJggg==
X-Now-Playing: PJ Harvey's _Dry Demos_: "Dress"
Date: Thu, 17 Sep 2020 17:06:31 +0200
In-Reply-To: <83wo0s5uen.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 17 Sep
 2020 17:50:56 +0300")
Message-ID: <87pn6kphmw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > What if that character
 has a non-default foreground color? If we > disregard it, all the characters
 will look the same when under the > cursor, regardless of their original
 face. Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> What if that character has a non-default foreground color?  If we
> disregard it, all the characters will look the same when under the
> cursor, regardless of their original face.

Hm...  I don't quite follow.  The character under point will have the
cursor colour as the background colour, and it doesn't matter what the
foreground colour of that character is: Today the foreground colour
(when the cursor is over the character) is the character's background
colour, but the proposal is to change that to use the default face's
background colour instead.  (Which is pretty much guaranteed to be
different that the cursor's colour.)

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 17 Sep 2020 14:50:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 10:50:58 2020
Received: from localhost ([127.0.0.1]:38571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIvFR-0000yb-HE
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 10:50:58 -0400
Received: from eggs.gnu.org ([209.51.188.92]:44648)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kIvFN-0000yK-TC
 for 43381 <at> debbugs.gnu.org; Thu, 17 Sep 2020 10:50:56 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37781)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kIvFH-0007jr-NS; Thu, 17 Sep 2020 10:50:47 -0400
Received: from [176.228.60.248] (port=4176 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kIvFG-0008Ml-NF; Thu, 17 Sep 2020 10:50:47 -0400
Date: Thu, 17 Sep 2020 17:50:56 +0300
Message-Id: <83wo0s5uen.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87a6xoqxkr.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu, 
 17 Sep 2020 16:36:52 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN> <87a6xoqxkr.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: alan@HIDDEN,  43381 <at> debbugs.gnu.org,  dale@HIDDEN
> Date: Thu, 17 Sep 2020 16:36:52 +0200
> 
> > Any specific suggestions for a fix?
> 
> That we do what the documentation suggests -- use the frame background
> (i.e., the default face background) as the face foreground of the
> character under point.

What if that character has a non-default foreground color?  If we
disregard it, all the characters will look the same when under the
cursor, regardless of their original face.

Besides, this is different from every other place in Emacs where we
have more than one source for face information: we always merge all
the faces.

So I cannot say I like this proposal.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 17 Sep 2020 14:37:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 10:37:05 2020
Received: from localhost ([127.0.0.1]:38546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIv21-0000cm-7D
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 10:37:05 -0400
Received: from quimby.gnus.org ([95.216.78.240]:41640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kIv20-0000cJ-5B
 for 43381 <at> debbugs.gnu.org; Thu, 17 Sep 2020 10:37:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ieXO7BmSuoH2kqeTinWXqqvoTsmi3IGqdSCtC7r6N3k=; b=bxRGRgKPVn+B7AxOjryCixBh60
 HCGcpN1vejgQwzVrN4OjXzkIhbSs9+zTYd1aWyIMtqFQSQbVIycJ1iXQKBAYy1oW4dP13eEEccYcf
 O7Jc1pkDUJWfbWFXfDmOKEfDXPMvYlO9pzXduLWFUzzY2wSMNRoKmHajSuOVdKNMJ+rY=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kIv1q-0001RA-91; Thu, 17 Sep 2020 16:36:56 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <87r1r39qmb.fsf@HIDDEN> <83v9gf85hj.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVnW0eDb19dUDc1
 Jhj///+WTBM/AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QJEQ4iK6UkM9UAAAF1SURBVDjLbVSLccUw
 COPoAh2Bwwv07P13K5KM4/TVSd7LIT4CdDGzb8OJejzDM7NePUzHLaOuTKsbgG/vaO86nnDUiXQA
 hgCmQmjlq8vpSnMFlLVyV5Zkog047AkAkQzfQEHOCNAJEGsoyib+JCFWBn8wg/sqw6h7LfwxHaqM
 Ndf7TBD3BsZjn8mu/eUNfAZnlYgYSje/+AtOSAVkvmuYgD+nOgGCiF1n3kBH3Ky4ohgkskYe4IcA
 G16TndcQit8IAWC2V04yof159t71yllRBNjWA2DCiqgmhTjGHr0rJu5knmdV0g71wv0cwE96OUgl
 h05YRwpANX+AR0BQKy1i3BKNU0QDKM34knZDwm5AdKeUeqq7XYLL3bJpLVcbPaViswc9pvzPLKhi
 06x6/qiNet0gBdWtc5y+Re1FN/ypWebxouVHA2Nh6UklSqEfB11eETcQ/wOLqvAPKyKK5SeASV7F
 h4z7s4EJ/nHn7Nn3sQ0x1YfmFzGYeI6zxyNdAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTE3
 VDE0OjM0OjQzKzAwOjAw0J2R5QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0xN1QxNDozNDo0
 MyswMDowMKHAKVkAAAAASUVORK5CYII=
X-Now-Playing: Consolidated's _Dysfunctional_: "Message To The People (12"
 Mix)"
Date: Thu, 17 Sep 2020 16:36:52 +0200
In-Reply-To: <83v9gf85hj.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 15 Sep
 2020 17:44:08 +0300")
Message-ID: <87a6xoqxkr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> Or should we fix the
 code? As the example demonstrates, this makes some >> of the inverse-blinked
 text difficult to read. > > Any specific suggestions for a fix? 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Or should we fix the code?  As the example demonstrates, this makes some
>> of the inverse-blinked text difficult to read.
>
> Any specific suggestions for a fix?

That we do what the documentation suggests -- use the frame background
(i.e., the default face background) as the face foreground of the
character under point.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 15 Sep 2020 14:55:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 15 10:55:28 2020
Received: from localhost ([127.0.0.1]:60111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kICMh-0006aB-7j
	for submit <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:55:28 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57316)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kICMY-0006Zl-25
 for 43381 <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:55:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46612)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kICMQ-0005Pt-Ie; Tue, 15 Sep 2020 10:55:11 -0400
Received: from [176.228.60.248] (port=2749 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kICMN-0003OR-QF; Tue, 15 Sep 2020 10:55:10 -0400
Date: Tue, 15 Sep 2020 17:55:14 +0300
Message-Id: <83o8m784z1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: larsi@HIDDEN
In-Reply-To: <83v9gf85hj.fsf@HIDDEN> (message from Eli Zaretskii on Tue, 15
 Sep 2020 17:44:08 +0300)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN> <87r1r39qmb.fsf@HIDDEN>
 <83v9gf85hj.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Tue, 15 Sep 2020 17:44:08 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
> 
> > Or should we fix the code?  As the example demonstrates, this makes some
> > of the inverse-blinked text difficult to read.
> 
> Any specific suggestions for a fix?
> 
> > Presumably the colour distance between the cursor and the default
> > face's background is more legible?
> 
> If you imply that we should sometimes refuse to merge faces, I'd
> object to that, since we never do such things anywhere.
> 
> Maybe it's enough to define (and handle) a distant-foreground color
> for the cursor face?

Oh, and of course the documentation should be fixed regardless, as it
is inaccurate, and will continue to be inaccurate even if we fix this
in some way.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 15 Sep 2020 14:44:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 15 10:44:14 2020
Received: from localhost ([127.0.0.1]:60087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kICBp-0006IY-Nh
	for submit <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:44:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kICBl-0006II-8K
 for 43381 <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:44:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46403)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kICBf-0003xX-LK; Tue, 15 Sep 2020 10:44:03 -0400
Received: from [176.228.60.248] (port=2060 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kICBe-0002PW-Lj; Tue, 15 Sep 2020 10:44:03 -0400
Date: Tue, 15 Sep 2020 17:44:08 +0300
Message-Id: <83v9gf85hj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87r1r39qmb.fsf@HIDDEN> (message from Lars Ingebrigtsen on Tue, 
 15 Sep 2020 14:22:20 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN> <87r1r39qmb.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: alan@HIDDEN,  43381 <at> debbugs.gnu.org,  dale@HIDDEN
> Date: Tue, 15 Sep 2020 14:22:20 +0200
> 
> > We should fix the documentation.
> 
> Or should we fix the code?  As the example demonstrates, this makes some
> of the inverse-blinked text difficult to read.

Any specific suggestions for a fix?

> Presumably the colour distance between the cursor and the default
> face's background is more legible?

If you imply that we should sometimes refuse to merge faces, I'd
object to that, since we never do such things anywhere.

Maybe it's enough to define (and handle) a distant-foreground color
for the cursor face?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 15 Sep 2020 14:20:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 15 10:20:55 2020
Received: from localhost ([127.0.0.1]:59988 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIBpH-0005fW-HZ
	for submit <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:20:55 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48384)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kIBpF-0005fI-NU
 for 43381 <at> debbugs.gnu.org; Tue, 15 Sep 2020 10:20:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45835)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kIBp7-0000sa-2i; Tue, 15 Sep 2020 10:20:46 -0400
Received: from [176.228.60.248] (port=4612 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kIBp5-0005ry-6I; Tue, 15 Sep 2020 10:20:44 -0400
Date: Tue, 15 Sep 2020 17:20:49 +0300
Message-Id: <83zh5r86ke.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Dale Sedivec <dale@HIDDEN>
In-Reply-To: <84D258F0-553A-4179-BAA0-A832FEE1B2D0@HIDDEN> (message from
 Dale Sedivec on Mon, 14 Sep 2020 17:10:30 -0500)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN> <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
 <84D258F0-553A-4179-BAA0-A832FEE1B2D0@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, larsi@HIDDEN, alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Dale Sedivec <dale@HIDDEN>
> Date: Mon, 14 Sep 2020 17:10:30 -0500
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>,
>  alan@HIDDEN,
>  43381 <at> debbugs.gnu.org
> 
> > We should fix the documentation.
> 
> Understood.  Would it be appropriate for me to open a separate bug for the problem of the text under the box cursor being nearly unreadable, as in my example?

Feel free.  I don't yet see how this could be solved, but a bug report
cannot hurt.

> Maybe allowing the cursor face's :foreground to be used in preference to the background of the face at point?

That'd be contrary to what Emacs does with faces in every other
situation, so I prefer not to consider such a solution, certainly not
as the first alternative.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 15 Sep 2020 12:22:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 15 08:22:34 2020
Received: from localhost ([127.0.0.1]:57588 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kI9yj-0001r5-Va
	for submit <at> debbugs.gnu.org; Tue, 15 Sep 2020 08:22:34 -0400
Received: from quimby.gnus.org ([95.216.78.240]:43912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kI9yh-0001qm-E3
 for 43381 <at> debbugs.gnu.org; Tue, 15 Sep 2020 08:22:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=BRw6ZsgUI8XYllRKCj8EuPZjguI4HqhxS6JJQmHhS4I=; b=RWeoSEwyktjY/sD7j+/VRERwDn
 3E4zNRoHeVwx2TaMboWb05oiu43uldqQMMPtnDY1F9w2vq0/EW7haPAWo7oxcQTTUXjuGWWqBKRRe
 q1QdvANYVnxDzkV4xfn58eoNbltpQkX0uc/OGYWom9zkKC8FBRX6/EgDHHk/7chGB3RM=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kI9yX-0008Rj-Sr; Tue, 15 Sep 2020 14:22:24 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQAAAAB/ecQqAAAABGdBTUEAALGPC/xhBQAAAAJi
 S0dEAAHdihOkAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH5AkPCzUmaBspuQAAABBJREFU
 GNNj+A8GDKMUdSgAT1Qe8M8TmhgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDktMTVUMTE6NTM6
 MzgrMDA6MDBIuYtMAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTE1VDExOjUzOjM4KzAwOjAw
 OeQz8AAAAABJRU5ErkJggg==
X-Now-Playing: Saito Koji's _433-1_: "433_010"
Date: Tue, 15 Sep 2020 14:22:20 +0200
In-Reply-To: <83363kbeci.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 14 Sep
 2020 17:52:13 +0300")
Message-ID: <87r1r39qmb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Eli Zaretskii <eliz@HIDDEN> writes: >> > Now you mention
 it, I can see that the X ports use the face colours as >> > well... >> > >>
 > xterm.c:1518 >> > xgcv.background = s->f->output_data.x->cursor_pixel;
 >> > xgcv.foreground = s->face [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> > Now you mention it, I can see that the X ports use the face colours as
>> > well...
>> >
>> > xterm.c:1518
>> >       xgcv.background = s->f->output_data.x->cursor_pixel;
>> >       xgcv.foreground = s->face->background;
>> >            ^               ^
>> 
>> Yeah, it looks like it's been like that since at least the 90s.  So...
>> the documentation is just wrong?
>
> Yes, the documentation is inaccurate: it describes what happens when
> the text at point uses the default face.  When the face is not the
> default, we merge that face into the cursor face, and that is what you
> see.
>
> We should fix the documentation.

Or should we fix the code?  As the example demonstrates, this makes some
of the inverse-blinked text difficult to read.  Presumably the colour
distance between the cursor and the default face's background is more
legible?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 14 Sep 2020 22:10:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 14 18:10:40 2020
Received: from localhost ([127.0.0.1]:56586 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHwgK-0003Db-AO
	for submit <at> debbugs.gnu.org; Mon, 14 Sep 2020 18:10:40 -0400
Received: from mail-io1-f54.google.com ([209.85.166.54]:39902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dale@HIDDEN>) id 1kHwgH-0003DK-RA
 for 43381 <at> debbugs.gnu.org; Mon, 14 Sep 2020 18:10:38 -0400
Received: by mail-io1-f54.google.com with SMTP id b6so1859207iof.6
 for <43381 <at> debbugs.gnu.org>; Mon, 14 Sep 2020 15:10:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=codefu-org.20150623.gappssmtp.com; s=20150623;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=S2BsPt9ZO3A950UswwISENhz7s09OCaLbhUcvQBeABs=;
 b=DE/7S2hRQ6bvXDyQxAbjWFpXsOL811s7nGDw1JJ/O0POfYxD4Hayss+SdN6P3/oHqm
 Tl+8X/d1JV7iqpTF6g4/1FhN5KWQQ8xL7PJCT7uE5lv2gkLXAiD6smtqMi1XvqjFx0WM
 zlcKnSEzqE8z9rdWH/DeZKg4mO3SHzokYkEKx1qbszmQaa/dRrAiGEbijlpYUbY8OXev
 K80FVnng6DhWUKi8iToG9pFDmgBmxBqAWhxuOR3d7qNVCTdVn9QFktrVEXCOJb7xcpFw
 /JTO2UGuvHIfThRwZjTWw67VF8vX6Zqm9ykTgNUTzVM2h0GPl8QzsyJKLnTTYkRA+Sf1
 Tvmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=S2BsPt9ZO3A950UswwISENhz7s09OCaLbhUcvQBeABs=;
 b=TuaSQylCby2Sl6U7kXtZUpX3AnIUQNvuCgsviAs6O0PP7IFkyg02/IySuCVFtZ9IC3
 OMafiH27qd3O05YEBBfEj0fa+ckCGQrXMsIsUtPEviPdXVs5faGELSmC8D4Y1GXGNahb
 JdYQCogfWsk9Q5Fkjd/4MizMFR8cZa4b82GgkvZkRYlp7tItX9NtB3GJzK+57M+v0GXa
 FcYWdSE71pdE5QT3M9gLLRh4uJbz3rAOolbkn15QkjiFWKZjXZVYZEJw/TOkrjiA/6Vj
 aVqpZIMcnK9Bn0K3llLFGKFRLaFPlA6XfEABVgUG1DYt6uXieqAMFgMZv6nst04SkFev
 8LaA==
X-Gm-Message-State: AOAM53004mx1q29Ugii4Y8knQw1J77zLFUZCMcaaqP23t+DI7yvt3xfk
 R7uVcx9ic/Z6sM0Tm3/VPPOxdw==
X-Google-Smtp-Source: ABdhPJzyzWOsaEFixU8hNyhRtIGxA+4+outvBpIYXel2giTWlaQ+jq0iW4lCt/iHacceDRp9m/GWKQ==
X-Received: by 2002:a05:6638:309:: with SMTP id
 w9mr15572633jap.58.1600121431975; 
 Mon, 14 Sep 2020 15:10:31 -0700 (PDT)
Received: from dale.caliginous.net (152.160.30.136.in-addr.arpa.
 [136.30.160.152])
 by smtp.gmail.com with ESMTPSA id r8sm6427289iot.51.2020.09.14.15.10.31
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 14 Sep 2020 15:10:31 -0700 (PDT)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
From: Dale Sedivec <dale@HIDDEN>
In-Reply-To: <83363kbeci.fsf@HIDDEN>
Date: Mon, 14 Sep 2020 17:10:30 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <84D258F0-553A-4179-BAA0-A832FEE1B2D0@HIDDEN>
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN> <20200913234309.GH93185@HIDDEN>
 <87d02pdyp4.fsf@HIDDEN> <83363kbeci.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3445.104.15)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>, alan@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sep 14, 2020, at 09:52, Eli Zaretskii <eliz@HIDDEN> wrote:
>> From: Lars Ingebrigtsen <larsi@HIDDEN>
>> Date: Mon, 14 Sep 2020 01:49:43 +0200
>> Cc: 43381 <at> debbugs.gnu.org, Dale Sedivec <dale@HIDDEN>
>>=20
>> Alan Third <alan@HIDDEN> writes:
>>=20
>>> Now you mention it, I can see that the X ports use the face colours =
as
>>> well...
>>>=20
>>> xterm.c:1518
>>>      xgcv.background =3D s->f->output_data.x->cursor_pixel;
>>>      xgcv.foreground =3D s->face->background;
>>>           ^               ^
>>=20
>> Yeah, it looks like it's been like that since at least the 90s.  =
So...
>> the documentation is just wrong?
>=20
> Yes, the documentation is inaccurate: it describes what happens when
> the text at point uses the default face.  When the face is not the
> default, we merge that face into the cursor face, and that is what you
> see.
>=20
> We should fix the documentation.

Understood.  Would it be appropriate for me to open a separate bug for =
the problem of the text under the box cursor being nearly unreadable, as =
in my example?  Maybe allowing the cursor face's :foreground to be used =
in preference to the background of the face at point?

Dale=




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 14 Sep 2020 14:52:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 14 10:52:17 2020
Received: from localhost ([127.0.0.1]:55761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHpq5-0008Hw-4d
	for submit <at> debbugs.gnu.org; Mon, 14 Sep 2020 10:52:17 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53706)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kHpq3-0008Hi-BA
 for 43381 <at> debbugs.gnu.org; Mon, 14 Sep 2020 10:52:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53429)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kHppx-0005V7-2H; Mon, 14 Sep 2020 10:52:09 -0400
Received: from [176.228.60.248] (port=1815 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kHppw-00071x-3j; Mon, 14 Sep 2020 10:52:08 -0400
Date: Mon, 14 Sep 2020 17:52:13 +0300
Message-Id: <83363kbeci.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87d02pdyp4.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 
 14 Sep 2020 01:49:43 +0200)
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN> <87d02pdyp4.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, alan@HIDDEN, dale@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Mon, 14 Sep 2020 01:49:43 +0200
> Cc: 43381 <at> debbugs.gnu.org, Dale Sedivec <dale@HIDDEN>
> 
> Alan Third <alan@HIDDEN> writes:
> 
> > Now you mention it, I can see that the X ports use the face colours as
> > well...
> >
> > xterm.c:1518
> >       xgcv.background = s->f->output_data.x->cursor_pixel;
> >       xgcv.foreground = s->face->background;
> >            ^               ^
> 
> Yeah, it looks like it's been like that since at least the 90s.  So...
> the documentation is just wrong?

Yes, the documentation is inaccurate: it describes what happens when
the text at point uses the default face.  When the face is not the
default, we merge that face into the cursor face, and that is what you
see.

We should fix the documentation.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 13 Sep 2020 23:50:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 19:50:03 2020
Received: from localhost ([127.0.0.1]:52082 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHbkt-0005NK-FN
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:50:03 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50866)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kHbkr-0005Mu-IA
 for 43381 <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:49:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=X5nPfxGDPZD4zPemTmwkfOwz8YUWCCX7FJVZegW/sy8=; b=X6c5xz5Gkwrl6vJU3IJTmrUIOl
 E21/deO0Sl548qvB1ZZg1OPbK5MMea1Q4qG/t3xRRe7KNG6kdPW0tB+Jt3K6DkXto8P9BdFzqIzVS
 0yqOj8Zbt7LHYUKnCDbSaXZmd11ApwDhaHEIQx1ISkkV6AjcyF7KT7rCzT+JrN8G+zM4=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kHbkf-0001Jq-1D; Mon, 14 Sep 2020 01:49:50 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
 <20200913234309.GH93185@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX8/PXl3tOpnJhi
 V1mHd3c3LzT///98Xaj6AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJDRceJThXF/UAAAGqSURBVDjL
 bdRtdqwgDAZgHL3/xdMF1JAuoIQsoAQ3ILL/rdzgV/F08m98Tl5InBljjuqstRN5e5R+Nma8AYRu
 0CcnjNbiQuMv2NFcaY7zZ3eDaUCoge4Gg9J2/EaZSfJo3sGL8mjfRb24BdOA8Pf4pqOzjijOf8FO
 mBLRfK7khgkgKYjvntAhgAtCFJ7X7SxEXaJQpie8wHkF+guRc31eslxznDNEl+udCslspwYGjxso
 MKZvi80cQ3TbVAHQHx326nAbop6d0mqhObz/cRtUIAkwNzBEyQqcKSDExxm86cUqQIzN1gfgNbqj
 I0DT0QMHqvclQgptFLBP4CgQpQOuyRVAs3xdZHgsUTuCAoo8onooIMJFzxBeH1Dn88wqnOsbPFfS
 44oYflzdPOXmZ9A7j0Cgz4NIbt55BZcraOK2R10Q01J0iqCw7lHmgm0pmbIHlPURFb2C6JjpgDPq
 4ytEnUK/PiBLC6+FcB+vhH3AO2rQZXApmWvcA/iAUjw9oOcoZa9EvDXwLwAfQLm0MAQsZ3GIzYAD
 uhsiNPBydEHxbUc3zXDV+e/zvrr/z5Nz6RlXsqsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDkt
 MTNUMjM6MzA6MzYrMDA6MDBUqHglAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTEzVDIzOjMw
 OjM2KzAwOjAwJfXAmQAAAABJRU5ErkJggg==
X-Now-Playing: Rema Rema's _Fond Reflections (1): Wheel in the Roses
 (Extended)_: "Fond Affections"
Date: Mon, 14 Sep 2020 01:49:43 +0200
In-Reply-To: <20200913234309.GH93185@HIDDEN> (Alan Third's
 message of "Mon, 14 Sep 2020 00:43:09 +0100")
Message-ID: <87d02pdyp4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Alan Third <alan@HIDDEN> writes: > Now you mention it,
 I can see that the X ports use the face colours as > well... > > xterm.c:1518
 > xgcv.background = s->f->output_data.x->cursor_pixel; > xgcv.foreground
 = s->face->background; > ^ [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, Dale Sedivec <dale@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Alan Third <alan@HIDDEN> writes:

> Now you mention it, I can see that the X ports use the face colours as
> well...
>
> xterm.c:1518
>       xgcv.background = s->f->output_data.x->cursor_pixel;
>       xgcv.foreground = s->face->background;
>            ^               ^

Yeah, it looks like it's been like that since at least the 90s.  So...
the documentation is just wrong?

I think it does sound like it would make sense to use the background
colour here for the face colour, though, since that's guaranteed to
stand out against the cursor colour, you'd think.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 13 Sep 2020 23:43:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 19:43:26 2020
Received: from localhost ([127.0.0.1]:52074 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHbeY-0005Ds-Ft
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:43:26 -0400
Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:43350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1kHbeU-0005Dc-JW
 for 43381 <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:43:25 -0400
Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15])
 by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 4DFB94E0;
 Mon, 14 Sep 2020 01:43:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600040596; 
 s=20200222-6h9o; d=idiocy.org; i=alan@HIDDEN;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To;
 l=1009; bh=hVgDDo7Y3aNZv8bzh0Tte6Pz8ZvHz7DQzbkV3ERDK7A=;
 b=SPJdPFL+PNyMJ/ZsIwq6jsSQIxqnuFR/GXOy4eqexeEGUWg/k0GB8+dDi35Obz6S
 PlebPtkVVhRB6nf18nrDOluxuei8mXFRsp0B0l/J4ckjfwNABHLk5baXF5wze7CCLNP
 xVQcbV+LOdAUCqbV6pRg+OU4SZecZFfMgxCBFlMQN5I6LZdi/oXyPr4bHtkJuZ83xcK
 UF3B03Bw6fXUkFDKD0zmHDv+/2gpW2cT71qM5QuC6bc8oMKGh8qgyWXSv0wqIADWZZf
 7ImTLht9ziGEgXcxv+d0sHT7YYL0O0rPDCIhkZ3qsdFiFCpzcYPGcjMOkqaVHJQl9z4
 S/gMXxE5SQ==
Received: by smtp.mailfence.com with ESMTPA ;
 Mon, 14 Sep 2020 01:43:10 +0200 (CEST)
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id 80745202541909; Mon, 14 Sep 2020 00:43:09 +0100 (BST)
Date: Mon, 14 Sep 2020 00:43:09 +0100
From: Alan Third <alan@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
Message-ID: <20200913234309.GH93185@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Lars Ingebrigtsen <larsi@HIDDEN>, Dale Sedivec <dale@HIDDEN>,
 43381 <at> debbugs.gnu.org
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
 <87a6xtff19.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87a6xtff19.fsf@HIDDEN>
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED,
 BAYES_00 device=10.2.0.1
X-ContactOffice-Account: com:241649512
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org, Dale Sedivec <dale@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Mon, Sep 14, 2020 at 01:11:30AM +0200, Lars Ingebrigtsen wrote:
> Dale Sedivec <dale@HIDDEN> writes:
> 
> > The Emacs manual says[1], "the text shown under the cursor is drawn using
> > the frame’s background color."  However, on the NS port, the foreground
> > for text under the cursor seems to be taken from the face at point
> > rather than the frame's background color.
> >
> > [1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html
> >
> > To illustrate this, start emacs -Q and eval:
> >
> >     (progn
> >       (switch-to-buffer (generate-new-buffer "test"))
> >       (insert (propertize "testing"
> >                           'face '((:background "blue" :foreground "white"))))
> >       (goto-char 1))
> 
> It's not just the NS port, apparently -- I get the same in Debian.

Now you mention it, I can see that the X ports use the face colours as
well...

xterm.c:1518
      xgcv.background = s->f->output_data.x->cursor_pixel;
      xgcv.foreground = s->face->background;
           ^               ^
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 13 Sep 2020 23:37:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 19:37:31 2020
Received: from localhost ([127.0.0.1]:52063 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHbYp-00055G-3v
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:37:31 -0400
Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:43290)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>) id 1kHbYm-000551-DS
 for 43381 <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:37:30 -0400
Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15])
 by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id C909A4E0;
 Mon, 14 Sep 2020 01:37:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600040241; 
 s=20200222-6h9o; d=idiocy.org; i=alan@HIDDEN;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To;
 l=3711; bh=lOaS+2tqC27d1sW6DEO05WxG3BXoUfCqQrCbC5tHO9M=;
 b=DNgFcEpMgtKq4yTVQteyGpgIxsIC7KP2Gb++UKXsLLMhqSNQSD6H/bGrxJknAbAN
 Ghq9TIULkEmSZvXQa00ENMkAQAsfafGYrZitU9fisygycFat0atRzaKCR6PRpPLlUiw
 4nJVnWLPE43LKF7yyyI35dl+/UYKUQosGSYXcsuvAbLtI4w/VnB7lBgPLCSExpkUak1
 1vo85xp20AQSXF+EMKtQvcEUGGEPZbAY2iA7g6BgG/7W/iTYPBORrX/uFTuuZpQeKsi
 E4C6Ofose/cL2EU/eqNMu3QYLfV8xyFR82LKgV0fZppjJxkAPy/7DCYRMLYFHoRUbpO
 CL5mKffJuA==
Received: by smtp.mailfence.com with ESMTPA ;
 Mon, 14 Sep 2020 01:37:17 +0200 (CEST)
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id 3B2962025416F5; Mon, 14 Sep 2020 00:37:16 +0100 (BST)
Date: Mon, 14 Sep 2020 00:37:16 +0100
From: Alan Third <alan@HIDDEN>
To: Dale Sedivec <dale@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
Message-ID: <20200913233716.GG93185@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>,
 Dale Sedivec <dale@HIDDEN>, 43381 <at> debbugs.gnu.org
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="gatW/ieO32f1wygP"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED,
 BAYES_00 device=10.2.0.21
X-ContactOffice-Account: com:241649512
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--gatW/ieO32f1wygP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Sun, Sep 13, 2020 at 03:02:02PM -0500, Dale Sedivec wrote:
> The Emacs manual says[1], "the text shown under the cursor is drawn using
> the frame’s background color."  However, on the NS port, the foreground
> for text under the cursor seems to be taken from the face at point
> rather than the frame's background color.
> 
> [1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html
> 
> To illustrate this, start emacs -Q and eval:
> 
>     (progn
>       (switch-to-buffer (generate-new-buffer "test"))
>       (insert (propertize "testing"
>                           'face '((:background "blue" :foreground "white"))))
>       (goto-char 1))
> 
> You should be in a new buffer with some white-on-blue text.  Put point
> over any of that text and you should see the text under the default box
> cursor becomes (a hard-to-read) blue-on-black, taking the background
> color at point, rather than white-on-black, which it should be if it
> took the frame's background color.

The attached appears to fix it for me, however I'm not sure it's the
right fix. The X ports appear to have a much neater system for setting
the colours which may be worth emulating in the NS port.

-- 
Alan Third

--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="0001-Fix-NS-cursor-colors-bug-43381.patch"

From 4c6509108bc2d3d9c37f88b1d915e8d04ce9a0c6 Mon Sep 17 00:00:00 2001
From: Alan Third <alan@HIDDEN>
Date: Mon, 14 Sep 2020 00:19:05 +0100
Subject: [PATCH] Fix NS cursor colors (bug#43381)

* src/macfont.m (macfont_draw): Select the correct color when drawing
a cursor.
* src/nsterm.m (ns_draw_glyph_string): Don't fiddle with the face.
---
 src/macfont.m | 10 +++++++++-
 src/nsterm.m  | 14 --------------
 2 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/src/macfont.m b/src/macfont.m
index 904814647f..a73c1f01fe 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2923,7 +2923,15 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
       CGAffineTransform atfm;
 
       CGContextScaleCTM (context, 1, -1);
-      CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND (context, face, s->f);
+
+      if (s->hl == DRAW_CURSOR && s->w->phys_cursor_type == FILLED_BOX_CURSOR)
+        {
+          struct face *frame_face = FRAME_DEFAULT_FACE (s->f);
+          CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND (context, frame_face, s->f);
+        }
+      else
+        CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND (context, face, s->f);
+
       if (macfont_info->synthetic_italic_p)
         atfm = synthetic_italic_atfm;
       else
diff --git a/src/nsterm.m b/src/nsterm.m
index 26059ab67c..7e3fb4a0cb 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -4397,13 +4397,6 @@ overwriting cursor (usually when cursor on a tab) */
         ns_maybe_dumpglyphs_background
           (s, s->first_glyph->type == COMPOSITE_GLYPH);
 
-      if (s->hl == DRAW_CURSOR && s->w->phys_cursor_type == FILLED_BOX_CURSOR)
-        {
-          unsigned long tmp = NS_FACE_BACKGROUND (s->face);
-          NS_FACE_BACKGROUND (s->face) = NS_FACE_FOREGROUND (s->face);
-          NS_FACE_FOREGROUND (s->face) = tmp;
-        }
-
       {
         BOOL isComposite = s->first_glyph->type == COMPOSITE_GLYPH;
 
@@ -4424,13 +4417,6 @@ overwriting cursor (usually when cursor on a tab) */
         ns_draw_text_decoration (s, s->face, col, s->width, s->x);
       }
 
-      if (s->hl == DRAW_CURSOR && s->w->phys_cursor_type == FILLED_BOX_CURSOR)
-        {
-          unsigned long tmp = NS_FACE_BACKGROUND (s->face);
-          NS_FACE_BACKGROUND (s->face) = NS_FACE_FOREGROUND (s->face);
-          NS_FACE_FOREGROUND (s->face) = tmp;
-        }
-
       ns_unfocus (s->f);
       break;
 
-- 
2.26.1


--gatW/ieO32f1wygP--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43381 <at> debbugs.gnu.org:


Received: (at 43381) by debbugs.gnu.org; 13 Sep 2020 23:11:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 19:11:43 2020
Received: from localhost ([127.0.0.1]:52010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHb9r-0000A1-7h
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:11:43 -0400
Received: from quimby.gnus.org ([95.216.78.240]:50466)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kHb9p-00009m-8d
 for 43381 <at> debbugs.gnu.org; Sun, 13 Sep 2020 19:11:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=GGUDg0RwXfS529VdTH6FxdFvGV5HC5zslG3QwCovoYs=; b=t+5NJSQ0skaLa2K8jbhCP7O2V1
 zG4YZnPAO0v70iHzIt0KAvh+4YDCLBginZ99Vd7DV8cBOIyNN89mGua4QiG60LBDl41YtxyG4/11Z
 w/PJ/SVq8/v8AqgSbljuP/DvGMZ4DveaYNTuV96d3A1dI3BJFishqDMhgXBGVRjiNkeI=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kHb9g-0000wT-67; Mon, 14 Sep 2020 01:11:35 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Dale Sedivec <dale@HIDDEN>
Subject: Re: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
References: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
X-Now-Playing: Rema Rema's _Fond Reflections (1): Demos and Demolitions_:
 "Why Ask Why"
Date: Mon, 14 Sep 2020 01:11:30 +0200
In-Reply-To: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN> (Dale Sedivec's
 message of "Sun, 13 Sep 2020 15:02:02 -0500")
Message-ID: <87a6xtff19.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Dale Sedivec <dale@HIDDEN> writes: > The Emacs manual
   says[1], "the text shown under the cursor is drawn using > the frame’s background
    color." However, on the NS port, the foreground > for text under the cursor
    seems to be taken fro [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43381
Cc: 43381 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Dale Sedivec <dale@HIDDEN> writes:

> The Emacs manual says[1], "the text shown under the cursor is drawn using
> the frame=E2=80=99s background color."  However, on the NS port, the fore=
ground
> for text under the cursor seems to be taken from the face at point
> rather than the frame's background color.
>
> [1]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Dis=
play.html
>
> To illustrate this, start emacs -Q and eval:
>
>     (progn
>       (switch-to-buffer (generate-new-buffer "test"))
>       (insert (propertize "testing"
>                           'face '((:background "blue" :foreground "white"=
))))
>       (goto-char 1))

It's not just the NS port, apparently -- I get the same in Debian.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Sep 2020 20:02:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 16:02:16 2020
Received: from localhost ([127.0.0.1]:51809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHYCV-0001um-0L
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 16:02:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:40624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dale@HIDDEN>) id 1kHYCQ-0001ua-3w
 for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 16:02:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37482)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dale@HIDDEN>) id 1kHYCP-0004bZ-N1
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 16:02:09 -0400
Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:45180)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dale@HIDDEN>) id 1kHYCL-0003D5-Qh
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 16:02:09 -0400
Received: by mail-io1-xd33.google.com with SMTP id y74so3582753iof.12
 for <bug-gnu-emacs@HIDDEN>; Sun, 13 Sep 2020 13:02:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=codefu-org.20150623.gappssmtp.com; s=20150623;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=62MsHtzkvAxeEYRvgPLODFtlcY2e+0nr9Who+NWUhRY=;
 b=pe4HG0hu2RWPxsz0TKzstYxcmB/N/i0L/QEDyrmxXFcxBzV+Vc6iJLe7kMvVrHJw4T
 OUU2k4Fu8MAmwng8J9QS4WmXLKBDxl+KLFIj05XO6E+EXrs+K1gkRBL9NYsM+FM7UvZz
 fmHRmhRA/yZeRR3DGu+S2afN2iLeCNPNZBwcBYw5TevTxJTzrMDRA5P67oAo5swegyDe
 2Vv2SSulewWsI3q0AvXShaU94Tve0dVc4jLGsevJGH/SNOOVauIsojKNC4uI3gv42jBu
 gAvJ06TC/RiPl7odBlNW/wTGdzKK+7o7wapdlrZJMX0us+HJOaglQ/oIPiWsxAIDrjf4
 b2nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=62MsHtzkvAxeEYRvgPLODFtlcY2e+0nr9Who+NWUhRY=;
 b=h6p62uL3GxppwgasP87/9cItRBnjirnfbHi+l+pBGeMdtTBKBF/SMA9r4R0FyFS67C
 GPEuMys7c+nJ9dZzNYnKo4rJPxBIdtIsufFjlo8n2xVjhUhhgFasTnYAnOwnqe+iWOD+
 fDf2mQJPWrZJCB/+9G/GCw8M/ayuB0dNfE2Dpa7cQdR7LMGxI0msTXlp+7qB+gC3ITUV
 DfQY2TJQ5clRJ1f+eYyfKFQW2QgdlEGvXpP8cHOXVldLcPL+r7Fe8B8jPVUIN8d+vqJs
 805eI1KUdlQ6mJyPg7nyTZiFyZnC4RU8kcaxpY8wcHPD+6T7BlQ2mACuJY5FnTnHP/vG
 64rQ==
X-Gm-Message-State: AOAM531ovHNpzEl2S5Obw4ceu+kKB8B+m88O5IKpNzh30D1rdL+Ws02F
 eTbbUuYmzpMBp+nwoSoFXoeRoHnzO2LkkRXz
X-Google-Smtp-Source: ABdhPJwAl8wU2xkn3sUC5g+o02/gnQndTVbx1salAeC/ckEmY5kO2YMdrrBOUZtHaEsz2nrIcyUtqw==
X-Received: by 2002:a5e:8d18:: with SMTP id m24mr8813594ioj.158.1600027323351; 
 Sun, 13 Sep 2020 13:02:03 -0700 (PDT)
Received: from dale.caliginous.net (152.160.30.136.in-addr.arpa.
 [136.30.160.152])
 by smtp.gmail.com with ESMTPSA id a23sm4652009ioc.54.2020.09.13.13.02.02
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 13 Sep 2020 13:02:02 -0700 (PDT)
From: Dale Sedivec <dale@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
Subject: 27.1.50; Maybe wrong cursor FG color in NS port
Message-Id: <E9E4DDCB-5547-4FB4-94DC-D121CB8C35CA@HIDDEN>
Date: Sun, 13 Sep 2020 15:02:02 -0500
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3445.104.15)
Received-SPF: none client-ip=2607:f8b0:4864:20::d33;
 envelope-from=dale@HIDDEN; helo=mail-io1-xd33.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

The Emacs manual says[1], "the text shown under the cursor is drawn =
using
the frame=E2=80=99s background color."  However, on the NS port, the =
foreground
for text under the cursor seems to be taken from the face at point
rather than the frame's background color.

[1]: =
https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.h=
tml

To illustrate this, start emacs -Q and eval:

    (progn
      (switch-to-buffer (generate-new-buffer "test"))
      (insert (propertize "testing"
                          'face '((:background "blue" :foreground =
"white"))))
      (goto-char 1))

You should be in a new buffer with some white-on-blue text.  Put point
over any of that text and you should see the text under the default box
cursor becomes (a hard-to-read) blue-on-black, taking the background
color at point, rather than white-on-black, which it should be if it
took the frame's background color.

This became obvious to me when using the modus-vivendi theme in
combination with auto-highlight-symbol[2].  modus-vivendi uses a black
frame background and a white cursor.  auto-highlight-symbol gives the
symbol at point an orange background, so when it's highlighting the
symbol under the cursor, I end up with modus-vivendi's white cursor
background and an orange foreground.  This orange-on-white is kind of
unreadable.  If, instead, the cursor took the frame's background as its
foreground, I would have a more readable white cursor containing black
text (black-on-white).

[2]: https://github.com/gennad/auto-highlight-symbol



In GNU Emacs 27.1.50 (build 1, x86_64-apple-darwin18.7.0, NS =
appkit-1671.60 Version 10.14.6 (Build 18G6020))
of 2020-09-11 built on Dale.caliginous.net
Repository revision: f3373901e5cc6c198cc36af29f9e2f64402f3e9e
Repository branch: emacs-27
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.6

Recent messages:
Loading /Users/dale/.emacs.d/recipes/paredit-kill-whole-line...done
[2020-09-13 14:42:13.668218] ls does not support --dired; see =
=E2=80=98dired-use-ls-dired=E2=80=99 for more details.
Loading =
/Users/dale/.emacs.d/recipes/markdown-mode-copy-as-html-email...done
Loading =
/Users/dale/.emacs.d/recipes/markdown-mode-unindent-when-editing-code-bloc=
ks...done
[2020-09-13 14:42:13.768282] markdown-mode math support enabled
[2020-09-13 14:42:13.812945] Note: standard-indent adjusted to 2
[2020-09-13 14:42:14.531470] Starting new Ispell process =
/opt/local/bin/aspell with default dictionary...done
[2020-09-13 14:42:14.625218] For information about GNU Emacs and the GNU =
system, type C-h C-a.
[2020-09-13 14:42:14.654638] Package cl is deprecated
Wrote /Users/dale/.emacs.d/persp-confs/persp-auto-save [3 times]

Configured using:
'configure --with-ns --without-x --with-modules --with-xml2 --with-json
--with-cairo --with-gnutls --with-xpm --with-jpeg --with-tiff
--with-gif --with-png --with-rsvg'

Configured features:
RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM
NS MODULES THREADS JSON PDUMPER LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
  global-magit-file-mode: t
  magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  auto-highlight-symbol-mode: t
  company-prescient-mode: t
  company-tng-mode: t
  company-mode: t
  elpy-mode: t
  electric-pair-mode: t
  flyspell-mode: t
  goto-address-mode: t
  highlight-parentheses-mode: t
  show-paren-mode: t
  which-function-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  winum-mode: t
  winner-mode: t
  volatile-highlights-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  sticky-region-mode: t
  shackle-mode: t
  save-place-mode: t
  black-format-on-save-mode: t
  recentf-mode: t
  pyvenv-tracking-mode: t
  pyvenv-mode: t
  counsel-projectile-mode: t
  projectile-mode: t
  ivy-prescient-mode: t
  prescient-persist-mode: t
  persp-mode: t
  shell-dirtrack-mode: t
  nav-stack-mode: t
  minions-mode: t
  global-hl-todo-mode: t
  hl-todo-mode: t
  flycheck-pos-tip-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  auto-frame-resize-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  dtrt-indent-global-mode: t
  dtrt-indent-mode: t
  global-diff-hl-mode: t
  diff-hl-mode: t
  counsel-mode: t
  ivy-mode: t
  delete-selection-mode: t
  clean-aindent-mode: t
  carousel-mode: t
  global-auto-revert-mode: t
  global-atomic-chrome-edit-mode: t
  global-anzu-mode: t
  anzu-mode: t
  el-patch-use-package-mode: t
  override-global-mode: t
  which-key-mode: t
  auto-compile-on-load-mode: t
  auto-compile-on-save-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-stan hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-stan
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-exp hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-J hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-J
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-emacs-lisp hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-emacs-li=
sp
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-css hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-lob hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-irc hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-forth hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-macs hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-version hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-version=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-scheme hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-abc hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-abc
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-C hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-capture hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-capture=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ref hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-clojure hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-mouse hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ledger hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ledger
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-ctags hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-entities hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-entitie=
s
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-archive hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-archive=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-screen hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-bibtex hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-haskell hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-asymptote hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-asymptot=
e
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-table hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-eww hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-org hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-num hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-plot hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-rmail hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-awk hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-groovy hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-octave hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-faces hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-colview hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-colview=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-R hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-timer hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ebnf hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ebnf
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-mobile hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-fortran hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-shell hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-perl hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-sqlite hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-sed hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-list hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ruby hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-eval hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-habit hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-clock hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-goto hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-html hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-src hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-lisp hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-eshell hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ditaa hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-pcomplete hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-pcomple=
te
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-lint hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-latex hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-sass hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-io hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-io
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-tangle hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-calc hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-java hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-icalendar hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-icalenda=
r
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-mhe hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-attach-git hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-attach-=
git
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-md hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-beamer hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-element hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-element=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-protocol hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-protoco=
l
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-mscgen hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-mscgen
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-gnuplot hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-tempo hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-latex hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-w3m hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-id hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-vala hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-vala
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-man hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-feed hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-lua hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-table hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-ocaml hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-coq hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-coq
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-gnus hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-picolisp hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-picolisp=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-indent hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-lilypond hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-lilypond=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-matlab hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-datetree hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-datetre=
e
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-docview hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-python hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-makefile hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-makefile=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-duration hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-duratio=
n
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-agenda hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-dot hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-js hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-publish hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-inlinetask hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-inlinet=
ask
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-org hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-keys hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-core hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-compat hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-odt hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-info hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-plantuml hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-plantuml=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-eshell hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-ascii hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-loaddefs hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-loaddef=
s
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-hledger hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-hledger
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-maxima hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ol-bbdb hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-macro hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-sql hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-attach hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-processing hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-processi=
ng
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ox-texinfo hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-crypt hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-footnote hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-footnot=
e
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/org-install hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/org-install=

/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-comint hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/dale/.emacs.d/elpa/org-plus-contrib-20200823/ob-shen hides =
/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/org/ob-shen

Features:
(shadow sort mail-extr emacsbug sendmail amx frameset adaptive-wrap
smartparens-markdown markdown-mode edit-indirect whitespace wspc-hydra
rainbow-mode aggressive-indent paredit macrostep-c cmacexp macrostep
magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
magit-diff smerge-mode magit-core magit-autorevert magit-margin
magit-transient magit-process magit-mode git-commit transient magit-git
magit-section magit-utils crm log-edit pcvs-util add-log with-editor
async-bytecomp async bug-reference smartparens-c cc-mode-expansions
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs octave-expansions octave smie editorconfig-core
editorconfig-core-handle editorconfig-fnmatch auto-highlight-symbol
company-keywords company-etags company-gtags company-template
company-dabbrev-code company-dabbrev company-files company-capf
company-prescient company-tng company elpy elpy-rpc elpy-shell
elpy-profile elpy-django s elpy-refactor ido smartparens-python
elec-pair python-el-fgallina-expansions python tramp-sh tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp
flyspell ispell goto-addr highlight-parentheses paren which-func
modus-vivendi-theme persistent-soft list-utils pcache eieio-compat
eieio-base font-utils haskell-snippets yasnippet-snippets yasnippet
ace-window winum winner windmove etags fileloop volatile-highlights
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons memoize
unicode-fonts undo-tree diff sticky-region smartparens-config
smartparens-org smartparens-text smartparens shackle trace server
saveplace reformatter recentf tree-widget pyvenv eshell esh-cmd esh-ext
esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util
editorconfig counsel-projectile projectile grep ibuf-ext ibuffer
ibuffer-loaddefs ivy-prescient prescient bs persp-mode org-clock
ob-shell shell ob-sql ob-python ol-eww eww mm-url url-queue ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy
url-expand url-methods url-history mailcap shr svg xml dom gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc
nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny
rfc822 mml mml-sec epa epg epg-config mailabbrev gmm-utils mailheader
gnus-win gnus nnheader gnus-util rmail rmail-loaddefs mail-utils
ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m
org-tempo tempo org-id org-refile org-colview org-element avl-tree
generator the-org-mode-expansions org-insert-dblock org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint
org-pcomplete pcomplete org-list org-faces org-entities time-date
noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol
org-keys org-compat org-macs org-loaddefs format-spec cal-menu calendar
cal-loaddefs nav-stack-ivy hydra lv nav-stack bilist multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect move-text minions smart-tabs
lisp-comment-dwim ivy-avy avy hl-todo flycheck-pos-tip pos-tip
flycheck-package package-lint imenu finder flycheck frame-resize hi-lock
cus-edit cus-start cus-load wid-edit expand-region text-mode-expansions
er-basic-expansions expand-region-core expand-region-custom dtrt-indent
diff-hl vc-dir ewoc vc vc-dispatcher counsel xdg xref project compile
comint ansi-color swiper ivy flx delsel ring ivy-faces ivy-overlay colir
color clean-aindent-mode carousel bookmark+ bookmark+-key derived
dired-x dired dired-loaddefs bookmark+-1 bookmark+-bmu bookmark+-lit
bookmark text-property-search pp blackout autorevert filenotify
atomic-chrome websocket url-cookie url-domsuf url-util bindat let-alist
anzu thingatpt underlings vc-git diff-mode find-func cl-extra el-patch
exec-path-from-shell bind-key easy-mmode which-key advice pcase dash
treepy quelpa mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr lisp-mnt help-fns radix-tree
help-mode jka-compr auto-compile packed finder-inf dsedivec-theme
autoloads tex-site edmacro kmacro rx cl info package easymenu browse-url
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 867073 60401)
(symbols 48 74053 7)
(strings 32 252460 22758)
(string-bytes 1 7748312)
(vectors 16 96650)
(vector-slots 8 1824340 60124)
(floats 8 1505 265)
(intervals 56 6735 83)
(buffers 1000 33))




Acknowledgement sent to Dale Sedivec <dale@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43381; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 18 Sep 2020 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.