[Top][All Lists]

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

Re: Bug in nxml-mode (indentation)?

From: Stefan Monnier
Subject: Re: Bug in nxml-mode (indentation)?
Date: Thu, 20 Dec 2007 19:41:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> Is the nxml-mode way of indenting vs xml-mode in this particular
>> example to be considered a bug?

> Space can be significant (i.e. can convey meaning) in XML and there is
> no way to figure out what the space means just from the snippets you've
> given.  Depending on the application, the following XML could be
> considered identical or completely different:

>     <foo>bar</foo>
> or
>     <foo>
>       bar
>     </foo>
> or
>     <foo>
>     bar
>     </foo>

But this problem you bring up is about whether to auto-indent or not,
not about *how* to auto-indent.  I.e. it's unrelated to the OP's problem.


reply via email to

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