all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Benjamin Riefenstahl <Riefenstahl@mecom.de>
To: 32003@debbugs.gnu.org
Subject: bug#32003: 26.0.90; nxml wrong indentation after multi-line attribute
Date: Fri, 29 Jun 2018 11:38:15 +0200	[thread overview]
Message-ID: <877emiszjs.fsf@riefenstahl-linux.mecom.de> (raw)

Hi all,

Consider this XML:

---- cut ----
<settings
    xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                        https://maven.apache.org/xsd/settings-1.0.0.xsd">
                        <mirrors>
                          ...
                        </mirrors>
</settings>
---- cut ----

Save to a file, nxml-mode should be activated, type tab on the line
"<mirrors>".

The element <mirrors> should be indented at 4 spaces, but it is indented
according to the attribute value of the previous element, unless I
eliminate the line-feed there.

I can reproduce this in "emacs -Q".

benny





             reply	other threads:[~2018-06-29  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29  9:38 Benjamin Riefenstahl [this message]
2019-04-19  3:48 ` bug#32003: 26.0.90; nxml wrong indentation after multi-line attribute Noam Postavsky
2019-05-09 11:41   ` Noam Postavsky

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

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

  git send-email \
    --in-reply-to=877emiszjs.fsf@riefenstahl-linux.mecom.de \
    --to=riefenstahl@mecom.de \
    --cc=32003@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.