From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: doug@toucan.emperorlinux.com (Douglas "Local Deity" Lewan) Newsgroups: gmane.emacs.help Subject: Interfering fontification in C? Date: Wed, 31 Dec 2003 05:19:09 GMT Organization: Optimum Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072848615 29135 80.91.224.253 (31 Dec 2003 05:30:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2003 05:30:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 06:30:07 2003 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 1AbYvn-0001Ly-00 for ; Wed, 31 Dec 2003 06:30:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AbZsF-0003db-0m for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2003 01:30:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!news3.optonline.net!news4.srv.hcvlny.cv.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 67.81.117.242 Original-X-Complaints-To: abuse@cv.net Original-X-Trace: news4.srv.hcvlny.cv.net 1072847949 67.81.117.242 (Wed, 31 Dec 2003 00:19:09 EST) Original-NNTP-Posting-Date: Wed, 31 Dec 2003 00:19:09 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:119692 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:15634 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15634 All, On occasion, C-mode gets into a bad fontification state for me. With every keystroke, I'll get an error like the following. font-lock-fontify-keywords-region(162 687 nil) font-lock-default-fontify-region(162 663 nil) font-lock-fontify-region(162 663) run-hook-with-args(font-lock-fontify-region 162 663) jit-lock-fontify-now(162 662) jit-lock-function(162) sit-for(0.125) jit-lock-stealth-fontify() apply(jit-lock-stealth-fontify nil) byte-code("...." [timer apply 5 6] 4) timer-event-handler([t 0 3 0 3 jit-lock-stealth-fontify nil t]) There are also errors that claim emacs has tried something like (font-lock-fontify-region (match-beginning 5) (match-end 1)) which seems pretty darned odd to me. (Sorry if I've got the real error here wrong. It happens inside an (eval) and I'm not seeing it at the moment.) Can anyone one help me understand what's going on? Or fix it? Or avoid it? -- ,Doug Douglas Lewan d_lewan2000@yahoo.com Logic: The art of being wrong with confidence...