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


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




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.