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

 
 

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

bug #47159: a re-search cannot be aborted

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 15 Feb 2016 08:34:14 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-20 bens Open/ClosedOpen Closed
    2016-03-17 bens StatusIn Progress Fixed
    2016-03-16 bens StatusNone In Progress
        Assigned toNone bens
        Summarya research cannot be aborted a re-search cannot be aborted

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code