Re: delete duplicated mails
- To: mutt-users@xxxxxxxx
- Subject: Re: delete duplicated mails
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 23 Sep 2008 08:19:27 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=8qyVqIXbzLmS2aCc5CES6kfScBw=; b=DAkJ l8vBqP7dnCvXL4jdqW0D8YjBj4dl52NqpeNUAyPECpTzKxIrQCkOloxnMZVnJO86 fuZ1CUwUAL726e1UQ3spoIEVEjUKzTFAgb7IMYk6E4GwUgRgW628mu8WzX7mkivA uTrEjQkvtjVrij1JWzegyuTa4e4ZqC9e2x/MTf8=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=ILY1HfdkwUUCq+o/mps8gB43RrsDTyd2UmwIONVZVGGdOanOLBKvNXUxRRr+Yak5gRn/CLy8uMzaJ4D3sBr7hgwPMqMNHdQNYHt5CAHCubiGpyCeDstv30Cd9IWXgt7IC7WmshosnzbCRg2Aho5GHYW1+Sx/zilw3t8uq5XlNuA=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080923062056.GA3152@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080923011043.GB25929@b2j> <20080923011704.GC13936@xxxxxxxxxxxxxxx> <20080923013850.GA32109@b2j> <20080923062056.GA3152@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-31)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, September 23 at 02:20 PM, quoth Wilkinson, Alex:
>mmm, i liked the idea of this folder-hook so i tried it out.
>Is it meant to automagically delete duplicate threads ? If so
>the following folder-hook did sweet-fa for me :(
"sweet-fa"? That's a new one to me...
> folder-hook . \
> "set sort=reverse-threads ;\
> set sort_aux=last-date-received ;\
> set duplicate_threads=yes ;\
> push '<collapse-all>' ;\
> push '<delete-pattern>~=<enter>' ;\
> set index_format='%3N %4C %Z %{%b %d} %-15.15F (%4c) %?M?%M> ?%s' ;\
> set display_filter='t-prot -acelmtS -Mmutt --spass'"
Well, one problem I see is that delete-pattern only works on messages
you can *see*. After you <collapse-all>, the pattern won't match
anything that has been collapsed. So swap those two lines: delete
things before you collapse-all.
~Kyle
- --
All we have to decide is what to do with the time that is given us.
-- Gandalf the Grey
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkjY7N8ACgkQBkIOoMqOI143DQCgi/i9h0++v4i+7+ri+Nn3Y6DK
x4oAoLUyjzhkSF/XqEkwtbj5VY7zg6Ut
=2r0Z
-----END PGP SIGNATURE-----