bugGNU nano - Bugs: bug #53272, reading a file into an empty...

 
 

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

bug #53272: reading a file into an empty buffer cannot be redone

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 03 Mar 2018 01:27:16 PM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 09 Mar 2018 10:17:46 AM UTC, comment #3: 

Released in 2.9.4.

Benno Schulenberg <bens>
Group administrator
Sat 03 Mar 2018 04:17:38 PM UTC, comment #2: 

Fixed in git, commit e9eabdcd -- the fsfromline() call is completely superfluous for the INSERT case.

And thus a better fix follows in commit f9103a5c.

Benno Schulenberg <bens>
Group administrator
Sat 03 Mar 2018 03:13:37 PM UTC, comment #1: 

The offending commit is 0d931376 -- readjusting some undo stuff after changing read_file() to no longer partition and unpartition the buffer.

Benno Schulenberg <bens>
Group administrator
Sat 03 Mar 2018 01:27:16 PM UTC, original submission:  

To reproduce, run 'src/nano newfile', where newfile is a non-existent file.  Then type: ^R README <Enter>  M-U  M-E.  Result:

  [ Gone undo line -- please report a bug ]

One can also do: src/nano README, and type: ^R NEWS <Enter> M-U M-E.  Same result.

Bug was introduced somewhere between 2.7.5 and 2.8.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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-09 bens Open/ClosedOpen Closed
    2018-03-03 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code