From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pod Newsgroups: gmane.emacs.bugs Subject: lisp/mail/rmail.el rmail-highlight definition Date: Wed, 30 Jan 2008 20:58:51 +0000 (GMT) Message-ID: <20080130205851.0E8487B64@not-invented-here.oucs.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1201772252 31218 80.91.229.12 (31 Jan 2008 09:37:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2008 09:37:32 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 31 10:37:53 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKVrl-0003jM-0N for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jan 2008 10:37:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKVrJ-0005IZ-MF for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jan 2008 04:37:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKK1J-0007h8-Ky for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2008 15:58:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKK1F-0007gA-Q5 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2008 15:58:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKK1F-0007g0-Hp for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2008 15:58:53 -0500 Original-Received: from sysdev.oucs.ox.ac.uk ([163.1.2.12]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKK1F-0002NU-6J for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2008 15:58:53 -0500 Original-Received: from not-invented-here.oucs.ox.ac.uk (not-invented-here.oucs.ox.ac.uk [129.67.101.74]) by sysdev.oucs.ox.ac.uk (Postfix) with ESMTP id 45B51B9071 for ; Wed, 30 Jan 2008 20:58:51 +0000 (GMT) Original-Received: by not-invented-here.oucs.ox.ac.uk (Postfix, from userid 950) id 0E8487B64; Wed, 30 Jan 2008 20:58:51 +0000 (GMT) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 31 Jan 2008 04:33:35 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17437 Archived-At: I don't think the definition for the rmail-highlight face in emacs 22.1 is correct. The face properties shown by M-x describe-face RET rmail-highlight are all unspecified and indeed M-x list-faces-display shows the rmail-highlight faces as completely plain whereas the highlight face has a darkolivegreen (according to M-x describe-face RET highlight) background. The rmail-highlight face definition appears to be the same in CVS as it is in the lisp/mail/rmail.el from the distributed emacs 22.1 tarball, namely: (defface rmail-highlight '((t :default highlight)) "Face to use for highlighting the most important header fields." :group 'rmail-headers :version "22.1") I think the intent is to derive a face from the highlight face, however the value used above appears to be incorrect on two counts given the description from M-x describe-function defface; there is no :default ATTR and ATTS should be (ATTR VALUE ATTR VALUE ...). I believe the correct value to assign is ((t (:inherit hightlight))). Indeed if I assign this using (custom-set-faces '(rmail-highlight ((t (:inherit highlight))))) I observe the content of From: and Subject: fields in my rmail buffers in a face indistinguishable from the highlight face (i.e. with a darkolivegreen background) whereas without this setting they appear in what looks like the default face. Thank you for your time.