GNU bug report logs - #1665
face-foreground on Mac OS 10.4.11

Previous Next

Package: emacs;

Reported by: "Alex Schröder" <kensanata <at> gmail.com>

Date: Sun, 21 Dec 2008 22:15:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#1665: marked as done (face-foreground on Mac OS 10.4.11)
Date: Sun, 28 Dec 2008 03:00:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 27 Dec 2008 21:54:25 -0500
with message-id <87iqp5huvy.fsf <at> cyd.mit.edu>
and subject line Re: face-foreground on Mac OS 10.4.11
has caused the Emacs bug report #1665,
regarding face-foreground on Mac OS 10.4.11
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
1665: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1665
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Alex Schröder" <kensanata <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: face-foreground on Mac OS 10.4.11
Date: Sun, 21 Dec 2008 23:05:22 +0100
face-foreground doesn't return the correct foreground color if it is
inherited. In the following example test has a purple foreground,
test2 inherits from test, and both have a purple foreground when I
look at them using list-faces-display. (face-foreground "test2")
returns nil, however.

(progn
  (make-face 'test)
  (set-face-foreground 'test "purple")
  (assert (string= (face-foreground 'test)
		   "purple"))
  (defface test2 '((t (:inherit test))) "Test")
  (assert (string= (face-foreground 'test2)
		   "purple")))

In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, NS apple-appkit-824.48)
 of 2008-12-21 on Pyrobombus.local
Windowing system distributor `Apple', version
97.112.112.108.101.45.97.112.112.107.105.116.45.56.50.52.46.52.56
configured using `configure  '--with-ns''


[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Alex Schröder <kensanata <at> gmail.com>
Cc: 1665-done <at> debbugs.gnu.org
Subject: Re: face-foreground on Mac OS 10.4.11
Date: Sat, 27 Dec 2008 21:54:25 -0500
> face-foreground doesn't return the correct foreground color if it is
> inherited. In the following example test has a purple foreground,
> test2 inherits from test, and both have a purple foreground when I
> look at them using list-faces-display. (face-foreground "test2")
> returns nil, however.

You want to use a non-nil INHERIT argument for face-foreground, I think.


This bug report was last modified 16 years and 210 days ago.

Previous Next


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