Re: Problem with draft mails when using offlineimap
[notmuch-archives.git] / d9 / e40ee6ca8682d7707ded3fde825071c412e8c2
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 E8E39431FBD\r
6         for <notmuch@notmuchmail.org>; Mon, 21 Jan 2013 06:44:40 -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\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 Tr-7Iwh+WSXI for <notmuch@notmuchmail.org>;\r
16         Mon, 21 Jan 2013 06:44:39 -0800 (PST)\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 B3976431FAF\r
19         for <notmuch@notmuchmail.org>; Mon, 21 Jan 2013 06:44:39 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 96A6C100086;\r
22         Mon, 21 Jan 2013 16:44:27 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>,\r
25         notmuch mailing list <notmuch@notmuchmail.org>\r
26 Subject: Re: test suite crash with TERM=dumb\r
27 In-Reply-To: <87obgibu5x.fsf@zancas.localnet>\r
28 References: <87obgibu5x.fsf@zancas.localnet>\r
29 User-Agent: Notmuch/0.15+5~g6f527c2 (http://notmuchmail.org) Emacs/24.2.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Mon, 21 Jan 2013 16:44:27 +0200\r
35 Message-ID: <m2wqv6ppdg.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 21 Jan 2013 14:44:41 -0000\r
51 \r
52 On Mon, Jan 21 2013, David Bremner <david@tethera.net> wrote:\r
53 \r
54 > In 0.15 (or current master) try running \r
55 >\r
56 >   % TERM=dump make test\r
57 >\r
58 > At least for me and the Debian build daemons, this causes the run to end\r
59 > with\r
60 >\r
61 >   PASS   Show message: json, utf-8\r
62 >   FATAL: Unexpected exit with code 1\r
63 >   make: *** [test] Error 124\r
64 >\r
65 > This is much worse than a test failure since it causes the build to exit\r
66 > with non-zero status.\r
67 >\r
68 > I have temporarily disabled running the test suite in the debian\r
69 > packaging, but this is obviously not a good permanent solution.\r
70 >\r
71 > Apparently the problem is on the line \r
72 >\r
73 >  TERM=$ORIGINAL_TERM dtach -n "$TEST_TMPDIR/emacs-dtach-socket.$$" \r
74 >\r
75 > It would be easy to hardcode the TERM for dtach, but I'm not sure if\r
76 > there is some advantage to testing with the user's actual term? Also, I\r
77 > guess we'd have to be careful the chosen terminal type is portable.\r
78 \r
79 For user it only matters when/if one wants to attach to the dtach'd\r
80 terminal (i.e. rarely). Then if the terminal chosen is knows subset of\r
81 the control sequences any of the terminals users might use then it is not\r
82 much of a problem -- the terminal just doesn't work optimally, display\r
83 colors or something.\r
84 \r
85 In your tests you could just run `TERM=xterm make test` (and forget the\r
86 issue >;)\r
87 \r
88 > d\r
89 \r
90 Tomi\r