bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#127943: Bug in htmlize.el


From: Hrvoje Niksic
Subject: Re: Bug#127943: Bug in htmlize.el
Date: Sat, 20 Sep 2003 22:40:24 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux)

[ Added Cc to bug-gnu-emacs ]

Gergely Nagy <algernon@midgard.debian.net> writes:

>> (or (face-foreground 'default)
>>     (cdr (assq 'foreground-color (frame-parameters)))
>>     "black")
>> 
>
> "unspecified-fg"
>
>> Does it really return "unspecified-fg"?  If so, I'd like to know which
>> one evaluates to that:
>> 
>>     (face-foreground 'default)
>
> This one does.
>  
>> or:
>> 
>>     (cdr (assq 'foreground-color (frame-parameters)))
>
> And this too.

I wonder... is this an Emacs bug?  How is a Lisp program supposed to
interpret "unspecified-fg" as color?  Why don't these functions return
nil instead?

Emacs bug fixers, can you help?  Is (face-foreground 'default)
supposed to return "unspecified-fg"?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]