1 Return-Path: <jrollins@finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 626C6429E20
\r
6 for <notmuch@notmuchmail.org>; Sat, 26 Mar 2011 22:37:24 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5
\r
12 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id uZjQZe5mOeko for <notmuch@notmuchmail.org>;
\r
16 Sat, 26 Mar 2011 22:37:23 -0700 (PDT)
\r
17 Received: from paneer.cc.columbia.edu (paneer.cc.columbia.edu [128.59.29.4])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 8E4B1431FB6
\r
19 for <notmuch@notmuchmail.org>; Sat, 26 Mar 2011 22:37:23 -0700 (PDT)
\r
20 Received: from servo.finestructure.net (c-24-19-44-201.hsd1.wa.comcast.net
\r
22 (user=jgr2110 author=jrollins@servo.finestructure.net mech=PLAIN
\r
24 by paneer.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id p2R5bCpN017934
\r
25 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
26 Sun, 27 Mar 2011 01:37:18 -0400 (EDT)
\r
27 Received: from jrollins by servo.finestructure.net with local (Exim 4.74)
\r
28 (envelope-from <jrollins@finestructure.net>)
\r
29 id 1Q3if0-0001b0-Dt; Sat, 26 Mar 2011 22:37:10 -0700
\r
30 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
31 To: mueen@nawaz.org, notmuch@notmuchmail.org
\r
32 Subject: Re: Sorting and attachments
\r
33 In-Reply-To: <878vw1yxia.fsf@fester.com>
\r
34 References: <878vw1yxia.fsf@fester.com>
\r
35 User-Agent: Notmuch/0.5-138-g00f709e (http://notmuchmail.org) Emacs/23.2.1
\r
37 Date: Sat, 26 Mar 2011 22:37:07 -0700
\r
38 Message-ID: <871v1tm8e4.fsf@servo.finestructure.net>
\r
40 Content-Type: multipart/signed; boundary="=-=-=";
\r
41 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
42 X-No-Spam-Score: Local
\r
43 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.4
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Sun, 27 Mar 2011 05:37:24 -0000
\r
60 On Sat, 26 Mar 2011 21:53:49 -0700, mueen@nawaz.org wrote:
\r
61 > 1. Can notmuch return results sorted by size?
\r
63 As far as I know, there is currently no way to do that (but see below).
\r
65 > 2. Can I tell notmuch to limit the items it returns (e.g. show me
\r
66 > first ten messages matching ... )
\r
68 Are you looking for this in the emacs UI? The following works for me on
\r
71 notmuch search '*' | head -10
\r
73 > 3. Any plans for searching via attachment size or type? Say I want all
\r
74 > emails with attachments bigger than 1 MB.
\r
76 You can currently search through attachments with the 'attachment:'
\r
77 search term. See "notmuch help search-terms" for more info. This works
\r
78 for searching for mime types. I don't know of a way to search by size,
\r
81 > Essentially, I have a tendency to prune off large attachments so that
\r
82 > my mail directory doesn't blow up...
\r
84 You might just try using find, which is very useful for this kind of
\r
87 find $MAILDIR -printf '%b %p\n' | sort -n
\r
94 Content-Type: application/pgp-signature
\r
96 -----BEGIN PGP SIGNATURE-----
\r
97 Version: GnuPG v1.4.11 (GNU/Linux)
\r
99 iQIcBAEBCAAGBQJNjs0DAAoJEO00zqvie6q8syMQALHGrYzOrJ7IvYk3AKt8QqYA
\r
100 Wv40IlhpDjTUv13FTP9SYLGYxnkDrRGvQEeD2lOjo1WH5+3V+f4nFwnQhzfyMb8X
\r
101 K8LB9L/7uLbuji7i2EqreQ3OfgxIeJFRF0XHm9SM7Zie3TUn5W4sGOeNRoRbZoeR
\r
102 4/ZDIC9+ItcucjJflPmi8s05gMaD84SHPC3RjiaL0cqO3+3evrB9yo/IjFRqYe+o
\r
103 zCK7s0uO8GAwVtVFzI5MbUZ7OyTD5CZwDOSXa1l3OC7uN72//vDZaaueGZIcOZVz
\r
104 mWOHtV8Ujvvglby/PjfaqsgIbIK1hnORPzmIWosUIHyeGq1eQf+epK+HaicWdZKl
\r
105 gUNsTUJVz9/axvJyJTUzPKwaw1kmd6gJiLWXlisWLq6vkB6vb6I8p4pirVTuagC5
\r
106 gv3jU29kMaXB/x0thBE9ClIGEzt3dttx5HeEYdZqiVx530lTiSol39MGQE6VmH67
\r
107 DwzzZJvFyC4BKEU9kOav3fbUos3c0CktR3YNGEgWp25BW4Wc+LGh0Nuir9FKHV9M
\r
108 o6qCaAFmj++JfdwI3kJ3FIcM3TraqOaAP3xMWqQzBoV+vJVuhWOxOToyWv7qOzSj
\r
109 eNYh45+JTZ1x8YNZ3RuZ9EGSkmrC9RRihcnO8g6TNVttxYnc8LBRH1+S3QRotjic
\r
110 sdERHUh2SDZ/1wkDY9+l
\r
112 -----END PGP SIGNATURE-----
\r