unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Martin Kjær Jørgensen" <me@lagy.org>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: Wrong numbers
Date: Tue, 22 Oct 2024 07:30:07 +0200	[thread overview]
Message-ID: <87h6947li8.fsf@lagy.org> (raw)
In-Reply-To: <87o73g6v4c.fsf@tethera.net>

On Sat, Oct 19 2024, David Bremner <david@tethera.net> wrote:

> 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)

Ah, did not know about that feature. Numbers now match :-)

-- 
/Martin\r

      reply	other threads:[~2024-10-22  5:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-13 16:56 Wrong numbers Martin Kjær Jørgensen
2024-10-19 14:10 ` David Bremner
2024-10-22  5:30   ` Martin Kjær Jørgensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6947li8.fsf@lagy.org \
    --to=me@lagy.org \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).