Re: show a single message in a huge thread

2021-06-12 Thread Tomi Ollila
On Fri, Jun 11 2021, Jonathan Wilner wrote: > I definitely also have this problem with large threads - big time hangs > using Notmuch in Emacs. My simple tests indicate that it happens in Emacs, > not using Notmuch at the command line, though that can also take quite a > long time to return. > >

[PATCH 1/2] lib: make indexopts pointers opaque

2021-06-12 Thread David Bremner
There is no reason for anything outside the indexopts.c compilation unit to have access to structure members. --- lib/indexopts.c | 4 lib/notmuch-private.h | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/indexopts.c b/lib/indexopts.c index

[PATCH 2/2] CLI: move indexopts variable out of shared options block

2021-06-12 Thread David Bremner
This reduces the amount of global state. Furthermore, index options can be set (in principle) in several ways, not just in the one function for processing indexing command line options. --- notmuch-client.h | 3 +-- notmuch-insert.c | 6 -- notmuch-new.c | 7 +--

indexopts cleanup

2021-06-12 Thread David Bremner
Working on a potential new feature that adds a new index option, I made a few cleanups that I think are worthwhile as a standalone change. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org