GNU bug report logs - #29159
27.0.50; Hang in HTML/CSS code

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Sun, 5 Nov 2017 17:41:02 UTC

Severity: normal

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Tom Tromey <tom <at> tromey.com>,
 29159 <at> debbugs.gnu.org
Subject: Re: bug#29159: 27.0.50; Hang in HTML/CSS code
Date: Sat, 25 Nov 2017 21:17:20 -0500
> In this particular example, `mhtml--extend-font-lock-region' wants to
> leave `font-lock-beg' at 40 while `font-lock-extend-region-multiline'
> wants it at 39, resulting in an endless back and forth.

Could you give some details?
Functions on font-lock-extend-region-functions should *never* shrink
a region (since that risks inf-looping, obviously).  After all, it's
called "...-extend-...", right?

So if font-lock-extend-region-multiline puts beg at 39, it's incorrect
for mhtml--extend-font-lock-region to move it back to 40.


        Stefan




This bug report was last modified 7 years and 183 days ago.

Previous Next


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