|
From: | Stefan Monnier |
Subject: | Re: emacs master + org Wrong type argument: number-or-marker-p |
Date: | Wed, 03 Aug 2022 04:57:56 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Is there really a slowdown associated with allowing code to widen > outside the bounds specified by redisplay long-line "optimizations"? Or > are we speculating about a hypothetical problem that doesn't exist > again? There is a real problem here: currently font-lock will widen right back. There might be a few more cases where widening will happen currently, but I think font-lock is the main one. IMO we should specifically fix those few cases we encounter, rather than add to the narrowing complexity (which tends to encourage major modes to widen since they basically can never know why a narrowing is in effect) by imposing a "locked narrowing". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |