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


View this message in rfc822 format

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: larsi <at> gnus.org, tom <at> tromey.com, 29159 <at> debbugs.gnu.org
Subject: bug#29159: 27.0.50; Hang in HTML/CSS code
Date: Sun, 26 Nov 2017 15:52:38 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> 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.

`font-lock-beg' got set back to 40 from 39 at line 184 from the call to
`previous-single-property-change'.

-- Simen




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.