unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 7467@debbugs.gnu.org
Subject: bug#7467: Could nxml-mode avoid reindenting <pre>...</pre>?
Date: Tue, 23 Nov 2010 06:57:14 +0800	[thread overview]
Message-ID: <87hbf9t19x.fsf@home.jasonrumney.net> (raw)
In-Reply-To: <AANLkTi=QUsB9T7YTOViMFfUbzwS9n1Vp1aMRmQGrK_ws@mail.gmail.com> (Lennart Borgman's message of "Mon, 22 Nov 2010 18:47:32 +0100")

Lennart Borgman <lennart.borgman@gmail.com> writes:

> Since the content in <pre>...</pre> is preformatted it would be good
> if nxml-mode did not reformat it during indentation.

XML attaches no such semantic meaning to tags.

Maybe it would be useful for nxml-mode to have a more general way for
the user to specify not to indent within a block denoted by a
tag.





  reply	other threads:[~2010-11-22 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 17:47 bug#7467: Could nxml-mode avoid reindenting <pre>...</pre>? Lennart Borgman
2010-11-22 22:57 ` Jason Rumney [this message]
2010-11-22 23:08   ` Lennart Borgman
2021-07-18 12:23   ` Lars Ingebrigtsen

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=87hbf9t19x.fsf@home.jasonrumney.net \
    --to=jasonr@gnu.org \
    --cc=7467@debbugs.gnu.org \
    --cc=lennart.borgman@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).