emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in nxml-mode (indentation)?


From: Lennart Borgman (gmail)
Subject: Re: Bug in nxml-mode (indentation)?
Date: Tue, 18 Dec 2007 21:10:38 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Jason Rumney wrote:
Eric Lilja wrote:
But how should a file be indented for this XPath-thing to do its work
correctly? Not at all or depending on other parameters?

The text enclosed within an element should not be indented at all,
unless the user explicitly says so, or the user is using some
specialization of nxml-mode, such as xhtml-mode, where it is known that
the application will normalize whitespace.

(I guess you mean nxhtml-mode which is derived from nxml-mode.)

But just to be sure: Are you saying that in XHTML files the whitespace extent in the text parts (that part that is shown in a web browser) is significant (even though the web browser does not care much about it)?

If so, what should a confused editor do?




reply via email to

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