From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Partial font locking with Emacs 24 Date: Fri, 22 Oct 2010 18:50:45 +0000 (UTC) Organization: muc.de e.V. Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291898625 2205 80.91.229.12 (9 Dec 2010 12:43:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 12:43:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 13:43:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQfqW-0000Av-I7 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 13:43:40 +0100 Original-Received: from localhost ([127.0.0.1]:49014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQfqV-000515-Nu for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 07:43:39 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.belwue.de!news.tu-darmstadt.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: marvin.muc.de Original-X-Trace: colin2.muc.de 1287773445 32137 2001:608:1000::2 (22 Oct 2010 18:50:45 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: Fri, 22 Oct 2010 18:50:45 +0000 (UTC) User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386)) Original-Xref: usenet.stanford.edu gnu.emacs.help:181952 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77041 Archived-At: Suvayu Ali wrote: > Hi everyone, > Since about a week or two I am seeing incomplete font-locking > behaviour with "GNU Emacs 24.0.50.1 (2010-10-18)" in c++-mode. The > variables and function names are displayed in the `default' face > instead of `font-lock-variable-name-face' and > `font-lock-function-name-face' respectively. > Compare lines 55 and 62 in the screen shots below to see what I mean. > Emacs 23.2.1 (correct font-lock behaviour) > > Emacs 24 (incorrect font-lock behaviour) > > Does anyone else notice something like this? Best way of reporting this: 1/- Reduce to the minimum the size of the source file which shows the error. Actually post this code together with your bug report. This keeps it together forever, and is MUCH more convenient. 2/- (In c++-mode) type C-c C-b in your c++ buffer. This will generate a complete dump of the CC Mode configuration. This is VERY helpful for debugging. 3/- Send the bug report to bug-cc-mode@gnu.org. I think I know which change caused this bug. It would be nice to get it fixed. -- Alan Mackenzie (Nuremberg, Germany).