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

Previous Next

Packages: emacs, ns;

Reported by: Adrian Robert <adrian.b.robert <at> gmail.com>

Date: Sun, 31 May 2009 15:30:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Merged with 2868, 2870, 4194

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: Luke Renn <luke.renn <at> gmail.com>
To: 3434 <at> debbugs.gnu.org
Cc: adrian.b.robert <at> gmail.com
Subject: bug#3434: 23.0.91; Cursor face not changing
Date: Sun, 16 Aug 2009 00:33:38 -0400
[Message part 1 (text/plain, inline)]
> 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
[Message part 2 (text/html, inline)]

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.