From: Jani Nikula <jani@nikula.org>
To: "Kevin J. McCarthy" <kevin@8t8.us>
Cc: notmuch@notmuchmail.org, Stefano Zacchiroli <zack@upsilon.cc>
Subject: Re: notmuch-mutt: support for duplicate message removal
Date: Wed, 01 Aug 2012 22:28:23 +0300 [thread overview]
Message-ID: <87a9yev2co.fsf@nikula.org> (raw)
In-Reply-To: <20120801175426.GA14470@zaogao.lan>
On Wed, 01 Aug 2012, "Kevin J. McCarthy" <kevin@8t8.us> wrote:
> Jani Nikula wrote:
>> 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?
>
> This method was something we felt comfortable enabling by default.
>
> Stefano and I discussed adding a (by default off) option to remove
> duplicates by message-id, but wanted to get this patch merged first and
> then think about it.
Sounds reasonable, especially considering [1]. I have no comments on the
patches; I'm not a notmuch-mutt (or perl) user.
>> Perhaps an option to 'notmuch search --output=files' to print only one
>> filename (even if there are many) per message would be interesting.
>
> This would be useful for the second approach. If it's easy to do, that
> would be great.
Apart from [1], the hardest part will be bikeshedding about the option
name. ;)
BR,
Jani.
[1] id:"87d33av2sg.fsf@nikula.org"
prev parent reply other threads:[~2012-08-01 19:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 8:09 notmuch-mutt: support for duplicate message removal Stefano Zacchiroli
2012-08-01 8:09 ` [PATCH 1/2] Add duplicate message removal for notmuch-mutt Stefano Zacchiroli
2012-08-03 1:00 ` David Bremner
2012-08-01 8:09 ` [PATCH 2/2] debian packaging: new depends for duplicate removals in mutt contrib Stefano Zacchiroli
2012-08-01 11:24 ` notmuch-mutt: support for duplicate message removal Jani Nikula
2012-08-01 16:26 ` Andrei POPESCU
2012-08-01 17:20 ` Daniel Kahn Gillmor
2012-08-01 19:18 ` Jani Nikula
2012-08-02 7:21 ` Stefano Zacchiroli
2012-08-02 18:03 ` Jameson Graef Rollins
2012-08-02 19:20 ` Stefano Zacchiroli
2012-08-01 17:54 ` Kevin J. McCarthy
2012-08-01 19:28 ` Jani Nikula [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9yev2co.fsf@nikula.org \
--to=jani@nikula.org \
--cc=kevin@8t8.us \
--cc=notmuch@notmuchmail.org \
--cc=zack@upsilon.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).