bugGNU nano - Bugs: bug #48222, undoing a paste on the last line...

 
 

bug #48222: undoing a paste on the last line produces a warning

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Tue 14 Jun 2016 01:27:33 PM UTC  
 
Severity: 4 - ImportantStatus: 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.

 

Wed 15 Jun 2016 11:08:06 AM UTC, comment #2:

Closing, because bug is not in a release.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 14 Jun 2016 02:39:15 PM UTC, comment #1:

Fixed in git, 883373c.

This should make it into 2.6.0.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 14 Jun 2016 01:27:33 PM UTC, original submission:

To reproduce, run 'nano --ignore --nonewlines'. Then type:
a <Enter> a <Enter> <Up> ^K ^U M-U

Internal error: can't match line 3. Please save your work.

But in fact there is nothing wrong. The warning is bogus.

Somehow it tries to reference a line that is only there when the paste is done, not when it's gone.

Bug is new. It does not exist in 2.5.3.

I could revert 06b449b, but... je n'aime pas.

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
    Wed 15 Jun 2016 11:08:06 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 14 Jun 2016 02:39:15 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1