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

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

Re: [prettify-symbols-mode] Two consecutive matches don't work?


From: Tassilo Horn
Subject: Re: [prettify-symbols-mode] Two consecutive matches don't work?
Date: Thu, 19 May 2022 21:09:19 +0200
User-agent: mu4e 1.7.21; emacs 29.0.50

Stefan Monnier via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> writes:

>>   1. nxml-mode: It feels wrong that <a>&lt is considered a symbol.  And
>>      that the closing ; isn't part of the symbol &lt; seems also not
>>      correct.  And why do < and > have symbol syntax.  Wouldn't
>>      open/close paren be more appropriate?
>
> It all depends if your XML is mostly made of "tags" or mostly made of
> text.  IIRC the syntax table used in XML/SGML/HTML buffers is usually
> a variant of the text-mode syntax table

Ok, I see the reasoning and it's probably the right thing at least for
HTML which usually contains a lot of prose.

> (and then another syntax-table is used while parsing the actual *ML
> structure).

Probably that's more like the one I had expected.

Bye,
Tassilo



reply via email to

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