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


Message #23 received at 41441 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#41441: 26.3; mhtml misbehaving font-lock extend region can
 cause Emacs to hang
Date: Thu, 28 May 2020 21:40:03 +0300
On 28.05.2020 19:13, Tom Tromey wrote:
> You can enlarge (or even reduce) the region to refontify by setting
> the following variable:

This is about font-lock-extend-after-change-region-function, though, 
isn't it?

And since that variable is not a hook (or a list), it wouldn't be 
subject to inflooping problems. Though I wouldn't like this semantics 
for it either, given the name.

> I don't remember the test case.  Not sure if the self-tests cover this;
> maybe it's archived in a bug somewhere though.

Someone should take a look.

If we don't find good examples, though, and if we agree that the design 
seems sound, we can turn it off on master and see if anyone complains.




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

Previous Next


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