GNU bug report logs - #43373
28.0.50; Regression: Unrecognized style region in mhtml-mode

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> runbox.com>

Date: Sun, 13 Sep 2020 11:33:02 UTC

Severity: normal

Tags: confirmed

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Simen Heggestøyl <simenheg <at> runbox.com>
Cc: 43373 <at> debbugs.gnu.org
Subject: bug#43373: 28.0.50; Regression: Unrecognized style region in mhtml-mode
Date: Fri, 29 Jan 2021 06:28:11 +0100
Simen Heggestøyl <simenheg <at> runbox.com> writes:

>> Before I start trying to find out what's going on here, because this is
>> just all to odd -- are you seeing the same?
>
> Yup.

It appears that if I say

(defun so-long-detected-long-line-p () nil)

then the problem can be reproduced, but something in that function is
doing something to the buffer which makes font locking happen
correctly...  I think it's probably the narrow-to-region things that
makes Emacs re-fontify the buffer at opportune moments, which somehow
makes the multi-mode thing trigger from a better context...  or
something...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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