GNU bug report logs - #18872
24.4; nxml-mode: non-working indentation after yank

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Tue, 28 Oct 2014 15:08:01 UTC

Severity: normal

Tags: fixed

Found in versions 24.4, 25.3

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 18872 <at> debbugs.gnu.org
Subject: bug#18872: 24.4; nxml-bug: non-working indentation after yank
Date: Wed, 2 Mar 2016 16:25:24 +0100
On 2016-03-02 13:49:29 +0100, Marcin Borkowski wrote:
> On 2014-10-28, at 16:06, Vincent Lefevre <vincent <at> 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 <at> 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)




This bug report was last modified 6 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.