nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] redoing cutting-to-end fails


From: Mark Majeres
Subject: Re: [Nano-devel] redoing cutting-to-end fails
Date: Sun, 29 Jun 2014 10:19:42 -0700

Benno,

> Something else.  Undoing any series of ^Ks puts back the
> cursor where it was when the series started.  But only when
> cut-to-end isn't set.  With M-K toggled on, any undo will put
> the cursor at the end of the pasted-back region.  Worse: a
> redo will only cut part of the stuff that was cut originally.
>
> To reproduce, go to the middle of some line and do:
> <M-K>  ^K  ^K  ^K  <M-U>  <M-E>  <M-U>  <M-E>...
>
> Multiple copies of the second line that was cut start
> appearing.

Patch is attached.

To avoid confusion, I have also included a seperate patch that renames
the 'cut_to_end' functions and vars to 'cut_to_eof' .

--Mark Majeres



reply via email to

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