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

 
 

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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 14 Jan 2016 11:30:17 AM UTC  
 
Severity: 2 - MinorStatus: 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 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>
Project AdministratorIn charge of this item.
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>
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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jun 2016 09:36:58 AM UTCbensOpen/ClosedOpen=>Closed
    Sun 20 Mar 2016 02:38:38 PM UTCbensSeverity3 - Normal=>2 - Minor
      StatusNone=>Fixed
    Thu 21 Jan 2016 07:28:22 PM UTCbensAssigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1