unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Kevin J. McCarthy" <kevin@8t8.us>
To: Jani Nikula <jani@nikula.org>
Cc: notmuch@notmuchmail.org, Stefano Zacchiroli <zack@upsilon.cc>
Subject: Re: notmuch-mutt: support for duplicate message removal
Date: Wed, 1 Aug 2012 10:54:26 -0700	[thread overview]
Message-ID: <20120801175426.GA14470@zaogao.lan> (raw)
In-Reply-To: <87pq7aam8n.fsf@nikula.org>

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.

> 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.

-Kevin

  parent reply	other threads:[~2012-08-01 17:54 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 [this message]
2012-08-01 19:28     ` Jani Nikula

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=20120801175426.GA14470@zaogao.lan \
    --to=kevin@8t8.us \
    --cc=jani@nikula.org \
    --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).