bugGNU nano - Bugs: bug #46894, changing the filename in ^O to an...

 
 

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

bug #46894: changing the filename in ^O to an existing one, does not ask whether the change is okay

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 14 Jan 2016 11:30:17 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 20 Mar 2016 02:38:38 PM UTC, comment #1: 

Fixed in SVN, r5753.

In addition, nano now shows the name of the file that already exists, like Pico -- in case you forgot what you typed.  And it will not ask a second time whether a name change is okay when the answer was Yes (for this WriteOut).

Benno Schulenberg <bens>
Group administrator
Thu 14 Jan 2016 11:30:17 AM UTC, original submission:  

When in the WriteOut menu one (accidentally) changes to name of the file to be written to an existing one, nano does not ask (as it usually does) "Save file under DIFFERENT NAME ?" but just "File exists, OVERWRITE ?".  In my opinion it should ask both questions, in the given order.

To reproduce, run 'src/nano src/cut.c', type ^O <Backspace> o <Enter>.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-20 bens Open/ClosedOpen Closed
    2016-03-20 bens Severity3 - Normal 2 - Minor
        StatusNone Fixed
    2016-01-21 bens Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code