Re: Proof of concept for counting messages in thread

Subject: Re: Proof of concept for counting messages in thread

Date: Mon, 13 Feb 2023 12:32:25 -0400

To: Michael J Gruber, notmuch@notmuchmail.org

Cc: pabs@debian.org

From: David Bremner


Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:

> I am getting a few surprising matches, e.g.
> ```
> notmuch search  --query=sexp '(thread (count 115)))'
> thread:0000000000021229   2021-05-17 [5/5] Michael J Gruber ... redacted
> notmuch count --exclude=false thread:0000000000021229
> 5
> ```
> It could be some database issues, of course. Or me misunderstanding something :)

Hmm. I don't see any strange matches for that particular query, just a
thread that actually has 115 messages. But there could also be bugs of
course.  Does xapin-check complain about your database?

>
> Patch 1/2 is crlf garbled, by the way. Applies cleanly after removing
> the extra ^Ms.

Hmm. Probably because of Content-Transfer-Encoding: 8bit

I have a direct mailed copy that didn't go through mailman, and that
looks OK. 

>
> Michael
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: