bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18872: 24.4; nxml-bug: non-working indentation after yank


From: Marcin Borkowski
Subject: bug#18872: 24.4; nxml-bug: non-working indentation after yank
Date: Wed, 02 Mar 2016 13:49:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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...)

Best,

-- 
Marcin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]