[Top][All Lists]

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

bug#23179: 25.0.92; Restore `M-,' to continue etags search

From: Anders Lindgren
Subject: bug#23179: 25.0.92; Restore `M-,' to continue etags search
Date: Tue, 5 Apr 2016 07:43:24 +0200

It could be easily fixed by a call to `font-lock-ensure' (at least for
files already loaded into Emacs).

Please test the attached patch. I'd like to know if there are cases when the highlighting overhead is noticeable.

I gave it a test. The result looks good, and all matches are highlighted (regardless if the files are loaded or not). Unfortunately, it comes with a hefty overhead. The time increased from 7.5 s to 10.4 s. Also, the time is not reduced if you run it a second time, even if the files are present in Emacs buffers, indicating that font-lock is redone unnecessarily.

    -- Anders

reply via email to

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