From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.devel Subject: Re: problem with font lock Date: Tue, 19 Jan 2010 22:54:27 +0100 Message-ID: <87my094v70.fsf@newton.homeunix.net> References: <87zl4fftv2.fsf@newton.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263938948 19497 80.91.229.12 (19 Jan 2010 22:09:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2010 22:09:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 19 23:09:01 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NXMFn-0008GB-Ir for ged-emacs-devel@m.gmane.org; Tue, 19 Jan 2010 23:08:51 +0100 Original-Received: from localhost ([127.0.0.1]:58871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXMFn-0007PA-HZ for ged-emacs-devel@m.gmane.org; Tue, 19 Jan 2010 17:08:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXMFZ-0007O1-R9 for emacs-devel@gnu.org; Tue, 19 Jan 2010 17:08:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXMFV-0007LW-6V for emacs-devel@gnu.org; Tue, 19 Jan 2010 17:08:37 -0500 Original-Received: from [199.232.76.173] (port=39657 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXMFV-0007LR-2g for emacs-devel@gnu.org; Tue, 19 Jan 2010 17:08:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:58349) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NXMFU-0001qP-Iv for emacs-devel@gnu.org; Tue, 19 Jan 2010 17:08:32 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXMFQ-00085u-Vz for emacs-devel@gnu.org; Tue, 19 Jan 2010 23:08:28 +0100 Original-Received: from 80.31.220.195 ([80.31.220.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 23:08:28 +0100 Original-Received: from jao by 80.31.220.195 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jan 2010 23:08:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 80.31.220.195 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:GMgCeS570cLJ1nRLSiRyE5YUr24= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:120245 Archived-At: Stefan Monnier writes: > Once it's done it's too late. But you can (setq font-lock-support-mode > nil) in your .emacs and then try to reproduce the problem. This should > (well, may) give you a usable error message right when the > problem appears. Although setting font-lock-support-mode to nil (and debug-on-error active) didn't trigger an error, i think i've located the origin of the problem. i have a little DSL for specifying faces for custom themes, and i was setting one of the faces to a non-sensical value (concretely, the face was fringe, and i was setting its :foreground to a list specifiying a full face, instead of just a color or similar). upon correcting the face specification and re-enabling my custom theme, the buffers that had lost their real-time fontification recovered it instantaneously. maybe someone privy to font-lock will understand why a bogus face specification would have such a global effect. (BTW, the problem was also occurring in emacs 23.1.1.) Thanks! jao