[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] undoings of do_wrap()
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] undoings of do_wrap() |
Date: |
Sat, 14 Jun 2014 08:36:20 -0700 |
Benno,
The attached patch should resolve these issues.
-Mark Majeres
On 6/9/14, Benno Schulenberg <address@hidden> wrote:
> It works nicely. The only thing I don't like is that, when undoing
> text additions that caused line wraps, it says on the status line:
> "Undid action (line wrap)". It should say "Undid action (text add)"
> instead -- the line wrapping is only a side effect of the adding of
> text. The linewrap and the textadd get undone together, which is
> good, but the latter gets undone last, and is what the user actually
> did, so this is what should get mentioned on the status line. But I
> don't see how to easily fix that.
> Something else. Select some words with the mark, hit M-6, and
> then paste them into the line with multiple ^Us (while you have
> started nano with something like -r44). When the line becomes
> overlong, it does not wrap, it just grows and grows. Type ^Us
> until the line is more than 200 characters long. Then type a
> letter, the line breaks once; type another letter, the line breaks
> again; and so on, until it is fully chopped up. This has always
> been this way, but it is very odd behaviour. I think a ^U should
> behave as if all the inserted stuff had been typed in. But maybe
> that is hard to make, so don't bother with it if it's complicated.
undoredo.wrap.4962.patch
Description: Text Data
- [Nano-devel] GNU nano 2.3.4, Chris Allegretta, 2014/06/02
- Re: [Nano-devel] GNU nano 2.3.4, Benno Schulenberg, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Chris Allegretta, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Benno Schulenberg, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Mark Majeres, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Benno Schulenberg, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Mark Majeres, 2014/06/07
- [Nano-devel] undoings of do_wrap(), Benno Schulenberg, 2014/06/08
- Re: [Nano-devel] undoings of do_wrap(), Benno Schulenberg, 2014/06/09
- Re: [Nano-devel] undoings of do_wrap(),
Mark Majeres <=
- [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions, Mark Majeres, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions, Mark Majeres, 2014/06/21
- Re: [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/22