From: Jonathan Wilner <jonathan@teamwilner.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Cc: David Edmondson <dme@dme.org>, Mark Walters <markwalters1009@gmail.com>
Subject: Re: Looking for help re: inbox/thread/tree slowdown; misconfiguration?
Date: Tue, 28 Jul 2020 06:46:04 -0700 [thread overview]
Message-ID: <m24kpru50j.fsf@teamwilner.com> (raw)
In-Reply-To: <871rkvsxs0.fsf@tethera.net>
Thanks, David! I'm giving this a try now. So far, so good!
Best,
Jonathan
David Bremner <david@tethera.net> writes:
> David Bremner <david@tethera.net> writes:
>
>> jonathan@teamwilner.com writes:
>>
>>> I've got about 52K items with the tag "inbox". Should be "notmuch"
>>> right? :-) Here's the problem - if I want to view that in tree view,
>>> it can take multiple minutes for notmuch to return a result.
>>
>> In general there should be some results right away, with the rest of the
>> buffer being filled asynchronously. Unfortunately notmuch-emacs only
>> handles the one asynchronous query, so if there is already a long
>> running query, you will indeed have to wait for the whole tree/list of
>> headers to be read into emacs.
>>
>
> I think I see what is probably going on for you. You are probably first
> opening the query with notmuch-search-mode, then switching to
> notmuch-tree mode, This leads to the original query running in the
> background, blocking your second (tree-mode) query from running. I
> suggest trying M-x notmuch-tree directly (say in a fresh Emacs instance)
> and see if it has the same delay. If it works better, you can set the
> default mode to open a saved search by customizing
> notmuch-saved-searches.
>
> It's been a while since I looked at the async code, maybe David E or
> Mark have some ideas about how hard it would be to improve the current
> behaviour of one async query blocking all others.
>
> d
prev parent reply other threads:[~2020-07-28 13:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-27 23:36 Looking for help re: inbox/thread/tree slowdown; misconfiguration? jonathan
2020-07-28 1:41 ` David Bremner
2020-07-28 11:07 ` David Bremner
2020-07-28 13:46 ` Jonathan Wilner [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=m24kpru50j.fsf@teamwilner.com \
--to=jonathan@teamwilner.com \
--cc=david@tethera.net \
--cc=dme@dme.org \
--cc=markwalters1009@gmail.com \
--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).