unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Re: Bug#817964: notmuch: indexing daemon
       [not found] <1457760049.3681.29.camel@debian.org>
@ 2016-03-12 11:24 ` David Bremner
  2016-03-13 23:13   ` Justus Winter
  0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 2016-03-12 11:24 UTC (permalink / raw)
  To: Paul Wise, 817964; +Cc: notmuch

Paul Wise <pabs@debian.org> writes:

> I would like to have a daemon running to index my mail as it arrives,
> gets marked read and is deleted. This would ensure that the database is
> up to date when I do a search using notmuch or one of the interfaces.
>
> Right now if I mark a mail as read and try to view it in a notmuch
> frontend then I get an error until I manually run `notmuch new`. 
>

Can you describe in more detail what error you are seeing, and how the
file is being marked read?

> I expect the right interface to use for notifications of filesystem
> events is inotify since fanotify doesn't send rename events. This would
> require one inotify per directory.
>
> It would be great if it could autostart when ~/.notmuch-config exists,
> using systemd per-user services or perhaps via login autostart stuff.

Currently notmuch doesn't deal very well with e.g. tag changes while
indexing is happening, and my personal feeling is that we should improve
that behaviour first before supporting more concurrency upstream.

d

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

* Re: Bug#817964: notmuch: indexing daemon
  2016-03-12 11:24 ` Bug#817964: notmuch: indexing daemon David Bremner
@ 2016-03-13 23:13   ` Justus Winter
  0 siblings, 0 replies; 2+ messages in thread
From: Justus Winter @ 2016-03-13 23:13 UTC (permalink / raw)
  To: David Bremner, Paul Wise, 817964; +Cc: notmuch

Quoting David Bremner (2016-03-12 12:24:47)
> Paul Wise <pabs@debian.org> writes:
> > I expect the right interface to use for notifications of filesystem
> > events is inotify since fanotify doesn't send rename events. This would
> > require one inotify per directory.

Fwiw, afew does exactly that.

Justus

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

end of thread, other threads:[~2016-03-13 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1457760049.3681.29.camel@debian.org>
2016-03-12 11:24 ` Bug#817964: notmuch: indexing daemon David Bremner
2016-03-13 23:13   ` Justus Winter

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