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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 25 Nov 2017 07:45:30 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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

Fixed in git, commit 5487551c.

Benno Schulenberg <bens>
Group administrator
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>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-28 bens Open/ClosedOpen Closed
    2017-11-26 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code