From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Wed, 16 Jan 2008 10:47:39 +0000 Subject: [sup-talk] [PATCH] Search all threads with option to cancel In-Reply-To: <1200457554-sup-9055@south> References: <1200071751-sup-5552@tomsk> <1200201168-sup-5812@south> <1200247733-sup-3710@tomsk> <1200272179-sup-6412@south> <1200307947-sup-1357@tomsk> <1200372469-sup-1813@south> <1200400125-sup-5900@tomsk> <1200457554-sup-9055@south> Message-ID: <1200480144-sup-10@tomsk> On 16.1.2008, William Morgan wrote: > I think you should split this into two patches, the first of which adds > the ability to stop any current thread-loading operation, and the second > of which gives you the "load everything now" button. I'd like to > evaluate each one independently. At the moment isnt the only thread-loading operation the load_n_threads method in thread-index-view? All the possibly long running operations that run threads that I can think of end up going through this as far as I can see. So do you want a patch for interrupting the load threads method, and then a patch to add the potentially long running load_all_threads? > I think I'd like the stop loading button to be ^G, which is the general > cancel command everywhere in Sup. The load everything now button can be > a scary multi-key sequence like "!!". > Ok, easily done - I didnt use ^G originally because I thought you couldnt overload a key action in a mode and I though ^G was added elsewhere. Marcus