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

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

bug#54195: 27.1; electric-pair-mode assertion failure in HTML+JS mode


From: Lars Ingebrigtsen
Subject: bug#54195: 27.1; electric-pair-mode assertion failure in HTML+JS mode
Date: Mon, 28 Feb 2022 10:30:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jeff Chase <jeff.chase@gmail.com> writes:

> 1) open a new file named 'test.html'
> 2) enable electric-pair-mode
> 3) Add
>
>     <script>
>
>     </script>
>
> 4) When mark is between script tags should be in HTML+JS mode
> 5) Enter `foo()` on the line between script tags
>
> The closing paren should overwrite the auto closing paren but instead
> a new one is added and the minibuffer shows an error:
>
>     Assertion failed: (>= (cadr sgml--syntax-propertize-ppss) 0)
>
> This does not happen under the other major modes I tried nor in HTML+
> mode outside of the script tags.

I've now fixed this in Emacs 29.

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





reply via email to

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