From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: bug when fontifying cc-mode Date: Fri, 26 Aug 2005 07:18:21 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1125048919 18463 80.91.229.2 (26 Aug 2005 09:35:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 09:35:19 +0000 (UTC) Cc: Emacs Developement List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 26 11:35:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E8aar-0007Js-Lg for ged-emacs-devel@m.gmane.org; Fri, 26 Aug 2005 11:33:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8aem-0006E9-KE for ged-emacs-devel@m.gmane.org; Fri, 26 Aug 2005 05:37:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E8aO3-0008D9-Tp for emacs-devel@gnu.org; Fri, 26 Aug 2005 05:20:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E8aO1-0008CK-ID for emacs-devel@gnu.org; Fri, 26 Aug 2005 05:20:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8aO1-0008CE-Ba for emacs-devel@gnu.org; Fri, 26 Aug 2005 05:20:33 -0400 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E8aKW-0001tj-59 for emacs-devel@gnu.org; Fri, 26 Aug 2005 05:16:57 -0400 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id HAA00325; Fri, 26 Aug 2005 07:18:21 GMT X-Sender: root@acm.acm Original-To: Karl Chen In-Reply-To: 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:42414 Archived-At: Hi, Chen! On Thu, 25 Aug 2005, Karl Chen wrote: Could you possibly do C-c C-b (`c-submit-bug-report') on your buffer, so as to give a complete dump of your configuration, and then send the whole thing to ? CC Mode is maintained as a separate project. Thanks! -- Alan Mackenzie (Munich, Germany) > >Applies to emacs CVS HEAD; does not apply to emacs 21.3. > >Steps to reproduce: > >emacs -q /tmp/a.c > >insert the following string (without quotes): > >" >// >// > >// >// > >" > >(There must be at least one blank line at the beginning, between >the double-comment lines, and at the end.) > >M-x font-lock-fontify-buffer > > >Lisp error: (error "Point after end of properties") > forward-comment(5) > c-find-decl-spots( ... ) > c-font-lock-declarations(24) > font-lock-fontify-keywords-region(1 24 t) > font-lock-default-fontify-region(1 24 t) > font-lock-fontify-region(1 24 t) > byte-code( ... ) > font-lock-default-fontify-buffer() > font-lock-fontify-buffer() > >Fforward_comment hasn't changed in 5 years. > >-- >Karl 2005-08-25 20:38 > > >_______________________________________________ >Emacs-devel mailing list >Emacs-devel@gnu.org >http://lists.gnu.org/mailman/listinfo/emacs-devel >