[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] undoing deletions at the tail of the file adds a line
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] undoing deletions at the tail of the file adds a line |
Date: |
Wed, 3 Jun 2015 11:30:29 -0700 |
On 6/2/15, Benno Schulenberg <address@hidden> wrote:
>
> Hi,
>
> When --nonewlines is not used (use --ignorercfiles to be sure),
> and then doing some deletions and then undoing them again,
> this adds an extra newline that wasn't there before.
>
> Run for example 'src/nano --ignorercfiles +77 README'.
> Try a <Down>; nothing happens, we're at the tail.
>
> Now type: <Backspace> <Backspace> M-U M-U
> and then <Down>; the cursor goes down one line;
> an extra line has been added.
>
> Attached patch fixes this. The only unnice thing is that
> it doesn't put back the cursor on the last line. Mark?
> Can this be fixed? Or will we have to live with that?
>
Hi Benno,
I attached a revised patch. Please see if it solves the problem.
Thanks,
Mark
dont-redo-magicline.patch
Description: Text Data
- [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/02
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line,
Mark Majeres <=
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/04
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/07
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/12
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/12
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/13
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/13
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/13
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Mark Majeres, 2015/06/15
- Re: [Nano-devel] undoing deletions at the tail of the file adds a line, Benno Schulenberg, 2015/06/17
- Re: [Nano-devel] undoing a backspace at almost the tail of the file loses a line, Benno Schulenberg, 2015/06/20