[Top][All Lists]

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

Re: xml indenting again (sgml-mode broken???)

From: Bjoern
Subject: Re: xml indenting again (sgml-mode broken???)
Date: Sat, 07 Jun 2003 23:36:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529

Stefan Monnier wrote:
with emacs. However, now sgml-mode doesn't recognise comments in my
xml-files anymore, and it complains about unmatched tags, because I have
something like

  <!-- servlet>
 </servlet-mapping -->

Please try the sgml-mode.el in Emacs CVS.  I've just installed a change
that should help in such cases.  I'd be happy to hear whether it works well
or not for you.

Many thanks for your efforts! It still complains about ummatched tags. However, you are right, it still indents properly. The error message can be ignored, although it would be nice as a sort of basic validator if unmatched tags were detected correctly.

Maybe something else was wrong when I first got the impression that indenting doesn't work, though, because now also html-mode seems to indent correctly, which definitely wasn't the case at first.


reply via email to

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