|
From: | Stefan Monnier |
Subject: | Re: [prettify-symbols-mode] Two consecutive matches don't work? |
Date: | Thu, 19 May 2022 13:46:04 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> 1. nxml-mode: It feels wrong that <a>< is considered a symbol. And > that the closing ; isn't part of the symbol < 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 (and then another syntax-table is used while parsing the actual *ML structure). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |