emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regression in 22.2 jit-lock?


From: Ulrich Mueller
Subject: Re: Regression in 22.2 jit-lock?
Date: Sat, 29 Mar 2008 08:12:08 +0100

>>>>> On Sat, 29 Mar 2008, Stefan Monnier wrote:

>> 2007-07-23  Stefan Monnier  <address@hidden>

>> * progmodes/sh-script.el (sh-font-lock-backslash-quote)
>>      (sh-font-lock-flush-syntax-ppss-cache): New funs.
>>      (sh-font-lock-syntactic-keywords): Use them to distinguish the
>>      different possible cases for \'.
>>      (sh-font-lock-paren): Mark the relevant text with font-lock-multiline.

> Hmm... so the "relevant text" marked with font-lock-multiline is so
> large that it causes sluggishness...  Not sure what to do about it,

Well, the real file is here (too large to attach):
<http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/eclass/elisp-common.eclass?rev=1.37>

Go to line 292 and insert something; it is quite sluggish in 22.2.
(Setting jit-lock-defer-time will help a little, but in 22.1 it was
just fine with the default configuration.)

Ulrich




reply via email to

[Prev in Thread] Current Thread [Next in Thread]