On 22Jan2018 11:33, Ben Boeckel <maths...@gmail.com> wrote:
On Mon, Jan 22, 2018 at 15:32:50 +0000, Grant Edwards wrote:
Why not just delete the duplicate e-mails?
That would seem to be a more efficient way of "always hiding them".
The problem arises when using notmuch to find emails across all
mailboxes and create a new mailbox with the results. This mailbox is
read-only.
When I search for email I look for it using my notmuch wrapper notmuch-search:
https://bitbucket.org/cameron_simpson/css/src/tip/bin/notmuch-search
Once the result mailbox has been made it pulls up mutt on it like this:
mutt -e 'unset header_cache' -e 'push ",D$"' -f "$mdir"
i.e. it disables the header cache (pointless for a transient folder) and runs
my ,D macro, which deletes all duplicates.
Of course such a script name is painful to type, so since I have "+" aliased to
opening mutt, I have ++ aliased to "notmuch-search -S". So less pain. I've got
a "++" macro inside mutt too for the same thing.
Hoping this is helpful,
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)