From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.bugs Subject: Re: Bug#127943: Bug in htmlize.el Date: Sat, 20 Sep 2003 22:40:24 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87r8njey31.fsf@cachemir.echo-net.net> <1197.1063152238@mixed> <83k784rl0h.wl%algernon@bonehunter.rulez.org> <83ad8zryyx.wl%algernon@midgard.debian.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064090408 15308 80.91.224.253 (20 Sep 2003 20:40:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2003 20:40:08 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Peter S Galbraith , 127943@bugs.debian.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 20 22:40:05 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0oWT-0006pI-00 for ; Sat, 20 Sep 2003 22:40:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0oVz-0005BM-S6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Sep 2003 16:39:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0oVx-000578-Ho for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2003 16:39:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0oVv-000568-Uz for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2003 16:39:32 -0400 Original-Received: from [213.191.128.10] (helo=mxout.iskon.hr) by monty-python.gnu.org with smtp (Exim 4.22) id 1A0oVv-000564-BT for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2003 16:39:31 -0400 Original-Received: (qmail 16721 invoked from network); 20 Sep 2003 22:39:29 +0200 Original-Received: from mx.iskon.hr (qmailr@213.191.128.11) by mxout.iskon.hr with SMTP; 20 Sep 2003 22:39:29 +0200 Original-Received: (qmail 7671 invoked from network); 20 Sep 2003 22:39:29 +0200 Original-Received: from hniksic.iskon.hr (213.191.139.17) by mx.iskon.hr with SMTP; 20 Sep 2003 22:39:29 +0200 Original-To: Gergely Nagy In-Reply-To: <83ad8zryyx.wl%algernon@midgard.debian.net> (Gergely Nagy's message of "Sat, 20 Sep 2003 22:23:18 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5821 [ Added Cc to bug-gnu-emacs ] Gergely Nagy 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"?