bugGNU nano - Bugs: bug #52505, when the cursor is put on line 1...

 
 

bug #52505: when the cursor is put on line 1 column 1, nano does not remember this

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 25 Nov 2017 07:45:30 PM 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.

 

Sun 26 Nov 2017 08:31:46 AM UTC, comment #1:

Fixed in git, commit 5487551c.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 25 Nov 2017 07:45:30 PM UTC, original submission:

To reproduce, first run:

src/nano --pos +1234 NEWS

Type ^X, and then run:

src/nano --pos NEWS

The cursor is again on line 1234, as expected. Now type M-\ to the put the cursor at the top of the, at the start of the first line, and then type ^X. Now run again:

src/nano --pos NEWS

The cursor is again on line 1234. Wrong! The cursor should be at the start of the file, there where we last put it.

Bug exists since nano-2.9.0.

It seems that thhe reloading of the positions file interferes with our deleting of the entry when the cursor position is (1, 1). :|

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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Nov 2017 08:13:00 PM UTCbensOpen/ClosedOpen=>Closed
    Sun 26 Nov 2017 08:31:46 AM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1