Re: [PATCH v2] test: Canonicalize RFC 2047 encoding and charset
[notmuch-archives.git] / b2 / a8b04846d46ad86803d57ab7498192099c0620
1 Return-Path: <servilio@gmail.com>\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 694EB40DF1D\r
6         for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 15:38:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.999\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13         DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
14         autolearn=ham\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id 7mma4IIfAPjc for <notmuch@notmuchmail.org>;\r
18         Sat, 20 Nov 2010 15:38:23 -0800 (PST)\r
19 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
20         [74.125.82.181])\r
21         by olra.theworths.org (Postfix) with ESMTP id 19C3140DF18\r
22         for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 15:38:22 -0800 (PST)\r
23 Received: by wyb36 with SMTP id 36so1083216wyb.26\r
24         for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 15:38:22 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:received:received:in-reply-to\r
27         :references:date:message-id:subject:from:to:cc:content-type;\r
28         bh=RnI+rFQ95lHXmdrYdtGSYLXCyXxQUWYepYMW6w1m4zk=;\r
29         b=Z+nT1RtdPN4+ixYoZz6/+9dtXbmVwuN0HYEnalh6p8KbZqZ2czB/nfp2QAaXETC0Vt\r
30         m46qcIGT2xtHyixnXmBAz33uoGEpG+mHCK3ZQ1CdspNoJBrduK4nf4ROAXrfgFwF9Ekv\r
31         HzGd0YMF/IxwitnZzqwGeSdyZsAXFAUxY4KHw=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
34         :cc:content-type;\r
35         b=TrwuLUJqJS0rygmRF5dzD9Mso1fgf5YIs/Hy328FRS4iwGXJ83e6JBAtzU4voZHS9l\r
36         XPjau2kRXpOLG7ltIDltmd0IJVfUNNqmplkBZNOsD360D4VOf2zEIwGRblyOco/3afuU\r
37         o7Qi0uotsbUBbJYljAvrHski812W6JA41froo=\r
38 MIME-Version: 1.0\r
39 Received: by 10.216.11.205 with SMTP id 55mr2420531wex.72.1290296301975; Sat,\r
40         20 Nov 2010 15:38:21 -0800 (PST)\r
41 Received: by 10.216.166.195 with HTTP; Sat, 20 Nov 2010 15:38:21 -0800 (PST)\r
42 In-Reply-To: <87sjyvk875.fsf@wsheee.2x.cz>\r
43 References: <AANLkTi=7eCt0=NqUiJFrGDcaZ17LOd3qNNqN1-ASwYzr@mail.gmail.com>\r
44         <87sjyvk875.fsf@wsheee.2x.cz>\r
45 Date: Sat, 20 Nov 2010 18:38:21 -0500\r
46 Message-ID: <AANLkTin_6A1qnuFpE9oPXySA0j5jTV-tq=BbqSNMPWfb@mail.gmail.com>\r
47 Subject: Re: [PATCH] Implement a simple read-eval-print loop.\r
48 From: servilio <servilio@gmail.com>\r
49 To: Michal Sojka <sojkam1@fel.cvut.cz>\r
50 Content-Type: text/plain; charset=ISO-8859-1\r
51 Cc: notmuch <notmuch@notmuchmail.org>\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Sat, 20 Nov 2010 23:38:35 -0000\r
65 \r
66 Hi Michal,\r
67 \r
68 On 20 November 2010 16:15, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
69 > On Sat, 20 Nov 2010, servilio wrote:\r
70 >> This implementation uses GNU readline for the prompt and command\r
71 >> history, with the default file completion enabled. GLib is used to\r
72 >> split the read line into an arguments list.\r
73 >\r
74 > Hi,\r
75 >\r
76 > I haven't tested it yet, but it seems to be exactly the piece of code I\r
77 > wanted to have to speed up notmuch-hello when notmuch is used remotely\r
78 > over ssh. Spawning new ssh for every saved search to get the count of\r
79 > matched messages has a way too big overhead. Is this the use case you\r
80 > had in mind when implementing this?\r
81 \r
82 Great to see that you find it useful. Yes, the remote usage was in my\r
83 mind, but it should enhance the local usage as well. We could also\r
84 create a quicker test run using the shell.\r
85 \r
86 The disadvantage of using an interactive shell is that you can have\r
87 only one operation running in the UI, and I see no way of\r
88 interrumpting an operation unless you kill the process, but as\r
89 starting a new shell shouldn't be a biggie, this might not be as\r
90 limiting as might seem.\r
91 \r
92 The ideal would be for libnotmuch to be able to connect to a\r
93 xapian-tcpsrv, but haven't had time to look at than, and an\r
94 interactive shell seemed to be less time demanding to implement (and\r
95 had the subjective promise of providing a lot of fun).\r
96 \r
97 > Currently, I have only one comment to the patch. For me, "repl" is a bit\r
98 > unintuitive. I was thinking about "shell" as the name of subcommand for\r
99 > this.\r
100 \r
101 I agree, maybe "shell" or "interactive" would be more intuitive, but\r
102 when I started "repl" was the only one I could think of.\r
103 \r
104 Servilio\r