bugGNU nano - Bugs: bug #47159, a re-search cannot be aborted

 
 

bug #47159: a re-search cannot be aborted

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 15 Feb 2016 08:34:14 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.

 

Thu 17 Mar 2016 09:14:31 AM UTC, comment #2:

Fixed in SVN, r5738.

(There is no need to reset currmenu after setting it to something else, because this is always done anyway in the main input routine.)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 16 Mar 2016 08:28:24 PM UTC, comment #1:

Bweh... A re-search is run from the main menu, and the main menu doesn't have a Cancel command... In that menu ^C is bound to do_cursorpos_void... Bweh... That will look silly, doing an abort on a request for cursorposition...

But what if the user rebound ^C to something else? She won't have a clue how to abort a re-search then. So the keyboard polling should look at the keycode and and the bound function...

Or no... When doing a re-search, it should temporarily set the current menu to Search, so that whatver is defined as Cancel there will work as Cancel for Research too.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 15 Feb 2016 08:34:14 PM UTC, original submission:

When doing a search (^W) in a huge file, this search can be aborted with ^C (the routine checks for this once per second). But a research (M-W) cannot be aborted.

I think all searching (and also searching for replacing) should be abortable in the same way.

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jun 2016 09:38:55 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 17 Mar 2016 09:14:31 AM UTCbensStatusIn Progress=>Fixed
    Wed 16 Mar 2016 08:28:24 PM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens
      Summarya research cannot be aborted=>a re-search cannot be aborted

    Back to the top


    Powered by Savane 3.1-cleanup1