unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: 18872@debbugs.gnu.org
Subject: bug#18872: 24.4; nxml-bug: non-working indentation after yank
Date: Wed, 2 Mar 2016 16:25:24 +0100	[thread overview]
Message-ID: <20160302152524.GO31013@zira.vinc17.org> (raw)
In-Reply-To: <87egbtvycm.fsf@mbork.pl>

On 2016-03-02 13:49:29 +0100, Marcin Borkowski wrote:
> On 2014-10-28, at 16:06, Vincent Lefevre <vincent@vinc17.net> wrote:
> 
> > Consider the following XML file:
> >
> > ------------------------------------------------------------------
> > <?xml version="1.0" encoding="utf-8"?>
> > <root>
> > <a/>
> >
> > <!--
> > <a b=""
> > -->
> > </root>
> > ------------------------------------------------------------------
> >
> > 1. Open it with "emacs -Q".
> > 2. Go to line 6 (<a b="") and type C-SPC.
> > 3. Go to line 7 and type M-w to copy line 6.
> > 4. Go to line 4 (just after <a/>) and type C-y. One gets:
> >
> > ------------------------------------------------------------------
> > <?xml version="1.0" encoding="utf-8"?>
> > <root>
> > <a/>
> > <a b=""
> > []
> > <!--
> > <a b=""
> > -->
> > </root>
> > ------------------------------------------------------------------
> >
> > where [] is the cursor.
> >
> > 5. Type TAB. This should have put the cursor just below the 'b'
> > for indentation, but this does nothing.
> >
> > 6. If one types DEL then RET, one doesn't get an indentation either.
> >
> > 7. If one types DEL then RET again, one gets the indentation!
> 
> And this in turn I cannot reproduce.  Could you check this one, too?
> (Sorry if I'm mistaken again...)

I can still reproduce it with GNU Emacs 25.0.91.1.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





  reply	other threads:[~2016-03-02 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 15:06 bug#18872: 24.4; nxml-bug: non-working indentation after yank Vincent Lefevre
2016-03-02 12:49 ` Marcin Borkowski
2016-03-02 15:25   ` Vincent Lefevre [this message]
2018-09-22  1:15     ` 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

  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=20160302152524.GO31013@zira.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=18872@debbugs.gnu.org \
    --cc=mbork@mbork.pl \
    /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).