bugGNU nano - Bugs: bug #50158, trying to not replace a string at...

 
 

bug #50158: trying to not replace a string at the head of a selection requires "No" twice

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 26 Jan 2017 05:08:34 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.

 

Fri 10 Feb 2017 01:12:49 PM UTC, comment #2:

Properly fixed by commit 8f10e364. See bug #50273.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 26 Jan 2017 08:40:59 PM UTC, comment #1:

Fixed in git, 437cb410.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 26 Jan 2017 05:08:34 PM UTC, original submission:

To reproduce, run 'src/nano +2,32 README', and type:
M-A <End> M-R enha <Enter> xx <Enter>

If you now type N, nothing happens. Only when you type N again, does the replacement session stop. If instead of the first N you type Y instead, the replacement is made and the session ends immediately, as it should.

Problem exists since nano-2.4.1.

Expected behavior: just one N should be enough.

(This reminds me of the spell checker asking twice to replace the same instance of a misspelled word. Wasn't the fix for that a general fix?)

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Feb 2017 10:36:30 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 26 Jan 2017 08:40:59 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1