GNU bug report logs -
#7937
nxml-mode.el indenting wrong when more than one <> on a line
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
[bug7937.patch (text/x-patch, attachment)]
This bug report was last modified 1 year and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.