1 Return-Path: <sojkam1@fel.cvut.cz>
\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 E1EE040DF1F
\r
6 for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 13:15:57 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\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 gkA+1C5U5uEX for <notmuch@notmuchmail.org>;
\r
16 Sat, 20 Nov 2010 13:15:47 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id E3E6640DF18
\r
19 for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 13:15:46 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 07DBE19F3356;
\r
22 Sat, 20 Nov 2010 22:15:45 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id mmcSj-pCwmr0; Sat, 20 Nov 2010 22:15:43 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id B963C19F334F;
\r
30 Sat, 20 Nov 2010 22:15:43 +0100 (CET)
\r
31 Received: from wsheee.2x.cz (unknown [213.29.198.144])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id A99C1FA003;
\r
34 Sat, 20 Nov 2010 22:15:43 +0100 (CET)
\r
35 Received: from wsh by wsheee.2x.cz with local (Exim 4.72)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1PJumd-00064d-1z; Sat, 20 Nov 2010 22:15:43 +0100
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: servilio <servilio@gmail.com>, notmuch <notmuch@notmuchmail.org>
\r
40 Subject: Re: [PATCH] Implement a simple read-eval-print loop.
\r
41 In-Reply-To: <AANLkTi=7eCt0=NqUiJFrGDcaZ17LOd3qNNqN1-ASwYzr@mail.gmail.com>
\r
42 References: <AANLkTi=7eCt0=NqUiJFrGDcaZ17LOd3qNNqN1-ASwYzr@mail.gmail.com>
\r
43 User-Agent: Notmuch/0.5-11-g48b5e00 (http://notmuchmail.org) Emacs/23.2.1
\r
45 Date: Sat, 20 Nov 2010 22:15:42 +0100
\r
46 Message-ID: <87sjyvk875.fsf@wsheee.2x.cz>
\r
48 Content-Type: text/plain; charset=us-ascii
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Sat, 20 Nov 2010 21:15:58 -0000
\r
63 On Sat, 20 Nov 2010, servilio wrote:
\r
64 > This implementation uses GNU readline for the prompt and command
\r
65 > history, with the default file completion enabled. GLib is used to
\r
66 > split the read line into an arguments list.
\r
70 I haven't tested it yet, but it seems to be exactly the piece of code I
\r
71 wanted to have to speed up notmuch-hello when notmuch is used remotely
\r
72 over ssh. Spawning new ssh for every saved search to get the count of
\r
73 matched messages has a way too big overhead. Is this the use case you
\r
74 had in mind when implementing this?
\r
76 Currently, I have only one comment to the patch. For me, "repl" is a bit
\r
77 unintuitive. I was thinking about "shell" as the name of subcommand for
\r