]> git.notmuchmail.org Git - notmuch/commit
Add 'G' keybinding to folder and search view that triggers external poll
authorDirk Hohndel <hohndel@infradead.org>
Fri, 9 Apr 2010 19:53:26 +0000 (12:53 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 22 Apr 2010 21:22:09 +0000 (14:22 -0700)
commitf373ed0792aac26577fd5911ba4282e55262dc08
treeb7dd1781be7ad7a0941d41943952a7b66471fb84
parent21965718a57613f591464ca260c0f4340c574761
Add 'G' keybinding to folder and search view that triggers external poll

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 '=')

This can be used to have 'G' mimic the mutt behavior of polling an external
mail server - or if the mail polling is already automatic, it can trigger
the call to notmuch new and any necessary automatic tagging of new email.

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
emacs/notmuch.el