[PATCH] test: make test_emacs call post-command-hook

2014-01-21 Thread David Bremner
From: Mark Walters The unread/read changes will use the post-command-hook. test_emacs does not call the post-command-hook. This adds a notmuch-test-progn which takes a list of commands as argument and executes them in turn but runs the post-command-hook after each one. The caller can batch opera

segfault if notmuch-show query has spurious .. (w/ v0.17)

2014-01-21 Thread Sanjoy Mahajan
Probably because I kept using notmuch-emacs .elc code from 0.16 after notmuch got upgraded to 0.17 (I rarely restart emacs), my Emacs interface to notmuch started generating queries that caused Xapian exceptions and segfaults. Here's one: $ notmuch show '( FW: Student Employment Orie.. )' A X

segfault if notmuch-show query has spurious .. (w/ v0.17)

2014-01-21 Thread Sanjoy Mahajan
Probably because I kept using notmuch-emacs .elc code from 0.16 after notmuch got upgraded to 0.17 (I rarely restart emacs), my Emacs interface to notmuch started generating queries that caused Xapian exceptions and segfaults. Here's one: $ notmuch show '( FW: Student Employment Orie.. )' A X

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread kototama kototama
> tag:muted) > > and of course that can be done in a post-new script or equivalent. > > d > ___ > notmuch mailing list > notmuch at notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch > -- next part ---

[PATCH] test: make test_emacs call post-command-hook

2014-01-21 Thread David Bremner
From: Mark Walters The unread/read changes will use the post-command-hook. test_emacs does not call the post-command-hook. This adds a notmuch-test-progn which takes a list of commands as argument and executes them in turn but runs the post-command-hook after each one. The caller can batch opera

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread Amadeusz Żołnowski
in all search results - at least IMHO. -- Amadeusz ?o?nowski -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140121/37dcb448/attachment.pgp>

ido address lookup for notmuch

2014-01-21 Thread Sebastian Fischmeister
Hi, This is a function that I find really useful. I adapted it a bit based on the original from Jacek Generowicz. Maybe others will find it helpful as well. Sebastian ;; original https://groups.google.com/group/mu-discuss/browse_thread/thread/551b7a6487a0aeb3 (setq notmuch-compose-complete-i

[PATCH] notmuch dump: default to batch-tag format.

2014-01-21 Thread Tomi Ollila
On Tue, Jan 21 2014, david at tethera.net wrote: > From: David Bremner > > Although we didn't formally deprecate the old format, the new one has > been available for a year. > --- > NEWS | 10 ++ > notmuch-dump.c | 2 +- > 2 files changed, 11 insertions(+), 1 deletion(-) > > d

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread Amadeusz Żołnowski
-- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140121/f52edb5a/attachment.pgp>

ido address lookup for notmuch

2014-01-21 Thread Sebastian Fischmeister
Hi, This is a function that I find really useful. I adapted it a bit based on the original from Jacek Generowicz. Maybe others will find it helpful as well. Sebastian ;; original https://groups.google.com/group/mu-discuss/browse_thread/thread/551b7a6487a0aeb3 (setq notmuch-compose-complete-i

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread kototama kototama
-- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140121/2817dc95/attachment.html>

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
Amadeusz ?o?nowski writes: > > The question is: should exclude_tags be used in context of killed/mute? > This is just for skipping ?inbox?, not for hiding them in all search > results - at least IMHO. > For me I definitely want a muted thread to disappear in all searches. I have at least three "

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
Amadeusz ?o?nowski writes: >> I have developed a small minor mode to mute email threads with notmuch. > > FYI, it seems to be similar to "killed" option of afew[1]. > > [1] https://github.com/teythoon/afew As far as I can tell, neither afew nor alot uses search.exclude_tags. This seems unfortunat

[PATCH] notmuch dump: default to batch-tag format.

2014-01-21 Thread da...@tethera.net
From: David Bremner Although we didn't formally deprecate the old format, the new one has been available for a year. --- NEWS | 10 ++ notmuch-dump.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 28788d8..bdb248e 100644 --- a/NEWS +++

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread kototama kototama
Thanks everyone for the feedback. I wasn't aware it could be done on the command line, on the other hand I really wanted to experiment and see how much notmuch was hackable with Emacs Lisp. I'll probably explore the command line option for a next version. For me it's important that muted thread

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
kototama kototama writes: > Hello everyone, > > I have developed a small minor mode to mute email threads with notmuch. > > http://dialectical-computing.de/blog/blog/2014/01/17/an-emacs-minor-mode-to-mute-email-threads/ > > https://github.com/kototama/notmuch-kill-mode > > I hope it can be useful

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
Amadeusz Żołnowski writes: > > The question is: should exclude_tags be used in context of killed/mute? > This is just for skipping „inbox”, not for hiding them in all search > results - at least IMHO. > For me I definitely want a muted thread to disappear in all searches. I have at least three "

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread Amadeusz Żołnowski
David Bremner writes: > Amadeusz Żołnowski writes: >>> I have developed a small minor mode to mute email threads with notmuch. >> >> FYI, it seems to be similar to "killed" option of afew[1]. >> >> [1] https://github.com/teythoon/afew > > As far as I can tell, neither afew nor alot uses > search

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
Amadeusz Żołnowski writes: >> I have developed a small minor mode to mute email threads with notmuch. > > FYI, it seems to be similar to "killed" option of afew[1]. > > [1] https://github.com/teythoon/afew As far as I can tell, neither afew nor alot uses search.exclude_tags. This seems unfortunat

Re: [PATCH] notmuch dump: default to batch-tag format.

2014-01-21 Thread Tomi Ollila
On Tue, Jan 21 2014, da...@tethera.net wrote: > From: David Bremner > > Although we didn't formally deprecate the old format, the new one has > been available for a year. > --- > NEWS | 10 ++ > notmuch-dump.c | 2 +- > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread Amadeusz Żołnowski
kototama kototama writes: > Hello everyone, Hi, > I have developed a small minor mode to mute email threads with notmuch. FYI, it seems to be similar to "killed" option of afew[1]. [1] https://github.com/teythoon/afew Regards, -- Amadeusz Żołnowski pgpbhqNMsoedx.pgp Description: PGP si

[PATCH] notmuch dump: default to batch-tag format.

2014-01-21 Thread david
From: David Bremner Although we didn't formally deprecate the old format, the new one has been available for a year. --- NEWS | 10 ++ notmuch-dump.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 28788d8..bdb248e 100644 --- a/NEWS +++

Re: An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread David Bremner
kototama kototama writes: > Hello everyone, > > I have developed a small minor mode to mute email threads with notmuch. > > http://dialectical-computing.de/blog/blog/2014/01/17/an-emacs-minor-mode-to-mute-email-threads/ > > https://github.com/kototama/notmuch-kill-mode > > I hope it can be useful

An Emacs Minor Mode to Mute Email Threads

2014-01-21 Thread kototama kototama
Hello everyone, I have developed a small minor mode to mute email threads with notmuch. http://dialectical-computing.de/blog/blog/2014/01/17/an-emacs-minor-mode-to-mute-email-threads/ https://github.com/kototama/notmuch-kill-mode I hope it can be useful for some of you. Best regards _