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: Global Font Lock by default Date: Mon, 31 Oct 2005 17:21:54 -0500 Message-ID: References: <200510311648.j9VGmgKN020532@scanner2.ics.uci.edu> <878xw9r3tu.fsf@pacem.orebokech.com> <200510311747.j9VHl2KN024250@scanner2.ics.uci.edu> <871x21r0v6.fsf@pacem.orebokech.com> <200510312048.j9VKm8KN006460@scanner2.ics.uci.edu> <87r7a1pf1h.fsf@pacem.orebokech.com> <200510312124.j9VLO7KN008775@scanner2.ics.uci.edu> <87ll09pd8v.fsf@pacem.orebokech.com> <200510312207.j9VM79KN011654@scanner2.ics.uci.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130797408 2408 80.91.229.2 (31 Oct 2005 22:23:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2005 22:23:28 +0000 (UTC) Cc: Romain Francoise , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 31 23:23:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWi2d-0002uE-T4 for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2005 23:22:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWi2d-0007k4-Ae for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2005 17:22:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWi2T-0007je-Ci for emacs-devel@gnu.org; Mon, 31 Oct 2005 17:22:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWi2R-0007jP-OV for emacs-devel@gnu.org; Mon, 31 Oct 2005 17:22:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWi2R-0007jM-Kq for emacs-devel@gnu.org; Mon, 31 Oct 2005 17:21:59 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWi2R-0005kU-MC for emacs-devel@gnu.org; Mon, 31 Oct 2005 17:21:59 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E23F12CF619; Mon, 31 Oct 2005 17:21:58 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 3F1D94AC00A; Mon, 31 Oct 2005 17:21:55 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 20545E6C19; Mon, 31 Oct 2005 17:21:55 -0500 (EST) Original-To: Dan Nicolaescu In-Reply-To: <200510312207.j9VM79KN011654@scanner2.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 31 Oct 2005 14:07:06 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.852, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:45201 Archived-At: > ! (:inherit default)) Inheriting from default is rarely what you want to do. Here it's just a workaround. The only case I can think of where it makes sense to inherit from `default' is in cases where you want this face to override the effects of other faces, e.g. if you want to override the background color of the header-line on some part of the header-line text, you can place on that text a face that inherits from `default'. Stefan