nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Nano with Line Numbering


From: Faissal Bensefia
Subject: Re: [Nano-devel] Nano with Line Numbering
Date: Sun, 18 Sep 2016 11:05:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 16/09/16 13:57, Benno Schulenberg wrote:
> 
> On Thu, Sep 15, 2016, at 12:11, Faissal Bensefia wrote:
>> Should all be fixed now. The new patch is attached.
> 
> Thanks.  Things are getting better and the patch is
> getting smaller.  Great!
> 
> I've rebased your patch to current git, have added two
> comments and have moved intlen() to utils.c.  See attached.
> 
> 
> However, try this:
>   stty cols 15 && src/nano --ignore --nowrap --linenum +5,22 NEWS
> Floating-point error.
> 
> Further, try this:
>   stty cols 44 && src/nano --ignore --soft --linenum +1 README.GIT
> See how at least two lines at the bottom seem to be missing.
> Do a PageDown and a PageUp.  See how those "missing" lines are
> now occupied by lines that shouldn't be there.
> 
> But most of all, in softwrap mode, the continuation lines shouldn't
> have a line number in front of them.  Look how vim handles this.
> Run 'stty cols 44 && vim README.GIT', then type ":set nu" and see
> how the continuation parts are numberless.  In nano, things should
> look the same.
> 
> Benno
> 
Should all be done, attached.

~Faissal Bensefia

Attachment: 0001-Added-line-numbering.patch
Description: Text Data


reply via email to

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