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 18:41:21 +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 1031071231 21139 127.0.0.1 (3 Sep 2002 16:40:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 16:40:31 +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 17mGj7-0005Uk-00 for ; Tue, 03 Sep 2002 18:40:29 +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 17mGkh-0007UO-00; Tue, 03 Sep 2002 12:42:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17mGk5-0007Ss-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 12:41:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17mGk3-0007Sg-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 12:41:28 -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 17mGk2-0007Sb-00 for bug-gnu-emacs@gnu.org; Tue, 03 Sep 2002 12:41:26 -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 g83GfNn3009597 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 3 Sep 2002 18:41:24 +0200 Original-To: Eli Zaretskii X-Hashcash: 0:020903:eliz@is.elta.co.il:72f2cf17f3cc1b48 X-Hashcash: 0:020903:bug-gnu-emacs@gnu.org:1664f539622719be In-Reply-To: (Eli Zaretskii's message of "Tue, 3 Sep 2002 18:17:23 +0200 (IST)") Original-Lines: 27 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:3398 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3398 Eli Zaretskii writes: > On Tue, 3 Sep 2002, Simon Josefsson wrote: > >> > 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. > > It might help to move point to the incorrectly highlighted line and press > M-g M-g again. Doesn't help, the line is still incorrectly highlighted. I even tried pressing M-g M-g on every line of the buffer, but it was still wrong. C-l doesn't help either. Only way to get it right is to wait a few (3?) seconds. Is it possible to disable the unterminated strings/comments/etc highlighting alltogether? I think I would find it annoying to have the rest of the buffer change color, even if the buffer was correctly re-colorized when I terminate the string/comment/etc. Is it possible to decrease the delay before it is re-highlighted correctly? I thought `jit-lock-stealth-time' would do this, but it doesn't seem to have any effect. Thanks.