-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
Currently, when moving files, we move the file in the filesystem and shell out to notmuch new, and pick up new file locations in doing that.
This causes problems, as users often call afew via notmuch's hook system, and in general, it's a bit invasive operation.
A better way would be to do the following on mail move:
- Copy the file to the new location
- Call
notmuch.database.add_message()with the new location - Remove the file on the old location
- Call
notmuch.database.remove_message()with the old location
Metadata
Metadata
Assignees
Labels
No labels