1 Return-Path: <sebastien.binet@cern.ch>
\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 1D40C431E82
\r
6 for <notmuch@notmuchmail.org>; Tue, 10 Jul 2012 02:59:47 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-5 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_HI=-5] 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 zoJcLtAR1VLE for <notmuch@notmuchmail.org>;
\r
16 Tue, 10 Jul 2012 02:59:45 -0700 (PDT)
\r
17 Received: from CERNMX30.cern.ch (cernmx30.cern.ch [137.138.144.177])
\r
18 (using TLSv1 with cipher AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 3BD22431E64
\r
21 for <notmuch@notmuchmail.org>; Tue, 10 Jul 2012 02:59:45 -0700 (PDT)
\r
22 Received: from CERNFE22.cern.ch (137.138.144.151) by cernmxgwlb2.cern.ch
\r
23 (137.138.144.177) with Microsoft SMTP Server (TLS) id 14.2.283.3;
\r
24 Tue, 10 Jul 2012 11:59:40 +0200
\r
25 Received: from localhost (134.158.88.68) by smtp.cern.ch (137.138.144.172)
\r
26 with Microsoft SMTP Server (TLS) id 14.2.298.4;
\r
27 Tue, 10 Jul 2012 11:59:40 +0200
\r
28 From: Sebastien Binet <binet@cern.ch>
\r
29 To: Jani Nikula <jani@nikula.org>, Jameson Graef Rollins
\r
30 <jrollins@finestructure.net>
\r
31 Subject: Re: post-new [was: Re: query on a subset of messages ?]
\r
33 <CAB+hUn-=K20mSuAkptMXZvQNv+4Mvy7sT9tVxfdYXY8yb-euJw@mail.gmail.com>
\r
34 References: <871ukl5oj7.fsf@cern.ch> <87ehol2aku.fsf@servo.finestructure.net>
\r
35 <87wr2c3mtj.fsf@cern.ch> <87r4sk3lxu.fsf@cern.ch>
\r
36 <8739503llz.fsf@servo.finestructure.net>
\r
37 <CAB+hUn-=K20mSuAkptMXZvQNv+4Mvy7sT9tVxfdYXY8yb-euJw@mail.gmail.com>
\r
38 User-Agent: Notmuch/0.13.2+60~g7ecf77d (http://notmuchmail.org) Emacs/24.1.1
\r
39 (x86_64-unknown-linux-gnu)
\r
40 Date: Tue, 10 Jul 2012 11:59:39 +0200
\r
41 Message-ID: <871ukk2ayc.fsf@cern.ch>
\r
43 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1;
\r
44 protocol="application/pgp-signature"
\r
45 X-Originating-IP: [134.158.88.68]
\r
46 Keywords: CERN SpamKiller Note: -50
\r
47 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Tue, 10 Jul 2012 09:59:47 -0000
\r
63 Content-Type: text/plain
\r
65 Jani Nikula <jani@nikula.org> writes:
\r
67 > On Jul 9, 2012 8:12 PM, "Jameson Graef Rollins" <jrollins@finestructure.net>
\r
70 >> On Mon, Jul 09 2012, Sebastien Binet <binet@cern.ch> wrote:
\r
71 >> > hum... is post-new supposed to be run even if there is no new message ?
\r
73 >> Hi, Sebastian. Yes, I think it runs regardless if there are any new
\r
76 > That's correct; only errors in notmuch new cause post-new hook to be
\r
79 ok. I thought using the post-new hook would have saved some i/o
\r
80 resources over my current setup:
\r
81 offlineimap.postsynchook = ~/emacs/notmuch-lib/notmuch-tag.sh
\r
83 where notmuch-tag.sh is (in pseudo-code):
\r
85 /usr/bin/notmuch new
\r
87 for tag,query in tag-queries:
\r
92 is there any advantage of using post-new compared to this setup ?
\r
97 Content-Type: application/pgp-signature
\r
99 -----BEGIN PGP SIGNATURE-----
\r
100 Version: GnuPG v2.0.19 (GNU/Linux)
\r
102 iEYEARECAAYFAk/7/QsACgkQPj4AVbsZCCYG+ACgovkkfxC8rj63LxkD6iHbcS8a
\r
103 TeEAn3UDozbQ64b4b2tARvez3OxYGv3R
\r
105 -----END PGP SIGNATURE-----
\r