From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.bugs Subject: Re: assuming light or dark background Date: Fri, 22 Feb 2008 17:19:34 +0000 Message-ID: <87lk5c29jt.fsf@liv.ac.uk> References: <87sl048h5t.fsf@jidanni.org> <47ABC40D.4030302@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203700818 9138 80.91.229.12 (22 Feb 2008 17:20:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 17:20:18 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, jidanni@jidanni.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 18:20:40 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 1JSbZf-0004R2-HO for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2008 18:20:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSbZA-00005z-3e for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2008 12:20:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSbYF-0007nL-Ae for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2008 12:19:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSbYD-0007mI-RM for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2008 12:19:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSbYD-0007m6-BT for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2008 12:19:09 -0500 Original-Received: from mxa.liv.ac.uk ([138.253.100.59]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JSbY8-0003az-Ar; Fri, 22 Feb 2008 12:19:04 -0500 Original-Received: from mailhubb.liv.ac.uk ([138.253.100.37]) by mxa.liv.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1JSbY5-0001iW-DT; Fri, 22 Feb 2008 17:19:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=mailhubb.liv.ac.uk) by mailhubb.liv.ac.uk with esmtp (Exim 4.54) id 1JSbY5-0002DR-C9; Fri, 22 Feb 2008 17:19:01 +0000 Original-Received: from pc102091.liv.ac.uk ([138.253.102.91] helo=albion) by mailhubb.liv.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54) id 1JSbY5-0002DO-BY; Fri, 22 Feb 2008 17:19:01 +0000 Original-Received: from dlove by albion with local (Exim 4.67) (envelope-from ) id 1JSbYc-0007Wa-J3; Fri, 22 Feb 2008 17:19:34 +0000 X-Draft-From: ("nnimap+imap.liv.ac.uk:Misc" 160) User-Agent: Gnus/5.110007 (No Gnus v0.7) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:17560 Archived-At: Jason Rumney writes: > jidanni@jidanni.org wrote: >> RFCs are unreadable now for me. Must be due to >> >> (defface rfcview-headlink-face >> '((t (:foreground "blue")) >> (t (:bold t))) >> "Face used for hyperlinks to headings." >> :group 'rfcview) >> > > This doesn't appear to be part of Emacs. Indeed. It isn't part of either. > Probably a better way of > defining that face is > > (defface rfcview-headlink-face > '((t (:inherit 'link))) > "Face used for hyperlinks to headngs." > :group 'rfcview) (facep 'link) => nil > That way it will take advantage of any variations that already exist > for the built-in link face, such as light, dark, grayscale, or user > customizations. If there was a face defined for hyperlinks in the relevant versions of Emacs, it would be appropriate just to use it (with the `face' custom type), not define more vanity faces. That was what we intended for Emacs 21 as far as I remember, even if it didn't get done well. I shouldn't have 281 separately-defined faces in my current session -- Gnus being the biggest culprit.