On Mi, 01 aug 12, 13:24:24, Jani Nikula wrote: > On Wed, 01 Aug 2012, Stefano Zacchiroli wrote: > > > > Also, if you've further comments on the patch, do not hesitate! > > I'm guessing you get the duplicates because you have dupes in the mail > store, and 'notmuch search --output=files' prints all the filenames > associated with each matching message, rather than any other reason. The > presented approach will only remove identical files, and will leave > behind files that are basically the same message, but have differing > headers, e.g. due to being received through different channels. Is this > what you want? I'm at least one user that cares enough about the distinction to have all list mails received via a different address, just to avoid Gmail's "feature" of silently dropping my own messages received via a list. IMVHO it should at least be configurable... Kind regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)