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

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

bug#7937: nxml-mode indenting bug fix.


From: Stephen Meister
Subject: bug#7937: nxml-mode indenting bug fix.
Date: Tue, 28 Mar 2023 15:05:05 -0400

Hi,
  I've tried to put a fix in place for bug 7937 (and possibly 7768 unintentionally).  The repair I've made will cause changes in the way that nxml indents lines under normal circumstances.  I'm not sure if a change like this is acceptable given that I'm only trying to fix a bug.  The behavior change is most visible in a situation such as:

<root>
  <a><b><c>
    inner
  </c>
</b>
  </a>
</root>

Which would now be indented as:
<root>
  <a><b><c>
        inner
      </c>
    </b>
  </a>
</root>

There are additional tests which show more of the indenting changes as well.

This is my first bug fix, please let me know if I've missed anything (procedurally or otherwise).  I'm happy to rework/restructure this based on any suggestions.

-steve





Attachment: bug7937.patch
Description: Text Data


reply via email to

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