From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "alin.s" Newsgroups: gmane.emacs.devel Subject: Re: problem with font lock Date: Fri, 15 Jan 2010 08:24:02 -0800 (PST) Message-ID: <27179603.post@talk.nabble.com> References: <87zl4fftv2.fsf@newton.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1263572669 2386 80.91.229.12 (15 Jan 2010 16:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 16:24:29 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 15 17:24:22 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 1NVoyC-0005r5-2Y for ged-emacs-devel@m.gmane.org; Fri, 15 Jan 2010 17:24:20 +0100 Original-Received: from localhost ([127.0.0.1]:52894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVoy6-0002d3-TV for ged-emacs-devel@m.gmane.org; Fri, 15 Jan 2010 11:24:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVoy2-0002cp-1S for emacs-devel@gnu.org; Fri, 15 Jan 2010 11:24:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVoxx-0002cE-C2 for Emacs-devel@gnu.org; Fri, 15 Jan 2010 11:24:09 -0500 Original-Received: from [199.232.76.173] (port=45830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVoxx-0002c5-1v for Emacs-devel@gnu.org; Fri, 15 Jan 2010 11:24:05 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:55998) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVoxw-0001kR-NM for Emacs-devel@gnu.org; Fri, 15 Jan 2010 11:24:04 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NVoxu-0005D5-D3 for Emacs-devel@gnu.org; Fri, 15 Jan 2010 08:24:02 -0800 In-Reply-To: <87zl4fftv2.fsf@newton.homeunix.net> X-Nabble-From: alinsoar@voila.fr 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:120054 Archived-At: begin by understanding which module tries to paint the region you expect. There are many different : overlays, font-lock based on classes of syntax, font-lock based on regular expressions, etc. You must have patience and discover which of these modules paints every character/word from the buffer where you are interested. Look into the elisp manual. When you comment a line you should expect that the author of the minor/major modes actives defined the fontification using the font lock for the "comment" syntax class; its color is defined in font-lock-comment-face'. But it is not sure that the commented line was fontified so. Jose A. Ortega Ruiz-2 wrote: > > > hi, > > i'm experiencing an intermittent problem with font lock that i don't > know how to debug (this is emacs 23.1.91 packaged for debian). every now > and then, font lock just stops working in most (but not all) of the > buffers: the extant colors remain, but new text is not coloured at all > (e.g., if i comment a line out, the line's text retains its initial > faces instead of switching to the comment face). as i said, i haven't > found a way to reproduce this behaviour deterministically, and when it > starts happening i don't see any error message around. so my question > is: what would you recommend to look at when i enter this state, so that > i can submit a useful bug report? > > thanks! > jao > > > > > -- View this message in context: http://old.nabble.com/problem-with-font-lock-tp27176810p27179603.html Sent from the Emacs - Dev mailing list archive at Nabble.com.