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

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

bug#37938: electric-pair-mode vs. U+0027 APOSTROPHE in mixed modes like


From: Dmitry Gutov
Subject: bug#37938: electric-pair-mode vs. U+0027 APOSTROPHE in mixed modes like HTML
Date: Tue, 29 Oct 2019 15:56:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 29.10.2019 13:54, Lars Ingebrigtsen wrote:
> and in that context it's definitely a quote character.  But when
> you're
> typing text in HTML, then it's not.
>
> mhtml already has support for different syntaxes in CSS/JS/HTML -- is
> there a way to switch the syntax table when in tags and when not?

I'm not sure we need to go that far. sgml-syntax-propertize-rules already changes syntax on quotes typed outside of tags.

It's probably up to electric-pair-mode to respect that.





reply via email to

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