1 Return-Path: <awg@xvx.ca>
\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 798BF431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 6 Mar 2014 13:16:31 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 rcxmK4ky9ZuU for <notmuch@notmuchmail.org>;
\r
16 Thu, 6 Mar 2014 13:16:24 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 22B04431FAE
\r
21 for <notmuch@notmuchmail.org>; Thu, 6 Mar 2014 13:16:24 -0800 (PST)
\r
22 Received: by mail-we0-f181.google.com with SMTP id q58so3853627wes.40
\r
23 for <notmuch@notmuchmail.org>; Thu, 06 Mar 2014 13:16:21 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
\r
27 :message-id:subject:from:to:cc:content-type;
\r
28 bh=FWQEY+EP1j19el9xSFs1TlTAMHSslkUpsGh9yZQ7AxA=;
\r
29 b=W8qWyMRM2ialI0KOIfgF4P/IYL4a/+Cl/yk36B69sZ7rwGAKbcmg8fOT9x8pJtnpyR
\r
30 MnZgr527XdqecXafd3XqY0IOWSdNpP9L8r670lkSKrfChvFck4t81cT09MvBETz+WTLk
\r
31 oEhoCCZqBH6rtuYU/UP2VEXH52m+SZtp/CkQ6JXu32qk7BVTxILrCpaG3HWQ8Q7KLjEm
\r
32 Nnr5UKxlyLokfVuDYiM1LI9Mwk7aC1bhOhnJjSWyc8WbbdMwnEg6GJtrMDP6xFYZcEmz
\r
33 ZAHsNYvcLWS2PUVvp0ciQgqt0yBHe1i1J/bnndxs6H8fznd6hNO8OilOsLw5bNUU9rur
\r
36 ALoCoQkDTwFMAbVLFUaaZAzu9YIXKZw/svgIroZ4fAbVKMi6sc/uZtx6beN7kF1U8Lho0R0jAyio
\r
38 X-Received: by 10.194.234.106 with SMTP id ud10mr13942322wjc.0.1394140581636;
\r
39 Thu, 06 Mar 2014 13:16:21 -0800 (PST)
\r
41 Received: by 10.194.186.177 with HTTP; Thu, 6 Mar 2014 13:16:21 -0800 (PST)
\r
42 X-Originating-IP: [68.150.39.45]
\r
43 In-Reply-To: <20140306210622.GI4709@mit.edu>
\r
44 References: <1394139507-15324-1-git-send-email-markwalters1009@gmail.com>
\r
45 <20140306210622.GI4709@mit.edu>
\r
46 Date: Thu, 6 Mar 2014 14:16:21 -0700
\r
47 X-Google-Sender-Auth: WooC6pjmvqqJVdqEia4Vt2ScUxo
\r
49 <CAMoJFUsEPJ+e1KfVpvzYx1owzyf4mYhc-YYg+T81PytpQ4Q4hw@mail.gmail.com>
\r
50 Subject: Re: [PATCH] notmuch new: add a --in-directory option
\r
51 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>
\r
52 To: Austin Clements <amdragon@mit.edu>
\r
53 Content-Type: text/plain; charset=ISO-8859-1
\r
54 Cc: Notmuch Mail <notmuch@notmuchmail.org>
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Thu, 06 Mar 2014 21:16:31 -0000
\r
69 On Thu, Mar 6, 2014 at 2:06 PM, Austin Clements <amdragon@mit.edu> wrote:
\r
70 > That aside, I'm curious what the use case for this is.
\r
72 My usecase for this is the same as for the similar patch I worked on
\r
73 previously (id:1373762746-22308-1-git-send-email-awg+notmuch@xvx.ca):
\r
75 I use inotify to watch for new messages in my maildir. When I receive
\r
76 a new message, I run notmuch new (after waiting a couple of seconds
\r
77 since messages sometimes arrive in batches). But since I already know
\r
78 exactly what changed, there's no need for notmuch new to scan the
\r
79 whole directory tree. I'm not sure whether this patch lets me specify
\r
80 a file, or only a directory: the former would be preferable for my
\r
81 usecase, but either way it's probably an enhancement for me.
\r