[PATCH 1/2] Add test for incorrect threading of messages

2014-05-26 Thread Michal Sojka
This happens when there is some garbage after the last Message-ID in the References header. See for example https://lkml.org/lkml/headers/2014/5/19/864. --- test/T510-thread-replies.sh | 28 1 file changed, 28 insertions(+) diff --git a/test/T510-thread-replies.sh

[PATCH 0/2] Improve message threading

2014-05-26 Thread Michal Sojka
Hi all, I noticed that in certain situations notmuch does not reconstruct thread structure correctly. The fix was quite trivial - see the patches. The patch fixes my problem, however, as I learnt from the thread around id:87oazwjq1e@yoom.home.cworth.org, there are more problems in this code.

Re: notmuch-emacs and bbdb

2014-05-26 Thread Daniel Bergey
On 2014-05-23 at 23:25, Wael Nasreddine wael.nasredd...@gmail.com wrote: On 22.07.2012 02:24, Daniel Bergey wrote: Glad to hear I have another user! My function bbdb/notmuch-snarf-to doesn't work yet on more than one recipient. Once I get that working, I'd like to do what you suggest, and have

Cannot apply multiple tags to a selection in search view

2014-05-26 Thread Mark Walters
Hi I think notmuch-search-tag (and other tagging functions) were cleaned up for 0.17: in particular their interactive behaviour changed. notmuch-search-tag now only looks at the region if called interactively. I think the following would do what you want (define-key notmuch-search-mode-map "d"

[PATCH 0/2] Improve message threading

2014-05-26 Thread Michal Sojka
Hi all, I noticed that in certain situations notmuch does not reconstruct thread structure correctly. The fix was quite trivial - see the patches. The patch fixes my problem, however, as I learnt from the thread around id:87oazwjq1e.fsf at yoom.home.cworth.org, there are more problems in this

[PATCH 2/2] Make parsing of References and In-Reply-To header less error prone

2014-05-26 Thread Michal Sojka
According to RFC2822 References and In-Reply-To headers are supposed to contain one or more Message-IDs, however older RFC822 allowed almost any content. When both References and In-Reply-To headers ends with something else that a Message-ID (see e.g. [1]), the thread structure presented by

[PATCH 1/2] Add test for incorrect threading of messages

2014-05-26 Thread Michal Sojka
This happens when there is some garbage after the last Message-ID in the References header. See for example https://lkml.org/lkml/headers/2014/5/19/864. --- test/T510-thread-replies.sh | 28 1 file changed, 28 insertions(+) diff --git a/test/T510-thread-replies.sh

notmuch-emacs and bbdb

2014-05-26 Thread Daniel Bergey
On 2014-05-23 at 23:25, Wael Nasreddine wrote: > On 22.07.2012 02:24, Daniel Bergey wrote: >>Glad to hear I have another user! >> >>My function bbdb/notmuch-snarf-to doesn't work yet on more than one >>recipient. Once I get that working, I'd like to do what you suggest, >>and have some hook call