GNU bug report logs -
#18872
24.4; nxml-mode: non-working indentation after yank
Previous Next
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
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...)
Best,
--
Marcin
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.