database error
[notmuch-archives.git] / 4a / fac64d44e6fb141b6f474a72d86245cf17f3c9
1 Return-Path: <tomi.ollila@nixu.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 62914429E21\r
6         for <notmuch@notmuchmail.org>; Mon,  2 Jan 2012 06:55:51 -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 c2N9cxhdkhb6 for <notmuch@notmuchmail.org>;\r
16         Mon,  2 Jan 2012 06:55:49 -0800 (PST)\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 2C205431FD0\r
21         for <notmuch@notmuchmail.org>; Mon,  2 Jan 2012 06:55:49 -0800 (PST)\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
23         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id q02Etk5v029383;\r
24         Mon, 2 Jan 2012 16:55:46 +0200\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
26         by mail-gw3.nixu.fi with ESMTP id 114cs0wxc1-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Mon, 02 Jan 2012 16:55:45 +0200\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
30         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
31         q02EtjiU016562; Mon, 2 Jan 2012 16:55:45 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
34 Subject: Re: Possible bug in tests with emacs 23.2.1 (debian stable)\r
35 In-Reply-To:\r
36  <CALUdzSWfmRQ6F8ocgZQEcPpkBNgnC+zO0Pje2w6nczn0JyCbnA@mail.gmail.com>\r
37 References:\r
38  <CALUdzSWfmRQ6F8ocgZQEcPpkBNgnC+zO0Pje2w6nczn0JyCbnA@mail.gmail.com>\r
39 User-Agent: Notmuch/0.10.2+157~g442d405 (http://notmuchmail.org) Emacs/23.3.1\r
40         (i686-pc-linux-gnu)\r
41 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
42         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
43         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
44 Date: Mon, 02 Jan 2012 16:55:45 +0200\r
45 Message-ID: <yf6aa66ywzy.fsf@taco2.nixu.fi>\r
46 MIME-Version: 1.0\r
47 Content-Type: text/plain; charset=us-ascii\r
48 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
49  1.0.211,       0.0.0000        definitions=2012-01-02_04:2012-01-02, 2012-01-02,\r
50         1970-01-01 signatures=0\r
51 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
52         ipscore=0 suspectscore=0\r
53         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
54         reason=mlx\r
55         scancount=1 engine=6.0.2-1012030000 definitions=main-1201020119\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Mon, 02 Jan 2012 14:55:51 -0000\r
69 \r
70 On Sun, 1 Jan 2012 10:05:59 +0000, Mark Walters <markwalters1009@gmail.com> wrote:\r
71 > Hello\r
72\r
73 > When I try and run the tests on my (fairly standard) debian stable\r
74 > system they hang after "PASS   Search message: json, utf-8". This is\r
75 > with latest git (07768fb1bb50e) and emacs 23.2.1.\r
76\r
77 > As far as I can see emacs is not exiting when sent the "(kill-emacs)"\r
78 > command from test-lib.sh (line 931 called from line 869). It seems\r
79 > that this version of emacs prompts before exit asking "The current\r
80 > server still has clients; delete them? (yes or no) ".\r
81\r
82 > This seems to have been "fixed" (i.e. emacs does not ask for a prompt\r
83 > in emacs revision 100150\r
84 > http://bzr.savannah.gnu.org/lh/emacs/emacs-23/revision/100150).\r
85\r
86 > If I change test-lib.sh line 869 to send "(setq kill-emacs-hook 'nil)\r
87 > (kill-emacs)" instead of just (kill-emacs) then the tests work\r
88 > correctly (*). But I definitely don't know enough emacs to know if\r
89 > this is a sensible solution.\r
90 \r
91 Interesting case... what if we want to use this hook from notmuch in\r
92 the future -- and, naturally, provide a test for this functionality.\r
93 \r
94 Perhaps... if we wanted to support workaround for this particular bug,\r
95 the (setq kill-emacs-hook nil) could be put after (server-start) in\r
96 test-lib.sh...\r
97 \r
98 .. but, I checked code and tested that. In case that hook is disabled,\r
99 server shutdown cleanup is not done (at least dangling server socket\r
100 file is left behind)...\r
101 \r
102 ... so my "vote" is that we don't attempt to work around this bug. Do\r
103 we have KNOWN ISSUES file where this kind of things can be documented ?\r
104 \r
105 > Note I get exactly the same behaviour when trying to build the debian\r
106 > package from squeeze backports so it could be a bug in my setup in\r
107 > which case my apologies for the noise!\r
108 \r
109 It is not a bug in your setup; I tested it with emacs 23.2.1; running\r
110 emacs from command line, executing (server-start) there and then executed\r
111 emacsclient --eval '(kill-emacs)' in another terminal window.\r
112 \r
113 > Best wishes\r
114\r
115 > Mark\r
116 \r
117 Tomi\r