emacs-devel
[Top][All Lists]
Advanced

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

Indentation contest nxml vs xml-mode


From: Lennart Borgman (gmail)
Subject: Indentation contest nxml vs xml-mode
Date: Thu, 06 Mar 2008 19:41:43 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Try indenting the following in nxml-mode and xml-mode:

<outermost>
  <inner1><inner2>
      <inner3>Duh</inner3>
    </inner2>
  </inner1>
</outermost>

I think xml-mode wins here. If I remember correctly there are also some bugs in nxml-mode indentattion code. Is there any reason to have both ways of indenting, ie should not nxml-mode indentation use the xml-mode indentation code?




reply via email to

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