|
From: | Stefan Monnier |
Subject: | bug#56682: Fix the long lines font locking related slowdowns |
Date: | Tue, 02 Aug 2022 17:51:41 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> And even if one sets font-lock-dont-widen to nil, mode authors are > completely free to ignore that setting (assuming they're aware it exists). Hmm... `font-lock-dont-widen` is not about telling the major modes's font-lock code to refrain from narrowing. It's there so a major mode (like mmm-mode) can tell font-lock.el to refrain from widening. The major-mode's own font-lock rules should never need to widen (because font-lock itself does it, normally). If they do, it's a bug. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |