From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71866: 30.0.50; [macOS] Cursor hiding char behind it with certain theme customization Date: Tue, 23 Jul 2024 04:11:56 +0300 Message-ID: References: <86o76sea9d.fsf@gnu.org> <72a0b2e2-600e-46f1-b583-0bed86f27d2d@gutov.dev> <86o76scaou.fsf@gnu.org> <86cyn7cito.fsf@gnu.org> <1659357b-5ca0-47a6-8ff3-4aa26017280b@gutov.dev> <86ttgibxqv.fsf@gnu.org> <7ae61592-8319-4b1a-b973-4015ff1db569@gutov.dev> <86wmlda3jb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27281"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: Alan Third , Eli Zaretskii , 71866@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 23 03:13:15 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sW45a-0006wj-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Jul 2024 03:13:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sW45N-0007Mz-N3; Mon, 22 Jul 2024 21:13:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sW45L-0007D9-Af for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 21:12:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sW45L-0001Sb-17 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 21:12:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sW45O-0004rc-FX for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2024 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2024 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71866 X-GNU-PR-Package: emacs Original-Received: via spool by 71866-submit@debbugs.gnu.org id=B71866.172169712918635 (code B ref 71866); Tue, 23 Jul 2024 01:13:02 +0000 Original-Received: (at 71866) by debbugs.gnu.org; 23 Jul 2024 01:12:09 +0000 Original-Received: from localhost ([127.0.0.1]:58800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sW44X-0004qV-FL for submit@debbugs.gnu.org; Mon, 22 Jul 2024 21:12:09 -0400 Original-Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]:37151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sW44W-0004qI-2W for 71866@debbugs.gnu.org; Mon, 22 Jul 2024 21:12:08 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A1C691140109; Mon, 22 Jul 2024 21:11:58 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Jul 2024 21:11:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1721697118; x=1721783518; bh=zx/gfkJWJy5PGRAMYKoTGh09zNIqW9SistNsqLeS3L4=; b= qGWAdMgF39qDBN8jkwdIsDP0WBafkLbPmPF3RGtaJoCJ3cwgXJoVrb59HfQoi50l 7Mivy2T4DtgFAsDLFg1u4cq+UcdXQrOBBs197D1bXdF/LVxCMmpTzsORB53yXOG1 TTQL6XdhxXJMsMy3dqowiksf3oJVpHNUq7Fx6892ciCMdq8Muzzj1ekpXeOInL+H C3k97w3aq6YII7Z6RizYoTuYFjtIdAeH9UYSr8hheA8x5N+M977D/Q/ln7exM5D/ Jwth1QrfmIIXR5hthr/wiVx5ihbHBkYrhP3u+rHktQDooLgeR/HnHK0V+pqjFdhi EH+Vb4XQnvD19xzbfnIYHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1721697118; x= 1721783518; bh=zx/gfkJWJy5PGRAMYKoTGh09zNIqW9SistNsqLeS3L4=; b=A RPKR9t6eAyOInaKpE4UMF0COKIwxM6SuRlisNovebXEspmyvSF0W0s8xRsqONvOo FVHocm59F8ibBJ6FQgTUhZcFOAjYQ+oAe5BnpfxkNUR4p83uxZ1U/cD+flNoHYEZ +5xpsSE1wX/XJglnzlulKbExKwHhBv5SOmaTwUChNiLYkWXq3aZHAgSz2ozzfGyu aoN0LHOFKvrcLlqaCjADWE3OhB4qHDEIQyX57UmHw+3kmEWt3wNVwcxzlKzkqehc VWxBQmlBpbmf4k0Dq1oO3iWibqYFrZLh7Z0zdlsfK0HI1ajF7PvfsifhfvLTLFq4 iw7Kz5GiRKVn+xHeWzQYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheekgdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnheptdfhuedvtdevleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Jul 2024 21:11:57 -0400 (EDT) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289133 Archived-At: On 22/07/2024 19:02, Alan Third wrote: > On Mon, Jul 22, 2024 at 04:27:30PM +0100, Alan Third wrote: >> >> AFAIK it's the only way of *drawing* the cursor, but it's certainly >> possible that something else is *clearing* that space and not >> redrawing the cursor. Unfortunately I've no idea what that might be. > > FWIW, and apologies if you've already noticed this, but on my Mac I > can see it drawing a white hollow box cursor on the second frame when > the first frame is selected. I can see it overlapping some of the > characters. Not really - I've never seen what you've described. :-( The artifact that I see only happens when the frame in question is the selected one. When I switch to the frame, the character under cursor becomes blank. When I switch away, the character becomes visible again. > Is it possible you're seeing a white box cursor with white text > instead of a black box cursor with white text? Perhaps if Emacs only uses the said "white box cursor" for the active frame only? And only when certain characters are under the cursor? TBF in my custom config I see a more advanced version of this (many/most characters become blank under cursor after switching to some secondary frame) - but still that doesn't seem to happen in non-selected frames. > A little git archaeology shows that the colour handling used to be a > lot more complicated, but it was simplified some time ago. I don't > understand what the old code was doing, and colour handling on the NS > port was always a little different for some reason...