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: "Alex Schröder" <kensanata <at> gmail.com>
Subject: bug#1665 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 face-foreground on Mac OS 10.4.11)
Date: Sun, 28 Dec 2008 03:00:04 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1665: face-foreground on Mac OS 10.4.11

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.


-- 
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: 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.

[Message part 3 (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''



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.