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: Vincent Lefevre
Subject: bug#18872: 24.4; nxml-bug: non-working indentation after yank
Date: Wed, 2 Mar 2016 16:25:24 +0100
User-agent: Mutt/1.5.24-6559-vl-r83103 (2016-02-15)

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 via email to

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