GNU bug report logs - #4194
23.0.91; Cursor face not changing

Previous Next

Packages: ns, emacs;

Reported by: Nikolaj Schumacher <me <at> nschum.de>

Date: Thu, 20 Aug 2009 20:06:29 UTC

Severity: normal

Tags: moreinfo, unreproducible

Merged with 2868, 2870, 3434

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: bug#3434: closed (Re: bug#4194: 23.0.91; Cursor face not changing)
Date: Thu, 17 Nov 2011 00:19:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#4194: 23.0.91; Cursor face not changing

which was filed against the emacs,ns package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 3434 <at> debbugs.gnu.org.

-- 
4194: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4194
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 4194-done <at> debbugs.gnu.org
Subject: Re: bug#4194: 23.0.91; Cursor face not changing
Date: Wed, 16 Nov 2011 19:17:13 -0500
Version: 24.1

Nikolaj Schumacher wrote:

> Setting the background color seems to work now. The foreground color,
> inverse-video, and others don't stick.

In Emacs 24, the doc for the cursor face will say:

  Currently, only the `:background' attribute is meaningful; all
  other attributes are ignored.

With regards to the region face:

> This bug is easily fixed by changing the following line in ns-win.el:
>
> (set-face-background 'region "ns_selection_color")

This line was removed from ns-win some time ago, so I imagine this is
fixed too.

Please open a new report if there are still issues in the latest version.

[Message part 3 (message/rfc822, inline)]
From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Alberto Simões <albie <at> alfarrabio.di.uminho.pt>,
        emacs-pretest-bug <at> gnu.org, Nikolaj Schumacher <me <at> nschum.de>
Subject: Re: 23.0.91; Cursor face not changing
Date: Sun, 31 May 2009 22:27:27 +0700
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



This bug report was last modified 13 years and 194 days ago.

Previous Next


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