bug#73206: 28.2; xml comment with blank lines to do not indent correctly, nxml-mode.el

2024-09-13 Thread Robert Pluim
> On Thu, 12 Sep 2024 13:53:26 -0400, John Ciolfi via "Bug reports for GNU > Emacs, the Swiss army knife of text editors" said: John> 1. Create foo.xml containing: John> John> John> John> Notice that we have a blank line in the xml comment. John> 2. Put

bug#73206: 28.2; xml comment with blank lines to do not indent correctly, nxml-mode.el

2024-09-12 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
1. Create foo.xml containing: Notice that we have a blank line in the xml comment. 2. Put the point on 'bar' and press TAB. Notice that the 'bar' line is not indented correctly. Solution The problem is that in nxml-compute-indent-in-delimited-token, there is a (forward-line -