Subject: Re: bug#56682: Fix the long lines font locking related slowdowns

From: Dmitry Gutov <[email-masked]>
Date: Mon, 15 Aug 2022 12:56:46 +0300

On 15.08.2022 06:10, Ihor Radchenko wrote:
> The fact that MMM-mode is relying on narrowing is a bug in MMM-mode.
> Polymode (an alternative to MMM-mode) is using a different approach.

Does it really?

 From what I see, Polymode does use narrowing: 
https://github.com/polymode/polymode/search?q=narrow&type=code

But it also contains provisions for modes whose syntax highlighting 
cannot function with it. With different tradeoffs.