From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Global Font Lock by default Date: Tue, 01 Nov 2005 12:56:05 +0100 Organization: orebokech dot com Message-ID: <8764rcpooa.fsf@pacem.orebokech.com> 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 1130848773 28869 80.91.229.2 (1 Nov 2005 12:39:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2005 12:39:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 13:39:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWvPo-000207-OS for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 13:39:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWvPo-0003ua-3U for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 07:39:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWukK-00076N-Lw for emacs-devel@gnu.org; Tue, 01 Nov 2005 06:56:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWukI-00074n-I7 for emacs-devel@gnu.org; Tue, 01 Nov 2005 06:56:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWukH-00074V-P7 for emacs-devel@gnu.org; Tue, 01 Nov 2005 06:56:05 -0500 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWukH-0001cq-Vk for emacs-devel@gnu.org; Tue, 01 Nov 2005 06:56:06 -0500 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id CAE6E1321C; Tue, 1 Nov 2005 12:56:04 +0100 (CET) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 5A4F15241D; Tue, 1 Nov 2005 12:56:05 +0100 (CET) Original-To: Dan Nicolaescu X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Dan Nicolaescu's message of "Mon, 31 Oct 2005 14:07:06 -0800") 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:45234 Archived-At: Dan Nicolaescu writes: > When dumping this part of the font-lock-comment-face face > specification matches: (t (:weight bold :slant italic)) so the face is > created with bold and italic properties. > later at run time face-spec-choose is called this will match: > "((class color) (min-colors 8) (background light))" > but because it specifies no properties face-spec-set returns nil => > face-spec-reset-face is not called in face-spec-set => the bold and > italic attributes are kept... Then perhaps `face-spec-set' should reset the face unconditionally if there are no properties, instead of doing nothing? -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter