From unknown Mon Jun 23 16:44:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3434 <3434@debbugs.gnu.org> To: bug#3434 <3434@debbugs.gnu.org> Subject: Status: 23.0.91; Cursor face not changing Reply-To: bug#3434 <3434@debbugs.gnu.org> Date: Mon, 23 Jun 2025 23:44:53 +0000 retitle 3434 23.0.91; Cursor face not changing reassign 3434 emacs,ns submitter 3434 Adrian Robert severity 3434 normal tag 3434 unreproducible moreinfo thanks From adrian.b.robert@gmail.com Sun May 31 08:27:22 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 31 May 2009 15:27:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4VFRHRT025882 for ; Sun, 31 May 2009 08:27:18 -0700 Received: from mx10.gnu.org ([199.232.76.166]:56135) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MAmwL-00048t-Jx for emacs-pretest-bug@gnu.org; Sun, 31 May 2009 11:27:16 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MAmwI-0000vB-ET for emacs-pretest-bug@gnu.org; Sun, 31 May 2009 11:27:12 -0400 Received: from mail-px0-f179.google.com ([209.85.216.179]:65202) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MAmwH-0000tE-OX for emacs-pretest-bug@gnu.org; Sun, 31 May 2009 11:27:10 -0400 Received: by pxi9 with SMTP id 9so6949714pxi.14 for ; Sun, 31 May 2009 08:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=w4/MSxmgAaif0yR/vVt6KSbT3oBKG5m2kk4D9HdcBPs=; b=N4dEYSBSXr/VwyI9iUEjB5IHw+VQUl59kXzrTkIsC110gryJPSTlZnlB1RKHiW4QEd nhgG8SpPXPsO1aNFVvvw/39GNI7YgPd1ghwOosq3So2ib+zL97eWwjBVlUxJFlnfq5MP qmkq0Rg9dcHDD6SmNeE2aUpGkGOenPxG6z5Gw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=Y5gVu46nODoifC5TAIfdLIRZ1g5detC9w+zV1e1SmX3omurRuglFY8JFRGY3d/sovG NkG5gnBMHk9u9SkmgYIBRK92RLWTqBVFKQmMfQEgL+1UuUUHLfDIm8y7++tLEKLGjNaz EnLYBlT9vYGiZdgcokKbzsqNF6CqMNiFLNaqo= Received: by 10.140.161.11 with SMTP id j11mr4886598rve.114.1243783624743; Sun, 31 May 2009 08:27:04 -0700 (PDT) Received: from ?110.49.0.112? ([110.49.0.112]) by mx.google.com with ESMTPS id n40sm4645718wag.65.2009.05.31.08.26.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 May 2009 08:27:04 -0700 (PDT) In-Reply-To: <8763hmheii.fsf@cyd.mit.edu> References: <8763hmheii.fsf@cyd.mit.edu> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: =?ISO-8859-1?Q?Alberto_Sim=F5es?= , emacs-pretest-bug@gnu.org, Nikolaj Schumacher Content-Transfer-Encoding: 7bit From: Adrian Robert Subject: Re: 23.0.91; Cursor face not changing Date: Sun, 31 May 2009 22:27:27 +0700 To: Chong Yidong X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) On Apr 3, 2009, at 5:33 AM, Chong Yidong wrote: >> Although I am able to configure the cursor face using the usual >> custumization tool, the real colors/face doesn't change. >> >> While the customization tool added to my .emacs the line: >> '(cursor ((t (:background "wheat" :foreground "black")))) >> >> under the faces configuration command, when emacs starts I get back >> the original cursor colors (that are just annoying because I can't >> see >> the character behind the cursor). >> >> Oh, This emacs is compiled by me, from cvs (about 15 days ago), under >> MacOS/NS. > > I can't reproduce this, so it's likely a bug on NS. Adrian, can you > reproduce it? I cannot. Nikolaj Schumacher added later that: > The same seems to happen for the region face. The background color > reverts to ns_selection_color sometime after the custom variables are > read. (It works when reading the custom settings again, later.) I looked at the code and cannot see how this could be happening. The region face is set to ns_selection_color in ns-win.el, but this should be overridden by .emacs read later. This should have been cleared up by David Reitter's changes around 2009-03-14, though since the ChangeLog entries are incomplete it is difficult to be certain when the last broken code was removed. Anyway, if you still observe these in a recent build let me know and I'll go on a more thorough witch-hunt. thanks, Adrian From rgm@gnu.org Wed Jun 17 12:22:01 2009 Received: (at control) by emacsbugs.donarmstrong.com; 17 Jun 2009 19:22:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5HJLua5018573 for ; Wed, 17 Jun 2009 12:21:57 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MH0hn-0005IR-QO; Wed, 17 Jun 2009 15:21:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19001.16979.757746.667121@fencepost.gnu.org> Date: Wed, 17 Jun 2009 15:21:55 -0400 From: Glenn Morris To: control Subject: control reassign 3286 emacs,ns reassign 2857 emacs22 severity 2835 minor reassign 3596 emacs,ns merge 3596 3588 tags 3392 moreinfo reassign 3434 emacs,ns merge 2868 3434 merge 3210 3408 From luke.renn@gmail.com Sat Aug 15 21:33:46 2009 Received: (at 3434) by emacsbugs.donarmstrong.com; 16 Aug 2009 04:33:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7G4XiZX027352 for <3434@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 21:33:46 -0700 Received: by ewy9 with SMTP id 9so2438677ewy.1 for <3434@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 21:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=R9ZgUxBzXse0utGb94d1pV3Eu3hzaDObOoJKmp2tKwY=; b=EuuJ/7ziT5Qwm2NYeqByw6ckwvxYvn4oJzvN++yiyX9e3p8tL87hwetS2Dable+nXH PVru1rkwGFDcBnykAddB9VuNHJcUx+4jmTM2lZpILjDbSIDqaUnDbb3i+4KG4Q8b3EB7 E4xoNvVM2yTckrnYqygos8hVCxgrFmoozF6yE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=ZwHJCQRagJ2NOqcyxUyOoNnpv2QoVPC8mjHvoneznNsi3i+dwCeUmeZynTlhAFLq17 TI2N36b2F8TIYf3yjIX+S8E6QfD33cxVpnFhfbR5UB1N9S8/3bk1NxZ3CMr3S+T+NNx5 ME5bA4oJ5FsO5FrqPChRUFuNDsP0h5IyNBzhk= MIME-Version: 1.0 Received: by 10.216.71.83 with SMTP id q61mr766978wed.14.1250397218707; Sat, 15 Aug 2009 21:33:38 -0700 (PDT) Date: Sun, 16 Aug 2009 00:33:38 -0400 Message-ID: <25cce60f0908152133u67ac8a33u1ab832e519fad008@mail.gmail.com> Subject: Re: 23.0.91; Cursor face not changing From: Luke Renn To: 3434@debbugs.gnu.org Cc: adrian.b.robert@gmail.com Content-Type: multipart/alternative; boundary=00504502d1590c9ab104713acaee --00504502d1590c9ab104713acaee Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > I looked at the code and cannot see how this could be happening. The > region face is set to ns_selection_color in ns-win.el, but this > should be overridden by .emacs read later. It probably should, but it doesn't seem to. This bug is easily fixed by changing the following line in ns-win.el: (set-face-background 'region "ns_selection_color") To: (if (not (face-attribute 'region :background)) (set-face-background 'region "ns_selection_color")) Tested and confirmed on a git checkout from 8/14. The real fix may be to change when ns-win.el runs, but I didn't look into that. Thanks, Luke --00504502d1590c9ab104713acaee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> I looked at the code and cannot see how this co=
uld be happening.  The  
> region face is set to ns_selection_color i= n ns-win.el, but this
> should be overridden by .emacs read later.<= br>
It probably should, but it doesn't seem to.

This bug is easi= ly fixed by changing the following line in ns-win.el:

(set-face-back= ground 'region "ns_selection_color")

To:

(if (n= ot (face-attribute 'region :background))
(set-face-background 'region "ns_selection_color"))
Tested and confirmed on a git checkout from 8/14.

The real fix may= be to change when ns-win.el runs, but I didn't look into that.

Thanks,

Luke

--00504502d1590c9ab104713acaee-- From rgm@gnu.org Fri Aug 28 18:18:48 2009 Received: (at control) by emacsbugs.donarmstrong.com; 29 Aug 2009 01:18:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.8 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7T1Illa029940 for ; Fri, 28 Aug 2009 18:18:48 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MhCac-00007N-DB; Fri, 28 Aug 2009 21:18:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19096.33270.328819.646954@fencepost.gnu.org> Date: Fri, 28 Aug 2009 21:18:46 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: k;*IPZ;JvME0};Ne;crim!bBD52RgtMQ\.Br=;>ZMK4oj3B#yO(M6FF6oS`~+dvKv/=DD' X-Debbugs-No-Ack: yes reassign 4194 emacs,ns merge 3434 4194 reassign 4275 emacs,w32 reassign 4265 spam reassign 4266 spam reassign 4267 spam reassign 4272 spam reassign 4277 spam reassign 4278 spam reassign 4279 spam From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 14:23:37 2010 Received: (at control) by debbugs.gnu.org; 24 Jun 2010 18:23:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5N-00051L-8v for submit@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:37 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5K-00051G-K0 for control@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:35 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5OINUI2013527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Jun 2010 14:23:30 -0400 Received: by furry (Postfix, from userid 1000) id 5BF4B16D416; Thu, 24 Jun 2010 20:23:29 +0200 (CEST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 1382 Date: Thu, 24 Jun 2010 14:23:29 -0400 Message-ID: <87r5jw5ly6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) severity 135 minor tags 710 + moreinfo unreproducible close 756 tags 844 + moreinfo unreproducible close 917 close 1000 tags 1125 + moreinfo unreproducible close 1159 severity 1238 wishlist close 1247 close 1381 close 1382 tags 1708 + moreinfo unreproducible close 1993 severity 2024 wishlist close 2236 severity 2299 wishlist tags 2394 + moreinfo unreproducible severity 2507 minor close 2583 tags 2690 + moreinfo unreproducible tags 2812 + moreinfo unreproducible tags 2843 + moreinfo unreproducible tags 2870 + moreinfo unreproducible tags 2877 + moreinfo unreproducible close 3032 close 3273 close 3349 close 4046 close 4358 close 4591 close 4656 thanks From unknown Mon Jun 23 16:44:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Dec 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator