From: Antoine Amarilli Date: Fri, 22 Jan 2016 15:13:18 +0000 (+0100) Subject: Searching messages by size with notmuch X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b1438af6f8e76ed64cf2991af7dbc8626dbc605;p=notmuch-archives.git Searching messages by size with notmuch --- diff --git a/16/d1006ed14b74fb76dc6961cbda34d69df39ecb b/16/d1006ed14b74fb76dc6961cbda34d69df39ecb new file mode 100644 index 000000000..9c32eddab --- /dev/null +++ b/16/d1006ed14b74fb76dc6961cbda34d69df39ecb @@ -0,0 +1,108 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 853926DE0B2F + for ; Fri, 22 Jan 2016 07:22:28 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.101 +X-Spam-Level: +X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id NlNkyhfxmNuQ for ; + Fri, 22 Jan 2016 07:22:24 -0800 (PST) +X-Greylist: delayed 541 seconds by postgrey-1.35 at arlo; + Fri, 22 Jan 2016 07:22:23 PST +Received: from ulminfo.fr (ulminfo.fr [176.31.242.187]) + by arlo.cworth.org (Postfix) with ESMTPS id D16046DE0B26 + for ; Fri, 22 Jan 2016 07:22:23 -0800 (PST) +Received: from mu.a3nm.net (unknown + [IPv6:2a01:e34:ec05:d6e0:96de:80ff:feba:7495]) + (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) + (No client certificate requested) + by ulminfo.fr (Postfix) with ESMTPSA id 0917B4159F; + Fri, 22 Jan 2016 16:13:19 +0100 (CET) +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a3nm.net; s=default; + t=1453475599; bh=m96GiYH2Rsx1HGU2Fnsuxh+AFl0PWZ6yZgKHf6d8WZk=; + h=Date:From:To:Subject:From; + b=qgITbspKlqVxr7sJ8GMa5zC/hrPV3vMDmN+/SvO0V92PJ0aVZL1Ph0F60euYswSSW + GErdDKcWDEEHlNTdgWai+KRZB4uZAaLX+aJU6WQ4k5xDbqzoRZgYo2xfOZ+Inm6nMP + RBIy43ErKyV1My6/eCC7zYZgTVLhoYtqqiVAgntU= +Date: Fri, 22 Jan 2016 16:13:18 +0100 +From: Antoine Amarilli +To: notmuch@notmuchmail.org +Subject: Searching messages by size with notmuch +Message-ID: <20160122151318.GA17099@mu.a3nm.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha512; + protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" +Content-Disposition: inline +User-Agent: Mutt/1.5.24 (2015-08-30) +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 22 Jan 2016 15:22:28 -0000 + + +--lrZ03NoBR/3+SXJZ +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi everyone, + +After chatting on #notmuch, I wanted to suggest a feature which would be +useful, at least to me: searching for messages by size. + +My use case would be to look for long messages, but dkg on IRC mentioned +that it could also be useful to clean up messages to save disk space. + +It is unclear whether the size of a message should be defined as that of +a single copy of the message, or that of all copies; and it is unclear +whether it should be the total size (for my purposes I would have been +interested in the size of the plaintext part of the message only). +Ideally I'd say that all of these could make sense. + +Would anyone else on the list be interested by such a feature? + +Best, + +--=20 +Antoine Amarilli + + +--lrZ03NoBR/3+SXJZ +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCgAGBQJWokcOAAoJEIDYiyLUMwMxK6YP/R5ASmpBPp3r+Xz5Y2GH5grC +8BYt4S/NjbeqUWf6O7aIRV6IUWca5V7ydVr0wm6wDgWvDtIrVxP4cVTM01m2KArw +9T9D2o+GQmRPAGBzFRA/TIby08wZutRV/bvRePHp7J868JSmEZVqBVx4bSsVrtaL +gZS6v3SnRDLl92xVlDPsGPkx9jVnSaC5jKEbAcvRic8xN9X7ZBGFfj7+PvnT5ojI +SqB8kWlOFWHytT18wbzz8gId+EfhPV9GYa71dwskwePAN7MoxUyom7tNtfSk23qQ +QGMy9VqmoZf9udtMoys8jYJuukRhYhDbvBb7oGoseSkz9g0CwLIN+CSAeT1GDjLz +5u0OgIvKKMrYHD6qukFE+CTG/uDmqJRQiq0ZBg1oDtH6OuIKOOdieeOyFIwEyemv +iL7PSrwTk9ABAuMp53NPSuzQGzGKImLBrD/5g4GKL7SngoplgkLmNbynFk0Hl2ff +DNEZrVgp1C/1j72UiguSVch2Im7cH5WmwAOht4jonIgyPHQlrjuN8udkaBawZk1H +POtuQYDRaiEP31Q6IZoPMaLB/14UgxZ5rZs3//XIDjXF+q9mS/8llZtXA0RU8S+T +D8bitDconW8pdIbFLiP0CtCWmOhP9cZSblFcqhA7I/6j6vXAyknxQxSRYYsHk0jT +OSAHMLN94frn5gXgZNbA +=7zBk +-----END PGP SIGNATURE----- + +--lrZ03NoBR/3+SXJZ--