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