unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1665: face-foreground on Mac OS 10.4.11
@ 2008-12-21 22:05 ` Alex Schröder 
  2008-12-28  3:00   ` bug#1665: marked as done (face-foreground on Mac OS 10.4.11) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Schröder  @ 2008-12-21 22:05 UTC (permalink / raw)
  To: emacs-pretest-bug

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1665: marked as done (face-foreground on Mac OS 10.4.11)
  2008-12-21 22:05 ` bug#1665: face-foreground on Mac OS 10.4.11 Alex Schröder 
@ 2008-12-28  3:00   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-12-28  3:00 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]


Your message dated Sat, 27 Dec 2008 21:54:25 -0500
with message-id <87iqp5huvy.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1665: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1665
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3802 bytes --]

From: "Alex Schröder" <kensanata@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: face-foreground on Mac OS 10.4.11
Date: Sun, 21 Dec 2008 23:05:22 +0100
Message-ID: <9abbd5730812211405j5c936fc5k2d1a9c46fc8b2f11@mail.gmail.com>

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



[-- Attachment #3: Type: message/rfc822, Size: 1432 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: "Alex Schröder" <kensanata@gmail.com>
Cc: 1665-done@emacsbugs.donarmstrong.com
Subject: Re: face-foreground on Mac OS 10.4.11
Date: Sat, 27 Dec 2008 21:54:25 -0500
Message-ID: <87iqp5huvy.fsf@cyd.mit.edu>

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-28  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87iqp5huvy.fsf@cyd.mit.edu>
2008-12-21 22:05 ` bug#1665: face-foreground on Mac OS 10.4.11 Alex Schröder 
2008-12-28  3:00   ` bug#1665: marked as done (face-foreground on Mac OS 10.4.11) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).