aerc/worker
Julian Pidancet c7bfe4e490 notmuch: add maildir support
By associating the notmuch database with a maildir store, we can add the
Copy/Move/Delete operations on messages to the notmuch backend.
This change assumes that the notmuch database location is also the root
of the maildir store.

In a previous change, we added the ability to dynamically add and remove
message files to the notmuch DB. This change uses this facility to
synchronize the database with the filesystem operations on maildir
files.

While it's still possible to use the query-map file to create virtual
folders from notmuch search queries, the sidebar is now loaded with the
folders found in the maildir store.

With notmuch, two identical but distinct message files can be indexed in
the database with the same key. This change takes extra care of only
deleting or removing message files from the maildir corresponding to the
folder that is currently selected (if any).

Implements: https://todo.sr.ht/~rjarry/aerc/88
Fixes: https://todo.sr.ht/~rjarry/aerc/73
Signed-off-by: Julian Pidancet <julian.pidancet@oracle.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2022-10-27 21:45:24 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: fix flags update 2022-10-04 10:19:40 +02:00
lib maildir: replace ListFolder method with FolderMap 2022-10-27 21:39:41 +02:00
maildir maildir: replace ListFolder method with FolderMap 2022-10-27 21:39:41 +02:00
mbox logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
notmuch notmuch: add maildir support 2022-10-27 21:45:24 +02:00
types types: remove unused FullMessage.Info field 2022-10-25 21:28:56 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go aerc: use single event loop 2022-10-07 10:51:53 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00