From c7bfe4e490fb1fcf779edceb23c96301eb763b47 Mon Sep 17 00:00:00 2001 From: Julian Pidancet Date: Wed, 26 Oct 2022 22:29:04 +0200 Subject: 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 Acked-by: Robin Jarry Acked-by: Tim Culverhouse --- doc/aerc.1.scd | 4 ---- 1 file changed, 4 deletions(-) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index f14d4671..f3c0e521 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -307,8 +307,6 @@ message list, the message in the message viewer, etc). *mkdir* Creates a new folder for this account and changes to that folder. - This is not supported on the 'notmuch' backend. - *rmdir* [-f] Removes the current folder. @@ -317,8 +315,6 @@ message list, the message in the message viewer, etc). *-f* Remove the directory even if it contains messages. - This is not supported on the 'notmuch' backend. - Some programs that sync maildirs may recover deleted directories (e.g. offlineimap). These can either be specially configured to properly handle directory deletion, or special commands need to be run to delete -- cgit