From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.bugs Subject: Re: font-lock latency Date: Tue, 03 Sep 2002 12:21:08 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031048463 11302 127.0.0.1 (3 Sep 2002 10:21:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 10:21:03 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mAnt-0002wB-00 for ; Tue, 03 Sep 2002 12:21:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mApR-0001QB-00; Tue, 03 Sep 2002 06:22:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17mAo8-0001Nl-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 06:21:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17mAo6-0001NZ-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 06:21:15 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mAo5-0001NP-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 06:21:13 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g83ALAn3004402 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Sep 2002 12:21:11 +0200 Original-To: Eli Zaretskii X-Hashcash: 0:020903:eliz@is.elta.co.il:f8d7adeaf7b0a112 X-Hashcash: 0:020903:bug-gnu-emacs@gnu.org:0b1aa94a84ee543b In-Reply-To: (Eli Zaretskii's message of "Tue, 3 Sep 2002 07:01:44 +0200 (IST)") Original-Lines: 24 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3394 Eli Zaretskii writes: > On Mon, 2 Sep 2002, Simon Josefsson wrote: > >> $ emacs -q --no-site-file foo.c >> M-x font-lock-mode RET >> >> change the line >> >> #include "foo.h" >> >> into >> >> #include "foo. >> >> and wait a couple of seconds. Then add the " back. Font locking in >> the buffer is now messed up and the only way to restore it is to wait >> a couple of seconds again. > > Does it help to type "M-g M-g" instead of waiting? Not completely, the main() function body is correctly re-highlighted, but the main() function definition line is still incorrect. Pressing M-g M-g again does nothing. After a few seconds it looks OK.