Baptiste <[email protected]> writes: > Hi, > >> What about another automatic tag to re-add to an existing mail when =notmuch >> new= detect a moved, renamed or reflagged message ... > > the following code sample seems to actually do the job … >
Sorry I still haven't had a chance to review your patch in detail. A few things I did wonder about - There is a patch series in progress to add a "last modified time" to all messages [1]. It seems like this should also work for your case since renaming counts as modification in this context. It might not be quite as easy/efficient for your use case as your proposal, but it seems like it should work. - What about messages added by notmuch-insert? I guess you are maybe not using it, but it seems odd to only support changes detected in notmuch-new. - This might be because I haven't worked through the details, but it isn't obvious to me how your patch behaves with messages with multiple files on disk. [1]: id:[email protected] _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
