bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41897: 28.0.50; JavaScript comment filling with mhtml-mode


From: Simen Heggestøyl
Subject: bug#41897: 28.0.50; JavaScript comment filling with mhtml-mode
Date: Sat, 20 Jun 2020 20:27:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux)

Hi Alan, thanks for working on this.

Alan Mackenzie <acm@muc.de> writes:

> The patch below fixes both these errors, and seems to allow your test
> case to work.

Yes, this seems to fix it in both emacs-27 and master, thanks.

However in emacs-27 with the patch applied I now get a strange
side-effect: After filling the comment, mhtml-mode seems to lose track
of where the JavaScript portion of the buffer is. Please see the
attached image. The position where point is should still be recognized
as HTML+JS, but it's recognized as plain HTML+ instead after
filling. This doesn't happen on master.

> You haven't said what version of Emacs you're running.

I put the version number in the bug subject but forgot to mention it in
the description, sorry about that.

-- Simen

Attachment: bug41897.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]