From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Diff mode faces Date: Fri, 17 Jun 2005 10:28:12 -0400 Message-ID: <87fyvhum14.fsf-monnier+emacs@gnu.org> References: <87oea5urwm.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119018604 10770 80.91.229.2 (17 Jun 2005 14:30:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2005 14:30:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 17 16:30:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjHq5-0003uY-25 for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 16:28:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjHvh-0007Eq-Qx for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 10:34:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DjHuh-0006xP-Gc for emacs-devel@gnu.org; Fri, 17 Jun 2005 10:33:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DjHud-0006u5-N7 for emacs-devel@gnu.org; Fri, 17 Jun 2005 10:33:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjHuc-0006sq-3b for emacs-devel@gnu.org; Fri, 17 Jun 2005 10:33:38 -0400 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjHrL-0008M9-2q for emacs-devel@gnu.org; Fri, 17 Jun 2005 10:30:15 -0400 Original-Received: from alfajor ([67.71.119.247]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050617142812.RYSR26102.tomts10-srv.bellnexxia.net@alfajor>; Fri, 17 Jun 2005 10:28:12 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 95F3BD73F6; Fri, 17 Jun 2005 10:28:12 -0400 (EDT) Original-To: Juri Linkov In-Reply-To: <87oea5urwm.fsf@jurta.org> (Juri Linkov's message of "Fri, 17 Jun 2005 14:47:05 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:39023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39023 > With -D option diff makes `#ifdef' format output with conditional > preprocessor directives. Currently diff-mode.el uses hard-coded > font-lock-string-face to highlight them. The patch adds a new face > to allow users to configure it. By default, it inherits from > font-lock-preprocessor-face. The "^#.*" pattern is meant to match "comment lines". These are part of an extension of the diff format. It has nothing to do with the -D option which I do not consider as outputting a diff format and diff-mode does not support this output format in any way. Stefan