bugGNU nano - Bugs: bug #47188, internal spell fixer asks twice...

 
 

bug #47188: internal spell fixer asks twice whether to replace first occurrence

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 18 Feb 2016 11:40:03 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.

 

Wed 23 Mar 2016 12:05:52 PM UTC, comment #1:

Fixed in SVN, r5760.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 18 Feb 2016 11:40:03 AM UTC, original submission:

To reproduce, run 'src/nano +9 README', then type: abc <Down> abc,
and then ^T to spell check (without any speller defined in your .nanorc). The speller suggests to edit a replacement for "abc", so type: de <Enter>. Now it asks to replace the first occurence; type N. For the second occurrence also type N. Now it asks the same question again for the first occurrence. :|

Of course it's somewhat silly to answer N when you've edited a replacement while being shown the first occurrence, but still, it's wrong to ask the question twice about the same occurrence. Especially when it's the only occurrence -- for a moment then nano seems to "hang", to be "deaf".

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jun 2016 09:39:04 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 23 Mar 2016 12:05:52 PM UTCbensAssigned toNone=>bens
    Wed 23 Mar 2016 12:05:51 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1