[PATCH] Add 'G' keybinding to folder and search view that triggers external poll

Dirk Hohndel hohndel at infradead.org
Thu Apr 22 15:17:37 PDT 2010


On Thu, 22 Apr 2010 14:50:33 -0700, Carl Worth <cworth at cworth.org> wrote:
> On Fri, 09 Apr 2010 12:53:26 -0700, Dirk Hohndel <hohndel at infradead.org> wrote:
> > The new functions first check if an external poll script has been defined in
> > the variable 'notmuch-external-refresh-script and if yes, runs that script
> > before executing the existing refresh function (which is bound to '=')
> 
> Thanks Dirk,
> 
> This is even handier than I expected.
> 
> I've pushed this now, but followed up immediately with a (totally
> trivial) change to reduce code duplication, and then a (slightly more
> major) change to define the controlling variable with defcustom so that
> the user can find the variable in the customize screen for notmuch.
> 
> I also renamed it to notmuch-poll-script so you'll need to update your
> setting for this feature to work.

I appreciate how nicely you can say "I liked the idea and then
completely rewrote the crap elisp that you submitted" :-)

/D

-- 
Dirk Hohndel
Intel Open Source Technology Center


More information about the notmuch mailing list