[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] found a small failure in the undo stuff
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] found a small failure in the undo stuff |
Date: |
Thu, 29 May 2014 21:08:31 +0200 |
On Thu, May 29, 2014, at 1:38, Mark Majeres wrote:
> OK, that was a pretty easy one. Patch is attached.
Okay. That works fine. Merged into SVN. Thanks!
However, testing it, I came across something else.
To reproduce, open some file, go to the middle of
some line, and do <Delete> <M-U>, and repeat many
times. See how the cursor advances one position on
every cycle. Now do <Delete> <Delete> <M-U>, and
repeat many times -- the cursor returns every time
to the same place, as expected.
Also: set the mark, retreat some characters, do ^K
and M-U -- the cursor is after the end of the uncut
portion, instead of where it was when the ^K was
given. In other words: a backward cut is undone in
the same way as a forward, but shouldn't: it would
be more consistent if the cursor were placed at the
other end.
Benno
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are