nano-devel
[Top][All Lists]
Advanced

[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

Attachment: dont-redo-magicline.patch
Description: Text Data


reply via email to

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