unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Wrong numbers
@ 2024-10-13 16:56 Martin Kjær Jørgensen
  2024-10-19 14:10 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Kjær Jørgensen @ 2024-10-13 16:56 UTC (permalink / raw)
  To: notmuch


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.

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?

-- 
/Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong numbers
  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
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2024-10-19 14:10 UTC (permalink / raw)
  To: Martin Kjær Jørgensen, notmuch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong numbers
  2024-10-19 14:10 ` David Bremner
@ 2024-10-22  5:30   ` Martin Kjær Jørgensen
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Kjær Jørgensen @ 2024-10-22  5:30 UTC (permalink / raw)
  To: David Bremner, notmuch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-22  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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