On Mon, Jan 22, 2018 at 11:33:16AM -0500, Ben Boeckel 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.

No, the resulting mailbox can be made to be writable: if you use the
mutt-notmuch script, just change the <change-folder-readonly> below to
<change-folder>:

    macro index <F8> \
          "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch 
--prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
          "search mail (using notmuch)"
    macro index <F9> \
          "<enter-command>unset wait_key<enter><pipe-message>mutt-notmuch 
thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set
 wait_key<enter>" \
          "search and reconstruct owning thread (using notmuch)"

--
Yubin

Reply via email to