text

in nxml-mode in GNU Emacs it" />

text

in nxml-mode in GNU Emacs it" />

text

in nxml-mode in GNU Emacs it"/>

Indentation in nxml-mode in GNU Emacs

168 Views Asked by At

Here is an example how XEmacs makes indentation in xml-mode of a xhtml document:

    <div><a id="page_1"/>
        <p>text</p>
    </div>

in nxml-mode in GNU Emacs it looks like this:

    <div><a id="page_1"/>
    <p>text</p>
    </div>

This is the result of auto-indentation which belongs to indent-line-function. I also know the possibility to avoid this behavior by writing the closing a-Tag to a new line. But this appearance I use is necessary for my workflow.

Have somebody any suggestions to solve this problem?

0

There are 0 best solutions below