From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Syntax Highlighting Latency in Emacs Date: Mon, 13 Dec 2004 23:42:22 GMT Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1102981201 26645 80.91.229.6 (13 Dec 2004 23:40:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2004 23:40:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 14 00:39:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CdznH-00029u-00 for ; Tue, 14 Dec 2004 00:39:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CdzxO-0005j0-9e for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Dec 2004 18:50:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!nf3.bellglobal.com!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:ZJYHo1MGlUbFVe5T8wWuKGZdO5s= Original-Lines: 17 Original-NNTP-Posting-Host: 132.204.24.84 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1102981342 132.204.24.84 (Mon, 13 Dec 2004 18:42:22 EST) Original-NNTP-Posting-Date: Mon, 13 Dec 2004 18:42:22 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:127293 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22725 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22725 >> I don't want to start a war or anything (because it probably has something >> to do with my system), but I am curious about something I've noticed with >> Emacs as compared with vim. If I'm looking at a source code file in vim, >> (and it doesn't even have to be that large - maybe a few thousand K) the >> syntax highlighting is automatic. And if I edit something, which changes >> the highlighting of the rest of the file, it is instantaneous. But in >> Emacs, there is a 2 or 3 second delay in the updating of the highlighting. > I think Emacs now uses jit-lock as the font-lock-support-mode. This > exhibits the symptoms you're mentioning. It's indeed the jit-lock-stealth-time delay. In Emacs-CVS this delay has been separated from the stealth font-locking and can be made "instantaneous". Stefan