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

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

bug#37141: 27.0.50; spelling doesn't work in XML comments


From: Vincent Lefevre
Subject: bug#37141: 27.0.50; spelling doesn't work in XML comments
Date: Thu, 22 Aug 2019 16:15:01 +0200
User-agent: Mutt/1.12.1+19 (078654a4) vl-117499 (2019-06-15)

retitle 37141 ispell-skip-html is poorly documented, e.g. for XML
tags 37141 - notabug

First, there's no mention of it in the manual. That's bad.

And in the ispell.el file:

(defcustom ispell-skip-html 'use-mode-name
  "Indicates whether ispell should skip spell checking of SGML markup.
If t, always skip SGML markup; if nil, never skip; if non-t and non-nil,
guess whether SGML markup should be skipped according to the name of the
buffer's major mode."
[...]

"SGML markup" does not make any sense in XML. Here, that seems to
be XML comments (XML markup, e.g. tags, attribute names, and even
attribute values, is skipped in all cases, which is what is expected,
IMHO).

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





reply via email to

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