Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 3e / 939cca68b45050ac74fb623796ca612abdff33
1 Return-Path: <tomi.ollila@iki.fi>\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 8003A431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 29 Mar 2013 08:54:36 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 gXbm3fTOwRqV for <notmuch@notmuchmail.org>;\r
16         Fri, 29 Mar 2013 08:54:35 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id C4FC4431FAF\r
19         for <notmuch@notmuchmail.org>; Fri, 29 Mar 2013 08:54:35 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 78F85100033;\r
22         Fri, 29 Mar 2013 17:54:33 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] emacs: introduce notmuch-command-to-string,\r
26         replace use of shell-command-to-string\r
27 In-Reply-To: <87vc8ai6gt.fsf@maritornes.cs.unb.ca>\r
28 References: <874nguxbvq.fsf@tu-dortmund.de>\r
29         <1362747878-3571-1-git-send-email-david@tethera.net>\r
30         <87vc8ai6gt.fsf@maritornes.cs.unb.ca>\r
31 User-Agent: Notmuch/0.15.2+50~g43fdda5 (http://notmuchmail.org) Emacs/24.2.1\r
32         (x86_64-unknown-linux-gnu)\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
34         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
35         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
36 Date: Fri, 29 Mar 2013 17:54:33 +0200\r
37 Message-ID: <m2eheyw69y.fsf@guru.guru-group.fi>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 29 Mar 2013 15:54:36 -0000\r
53 \r
54 On Fri, Mar 29 2013, David Bremner <david@tethera.net> wrote:\r
55 \r
56 > david@tethera.net writes:\r
57 >\r
58 >> From: David Bremner <bremner@debian.org>\r
59 >>\r
60 >> This has two benefits: unified error handling, and avoiding tramp's\r
61 >> hooking into shell-command-string.\r
62 >>\r
63 >> This seems to be a fix for id:874nguxbvq.fsf@tu-dortmund.de\r
64 >> ---\r
65 >>\r
66 >> Simon: can you check if this fixes your bug?\r
67 >\r
68 > Anyone willing to sanity check my e-lisp?\r
69 \r
70 LGTM. The implementation is quite much the same as in \r
71 notmuch-call-notmuch-process, just that this function returns\r
72 the output as a string.\r
73 \r
74 > d\r
75 \r
76 Tomi\r