emacs-devel
[Top][All Lists]
Advanced

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

Re: Auto-discovery of multi-line font-lock regexps


From: Stefan Monnier
Subject: Re: Auto-discovery of multi-line font-lock regexps
Date: Wed, 07 May 2008 00:21:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Sounds like a good idea, but wouldn't that run into the same problem
> with the JIT lock stealth timer that necessitated setting
> jit-lock-stealth-time to nil (i.e., people on laptops complaining about
> Emacs eating CPU)?

Of course.  Except it would actually make a difference w.r.t behavior
rather than just performance.  I expect it would only be enabled in some
particular buffers where it proves necessary.  Maybe the problematic
regexps could be specially labelled in font-lock-keywords so that only
relevant regexps get this kind of treatment.


        Stefan






reply via email to

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