Re: Wrong numbers

Subject: Re: Wrong numbers

Date: Sat, 19 Oct 2024 11:10:59 -0300

To: Martin Kjær Jørgensen, notmuch@notmuchmail.org

Cc:

From: David Bremner


Martin Kjær Jørgensen <me@lagy.org> writes:

> Hey list,
>
> I'm a newbie recently migrated to notmuch 0.38.3 with Emacs 29.4 and I have
> noticed an inconsistency in its way of counting. When deleting the xapian
> cache directory and start from 'new', I get the following output:
>
> ~ $ notmuch new
> Found 107181 total files (that's not much mail).
> Processed 107181 total files in 2m 44s (653 files/sec.).
> Added 106845 new messages to the database.
>
> Notice 'new messages' doesn't match total files.

Yes, that's expected. Notmuch groups files with the same message-id into
a single "message" in the database.

>
> When opening notmuch-hello in Eamcs I get this headline:
>
>
>        3 185 inbox-latest         0 unread           1 373 sent                 4 drafts              12 flagged            395 junk
>
> Notice junk amount, for instance. When opening 'junk' and couting the lines
>        ---
>        Fri. 13:14  [1/1]    SnoreStop             End the Nighttime Symphony: Snore Reduction Made Easy!        (junk)
>        Fri. 10:55  [1/1]    WIFI UltraBoost       Boost Your Internet Speed: Try the WIFI Booster Now!          (junk)
>        Fri. 09:51  [1/1]    VacuumGo Pro          VacuumGoPro, Best Portable Vacuum for when you are on the go.  (junk)
>        Fri. 09:00  [1/1]    Bad eyes              Stay Protected on Nighttime Drives with This!                 (junk)
>        ---
>
>        Page has 381 lines (379 + 2)
>
> When opening 'sent' which should show 1373 it only shows 824.
>
> Am I missing something obvious here?

This is a bit harder to debug remotely, but one issue is that a line
corresponds to a thread, not a message. Some threads may have multiple
messages. If you want one line per message, use unthreaded view (U)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: