From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62573: 29.0.60; Cursor color not being inverted in emacs-29 Date: Fri, 31 Mar 2023 22:15:54 +0300 Message-ID: <83edp420lx.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62573@debbugs.gnu.org To: Al Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 21:16:15 2023 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 1piKER-0005FV-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 21:16:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piKEI-0001vK-6d; Fri, 31 Mar 2023 15:16:06 -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 1piKEE-0001up-Su for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 15:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piKEE-0007xg-GH for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 15:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piKED-0005UO-Oe for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Mar 2023 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62573 X-GNU-PR-Package: emacs Original-Received: via spool by 62573-submit@debbugs.gnu.org id=B62573.168029015121081 (code B ref 62573); Fri, 31 Mar 2023 19:16:01 +0000 Original-Received: (at 62573) by debbugs.gnu.org; 31 Mar 2023 19:15:51 +0000 Original-Received: from localhost ([127.0.0.1]:34522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piKE3-0005Tx-2B for submit@debbugs.gnu.org; Fri, 31 Mar 2023 15:15:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piKE1-0005Tk-3i for 62573@debbugs.gnu.org; Fri, 31 Mar 2023 15:15:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piKDt-0007vf-Dq; Fri, 31 Mar 2023 15:15:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IB5X/w6GjlsJhYiGsx9YRZjb+cxwxKHP7Yr2TYIKavU=; b=S+tjLaNvxoFR b/JI/Iy35KzzBTuQc+FUHEHrCJL/wEYQAGMZ8Fc1ZF0r99ylwm2mS8cS3BywMps0P+8BtxH+wTT75 s46xeMriQnZevlyI9KU5iuR7DZ6VB8lNaJ8v2SBgfOBjvzrkYwqWAX2PxoH98F+Yyi/izjvuDuj5W e8rn4VCoCOdiGcxGP5HwrHxzpJJiQINuOAsbBvNDtG+VGhq9ZIpwCZgpoVUfaCIQM2Cica0SqhFxf NFVHrjbJbTV5qPj7mEHv08ZVQAAdPsJ60VBC0SIAMwJwr+S/TDrj47sMqFuPwBS52lMSmUmoI62TF HzsVe4AK5/eo8csRKLa+0g==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piKDs-0004KA-CT; Fri, 31 Mar 2023 15:15:40 -0400 In-Reply-To: (message from Al Haji-Ali on Fri, 31 Mar 2023 19:34:05 +0100) 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:259013 Archived-At: > From: Al Haji-Ali > Date: Fri, 31 Mar 2023 19:34:05 +0100 > > > I noticed a change in the default cursor colour of emacs 29. It seems that in emacs 28.2 (at least) the cursor colour is inverted when it is on a background of the same colour but in emacs 29 the cursor colour is not changed making it impossible to see. > > For example, the following code inserts text with a black background (same as the cursor colour). When the cursor is on top of this text in emacs 28.2 it becomes yellow'ish but it is invisible in emacs 29. > > ;; Start with emacs -Q > > (fundamental-mode) > > (defface my-back-face > '((t :foreground "yellow" > :background "black")) > "Testing.") > > (let ((current-string "\ntext to insert")) > (put-text-property 0 (length current-string) > 'face 'my-back-face > current-string) > (insert current-string)) I cannot reproduce this problem here: I get a "yellowish" cursor in Emacs 29 as well. And I'm not aware of any changes in this area between Emacs 28 and Emacs 29. On which platform is that and with what Emacs configuration? (Using "M-x report-emacs-bug" would have collected this information automatically for you.) Thanks.