From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lowell Kirsh Newsgroups: gmane.emacs.help Subject: Re: font locking problem Date: Wed, 05 May 2004 14:12:54 -0700 Organization: Department of Computer Science, UBC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1083793140 24179 80.91.224.253 (5 May 2004 21:39:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 21:39:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 23:38:53 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLU6O-0005WK-00 for ; Wed, 05 May 2004 23:38:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLTuB-0004au-Bq for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2004 17:26:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cs.ubc.ca!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: cascade.cs.ubc.ca Original-X-Trace: mughi.cs.ubc.ca 1083791575 22786 142.103.7.7 (5 May 2004 21:12:55 GMT) Original-X-Complaints-To: usenet@cs.ubc.ca Original-NNTP-Posting-Date: Wed, 5 May 2004 21:12:55 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040322 X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:123000 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18288 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18288 Alan Mackenzie wrote: > Would you tell us your Emacs version number (M-x emacs-version) and your > CC Mode version number (M-x c-version), please. emacs-version: 21.3.1 c-version: 5.28 > That's an internal coding error, probably in CC Mode. Try setting > `debug-on-error' (M-: (setq debug-on-error t)), then visit the file > again. That should give a stack dump. Here's a stack dump: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) goto-char(nil) eval((goto-char (match-beginning 4))) font-lock-fontify-keywords-region(1 1515 t) font-lock-default-fontify-region(1 1515 t) font-lock-fontify-region(1 1515 t) byte-code("?Ã Ä?Åed #?Æ ?Ç+Ã?" [save-match-data-internal verbose font-lock-fontified match-data ((set-match-data save-match-data-internal)) font-lock-fontify-region font-lock-after-fontify-buffer t] 4) font-lock-default-fontify-buffer() font-lock-fontify-buffer() font-lock-mode() turn-on-font-lock() turn-on-font-lock-if-enabled() global-font-lock-mode-buffers() run-hooks(find-file-hooks) after-find-file(nil t) find-file-noselect-1(# "~/java/FileTokenizer.java" nil nil "~/java/FileTokenizer.java" (3385326 775)) find-file-noselect("~/java/FileTokenizer.java" nil nil 1) find-file("~/java/FileTokenizer.java" 1) call-interactively(find-file) So, what should I do? Work around this error until the next version comes out? I'd rather do that than build from the newest cvs source (laziness). Lowell