[WIP PATCH] emacs: show: reply to calendar parts
[notmuch-archives.git] / b6 / b2af4242970955232135c74b0822bd56c89bfd
1 Return-Path: <dme@dme.org>\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 D481E429E5F\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 07:09:30 -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: -0.7\r
10 X-Spam-Level: \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 bCooPuEeHjca for <notmuch@notmuchmail.org>;\r
16         Tue, 17 Jan 2012 07:09:30 -0800 (PST)\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
18         [209.85.212.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 0C663429E3B\r
21         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 07:09:29 -0800 (PST)\r
22 Received: by wibhr12 with SMTP id hr12so3529875wib.26\r
23         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 07:09:28 -0800 (PST)\r
24 Received: by 10.180.24.105 with SMTP id t9mr28882451wif.19.1326812968917;\r
25         Tue, 17 Jan 2012 07:09:28 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id r1sm17312339wia.8.2012.01.17.07.09.26\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Tue, 17 Jan 2012 07:09:27 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id AEF6BA0048; Tue, 17 Jan 2012 15:09:25 +0000 (GMT)\r
33 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
34 Subject: Re: [PATCH 2/3] test: Add `test_emacs_expect_t'.\r
35 In-Reply-To: <87zkdmwfi7.fsf@gmail.com>\r
36 References: <87pqei327k.fsf@gmail.com>\r
37         <1326809224-22673-1-git-send-email-dme@dme.org>\r
38         <1326809224-22673-2-git-send-email-dme@dme.org>\r
39         <87zkdmwfi7.fsf@gmail.com>\r
40 User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1\r
41         (x86_64-pc-linux-gnu)\r
42 From: David Edmondson <dme@dme.org>\r
43 Date: Tue, 17 Jan 2012 15:09:22 +0000\r
44 Message-ID: <cund3aipdr1.fsf@hotblack-desiato.hh.sledj.net>\r
45 MIME-Version: 1.0\r
46 Content-Type: multipart/signed; boundary="=-=-=";\r
47         micalg=pgp-sha1; protocol="application/pgp-signature"\r
48 Cc: notmuch <notmuch@notmuchmail.org>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\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: Tue, 17 Jan 2012 15:09:31 -0000\r
62 \r
63 --=-=-=\r
64 Content-Type: text/plain\r
65 Content-Transfer-Encoding: quoted-printable\r
66 \r
67 On Tue, 17 Jan 2012 18:49:36 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=\r
68 l.com> wrote:\r
69 > > +           # We cannot call 'test_emacs' in a subshell, because\r
70 > > +           # the setting of EMACS_SERVER would not persist\r
71 > > +           # throughout a sequence of tests, so we use a\r
72 > > +           # temporary file.\r
73 > > +           tmp=3D"$TMPDIR"; if [ -z "$tmp" ]; then tmp=3D/tmp; fi\r
74 > > +           output=3D"$tmp/test_emacs_output.$$"\r
75 > > +           test_emacs "$1" > "${output}"\r
76 > > +           result=3D$(cat "${output}")\r
77 > > +           rm -f "${output}"\r
78 >=20\r
79 > I wonder if there is any bash trick which can help here?\r
80 \r
81 I'm not aware of one, but I'm not a bash expert.\r
82 \r
83 > Another option is to start emacs server before using test_emacs in\r
84 > subshell.  See emacs-subject-to-filename for an example.  I think this\r
85 > is a better option than using a temporary file.\r
86 \r
87 I think that's a very poor option. Forcing knowledge the breakage into\r
88 all of the users may make applying any future fix more difficult.\r
89 \r
90 --=-=-=\r
91 Content-Type: application/pgp-signature\r
92 \r
93 -----BEGIN PGP SIGNATURE-----\r
94 Version: GnuPG v1.4.11 (GNU/Linux)\r
95 \r
96 iEYEARECAAYFAk8VjyIACgkQaezQq/BJZRYEmwCfVwugFLMuHzeTU5bw5akCksnX\r
97 na0AnRzlkYL2sYbSzKg7osfP8/R7FAw6\r
98 =N5/B\r
99 -----END PGP SIGNATURE-----\r
100 --=-=-=--\r