[PATCH 2/3] test: fix hook-counter to accept the new no-display param

2012-06-15 Thread Jani Nikula
notmuch-hello-refresh-hook is now called with no-display param. Accept (and ignore) it in hook-counter. --- test/test-lib.el |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.el b/test/test-lib.el index 6271da2..9f66b0e 100644 --- a/test/test-lib.el +++

[PATCH 3/3] emacs: add notmuch hello refresh hook to display message count change

2012-06-15 Thread Jani Nikula
Add a notmuch hello refresh hook to display a message about change in message count in the database since the notmuch-hello buffer was last refreshed manually (no-display is nil). Signed-off-by: Jani Nikula j...@nikula.org --- emacs/notmuch-hello.el | 27 +++ 1 file

[PATCH] emacs: add function to toggle display of all multipart/alternative parts

2012-06-15 Thread Jani Nikula
Add function notmuch-show-toggle-multipart-alternative to make notmuch-show-all-multipart/alternative-parts buffer local, toggle its value in the buffer, and redisplay the thread with either all or preferred alternative parts expanded. A small wrinkle is that in order to make the variable survive

bug in parsing?

2012-06-15 Thread David Belohrad
Dear all, recently I got an email from matplotlib list, which fails to parse in notmuch-saved-search-unread. It looks like this: Yest. 21:04 [3/5] Jesse Rosenthal, Tomi Ollila [PATCHv2] emacs: derive correct timestamp in FCC unique name (inbox notmuch) Yest. 20:58 [1/1] Allin Cottrell

[PATCH 1/3] emacs: add no-display arg to notmuch-hello-refresh-hook

2012-06-15 Thread Jani Nikula
Add no-display arg to notmuch-hello-refresh-hook to allow each hook to decide what is appropriate when no-display is t, which is typically the case when called non-interactively. This is used by the following patch. This breaks existing hooks people might have, which will now need to accept the

[PATCH 2/3] test: fix hook-counter to accept the new no-display param

2012-06-15 Thread Jani Nikula
notmuch-hello-refresh-hook is now called with no-display param. Accept (and ignore) it in hook-counter. --- test/test-lib.el |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.el b/test/test-lib.el index 6271da2..9f66b0e 100644 --- a/test/test-lib.el +++

[PATCH 3/3] emacs: add notmuch hello refresh hook to display message count change

2012-06-15 Thread Jani Nikula
Add a notmuch hello refresh hook to display a message about change in message count in the database since the notmuch-hello buffer was last refreshed manually (no-display is nil). Signed-off-by: Jani Nikula --- emacs/notmuch-hello.el | 27 +++ 1 file changed, 27

[PATCH] emacs: add function to toggle display of all multipart/alternative parts

2012-06-15 Thread Jani Nikula
Add function notmuch-show-toggle-multipart-alternative to make notmuch-show-all-multipart/alternative-parts buffer local, toggle its value in the buffer, and redisplay the thread with either all or preferred alternative parts expanded. A small wrinkle is that in order to make the variable survive