GNU bug report logs -
#29159
27.0.50; Hang in HTML/CSS code
Previous Next
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 #14 received at 29159 <at> debbugs.gnu.org (full text, mbox):
>>>>> "Simen" == Simen Heggestøyl <simenheg <at> gmail.com> writes:
Simen> CC-ing Tom in case he has some insight into how it should be fixed.
Stefan found another bug in mhtml--extend-font-lock-region, so I sort of
suspect it needs a rethink.
However, in this case, I wonder why font-lock-extend-region-multiline is
even needed. What about removing it? I don't remember why I put it in
there in the first place.
This seems to fix the problem for me. Though I wonder if it is actually
needed for something.
Tom
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 5854167750..bdb95887c1 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -367,7 +367,8 @@ mhtml-mode
#'mhtml--submode-fontify-region)
(setq-local font-lock-extend-region-functions
'(mhtml--extend-font-lock-region
- font-lock-extend-region-multiline))
+ ;; font-lock-extend-region-multiline
+ ))
;; Attach this to both pre- and post- hooks just in case it ever
;; changes a key binding that might be accessed from the menu bar.
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.