From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: font-lock-warning-face Date: Fri, 24 Feb 2006 02:27:38 +0200 Organization: JURTA Message-ID: <87hd6pr1gx.fsf@jurta.org> References: <17397.46490.581295.954155@kahikatea.snap.net.nz> <17402.61774.37409.530598@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140834093 24054 80.91.229.2 (25 Feb 2006 02:21:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2006 02:21:33 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 25 03:21:28 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FCp3a-0005Ps-HP for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 03:21:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCp3b-0002rd-1F for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 21:21:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCZOu-0003Az-Mm for emacs-devel@gnu.org; Fri, 24 Feb 2006 04:38:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCVjf-0003Tq-U7 for emacs-devel@gnu.org; Fri, 24 Feb 2006 00:43:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCSYC-0003qC-N9 for emacs-devel@gnu.org; Thu, 23 Feb 2006 21:19:21 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FCSY9-00071Z-Ln; Thu, 23 Feb 2006 21:19:18 -0500 Original-Received: from mail.neti.ee (80-235-37-90-dsl.mus.estpak.ee [80.235.37.90]) by Relayhost1.neti.ee (Postfix) with ESMTP id 92A2E1EAC; Fri, 24 Feb 2006 04:18:57 +0200 (EET) Original-To: Nick Roberts In-Reply-To: <17402.61774.37409.530598@kahikatea.snap.net.nz> (Nick Roberts's message of "Tue, 21 Feb 2006 23:54:06 +1300") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50920 Archived-At: > > Maybe, but we would need to think about this somewhat more before > > doing it. What other uses would we want this to be used for? > > Well I don't know how many you want, but additionally: > > 1) The face dired-marked inherits from it. > 2) The face ido-incomplete-regexp inherits from it. > 3) The face iswitchb-invalid-regexp inherits from it. > 4) The face cvs-fi-conflict-face is an alias for it. > 5) The face compilation-error inherits from it. dired-marked is font-lock based face (used in `dired-font-lock-keywords'). compilation-error is indirectly font-lock based face as well (used via `compilation-mode-font-lock-keywords'). So I think for these faces it is appropriate to inherit from font-lock-warning-face. Other faces have nothing to do with font-lock-warning-face, so inheriting from a new face `warning' would be good for easy customization. -- Juri Linkov http://www.jurta.org/emacs/