GNU bug report logs - #41441
26.3; mhtml misbehaving font-lock extend region can cause Emacs to hang

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Thu, 21 May 2020 20:15:02 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Tom Tromey <tom <at> tromey.com>, Anders Lindgren <andlind <at> gmail.com>
Cc: 41441 <at> debbugs.gnu.org
Subject: bug#41441: 26.3; mhtml misbehaving font-lock extend region can cause Emacs to hang
Date: Thu, 28 May 2020 00:32:15 +0300
On 25.05.2020 19:11, Tom Tromey wrote:
> Looking at mhtml--submode-fontify-region, though, I wonder if maybe
> region extension isn't needed at all, since that function seems to
> handle sub-mode region boundaries.  So I guess that is one
> experiment that could be done.

That makes sense to me, and mirrors what mmm-mode currently does.

What if we just remove mhtml--extend-font-lock-region? Can anyone 
describe a scenario that would become broken?




This bug report was last modified 4 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.