bugGNU nano - Bugs: bug #46541, redoing a line cut at EOF...

 
 

bug #46541: redoing a line cut at EOF sometimes does nothing

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 26 Nov 2015 09:23:33 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 30 Nov 2015 03:54:22 PM UTC, comment #3:

Fixed in SVN, r5455.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 29 Nov 2015 08:32:34 PM UTC, comment #2:

Correction: without --nonewlines, the bug is no longer present in SVN.

So currently the bug only occurs when --nonewlines is given, and the very last line of the file is cut, then undone, then redone.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 26 Nov 2015 09:28:39 AM UTC, comment #1:

Without --nonewlines, the bug is present only since nano-2.4.2.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 26 Nov 2015 09:23:33 AM UTC, original submission:

To reproduce, run 'echo xxx >xxx; src/nano --ignore --nonew +2 xxx'. Then type:

<Backspace> ^K M-U M-U M-E M-E.

The second Redo does not cut the xxx line.

Bug is present since nano-2.3.5.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Dec 2015 03:19:10 PM UTCbensOpen/ClosedOpen=>Closed
    Mon 30 Nov 2015 03:54:22 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1