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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1665 in the body.
You can then email your comments to 1665 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1665; Package emacs. (Sun, 21 Dec 2008 22:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Alex Schröder" <kensanata <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 21 Dec 2008 22:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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''




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Sun, 28 Dec 2008 03:00:04 GMT) Full text and rfc822 format available.

Notification sent to "Alex Schröder" <kensanata <at> gmail.com>:
bug acknowledged by developer. (Sun, 28 Dec 2008 03:00:04 GMT) Full text and rfc822 format available.

Message #10 received at 1665-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 25 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

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.