From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Global Font Lock by default Date: Tue, 01 Nov 2005 16:52:35 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1130882149 13787 80.91.229.2 (1 Nov 2005 21:55:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2005 21:55:49 +0000 (UTC) Cc: romain@orebokech.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 22:55:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EX43i-0007d0-Kz for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 22:52:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX43i-0002Oy-30 for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2005 16:52:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EX43Z-0002Oi-10 for emacs-devel@gnu.org; Tue, 01 Nov 2005 16:52:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EX43Y-0002OW-It for emacs-devel@gnu.org; Tue, 01 Nov 2005 16:52:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX43Y-0002OT-Fu for emacs-devel@gnu.org; Tue, 01 Nov 2005 16:52:36 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EX43Y-0006MW-Pq for emacs-devel@gnu.org; Tue, 01 Nov 2005 16:52:36 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EX43X-0007lG-5Z; Tue, 01 Nov 2005 16:52:35 -0500 Original-To: Dan Nicolaescu In-reply-to: <200510312207.j9VM79KN011654@scanner2.ics.uci.edu> (message from Dan Nicolaescu on 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:45270 Archived-At: 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... That seems to be a bug in the general mechanism. Any defface should have the same meaning, if preloaded, as it would have if not preloaded. In particular, any fallback option which would not apply at run time should not ultimately apply when preloaded. Therefore, either (t (:weight bold :slant italic)) should not be applied during preload, or it should be overridden at start-up. Please stop looking for workarounds! That is not the way to deal with a bug! Please try to fix the mechanism to DTRT. If that proves to be really hard, we could document the flaw and look for a workaround; but we should not give up on a real' fix without even trying.