unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: mah@everybody.org (Mark A. Hershberger)
Cc: Eric Lilja <mindcooler@gmail.com>, emacs-devel@gnu.org
Subject: Re: Bug in nxml-mode (indentation)?
Date: Thu, 20 Dec 2007 19:41:20 -0500	[thread overview]
Message-ID: <jwvsl1wlw68.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8763ywvf4y.fsf@everybody.org> (Mark A. Hershberger's message of "Mon, 17 Dec 2007 22:46:37 -0500")

>> 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.


        Stefan

  parent reply	other threads:[~2007-12-21  0:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17 21:56 Bug in nxml-mode (indentation)? Eric Lilja
2007-12-18  3:46 ` Mark A. Hershberger
2007-12-18  9:15   ` Eric Lilja
2007-12-18  9:38     ` Jason Rumney
2007-12-18  9:46       ` Eric Lilja
2007-12-18 10:23         ` Jason Rumney
2007-12-18 10:52           ` Eric Lilja
2007-12-18 11:29             ` Jason Rumney
2007-12-18 12:55               ` Eric Lilja
2007-12-18 20:59               ` Edward O'Connor
2007-12-18 21:53                 ` Eric Lilja
2007-12-21  2:05                   ` Edward O'Connor
2007-12-18 20:10           ` Lennart Borgman (gmail)
2007-12-21  0:41   ` Stefan Monnier [this message]
2007-12-21  4:05     ` Mark A. Hershberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvsl1wlw68.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mah@everybody.org \
    --cc=mindcooler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).