Re: [RFC PATCH] Re: excessive thread fusing
[notmuch-archives.git] / 0c / 35d4e4319edd11c2f44d48f553fa8f90fdf3a7
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 800F0429E21\r
6         for <notmuch@notmuchmail.org>; Tue,  3 Jan 2012 05:07:18 -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 FuyaokEo81E7 for <notmuch@notmuchmail.org>;\r
16         Tue,  3 Jan 2012 05:07:17 -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 3DCC3431FD0\r
21         for <notmuch@notmuchmail.org>; Tue,  3 Jan 2012 05:07:17 -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 q03D76Mg019397;\r
24         Tue, 3 Jan 2012 15:07:06 +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 114cs0x40j-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Tue, 03 Jan 2012 15:07:05 +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         q03D746O000864; Tue, 3 Jan 2012 15:07:04 +0200\r
32 From: Tomi Ollila <tomi.ollila@nixu.com>\r
33 To: Tomi Ollila <tomi.ollila@iki.fi>,\r
34  Mark Walters <markwalters1009@gmail.com>,      notmuch@notmuchmail.org\r
35 Subject: Re: Possible bug in tests with emacs 23.2.1 (debian stable)\r
36 In-Reply-To: <yf6aa66ywzy.fsf@taco2.nixu.fi>\r
37 References:\r
38  <CALUdzSWfmRQ6F8ocgZQEcPpkBNgnC+zO0Pje2w6nczn0JyCbnA@mail.gmail.com>\r
39         <yf6aa66ywzy.fsf@taco2.nixu.fi>\r
40 User-Agent: Notmuch/0.10.2+157~g442d405 (http://notmuchmail.org) Emacs/23.3.1\r
41         (i686-pc-linux-gnu)\r
42 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
43         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
44         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
45 Date: Tue, 03 Jan 2012 15:07:04 +0200\r
46 Message-ID: <yf67h19ylxj.fsf@taco2.nixu.fi>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
50  1.0.211,       0.0.0000        definitions=2012-01-03_03:2012-01-03, 2012-01-03,\r
51         1970-01-01 signatures=0\r
52 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
53         ipscore=0 suspectscore=0\r
54         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
55         reason=mlx\r
56         scancount=1 engine=6.0.2-1012030000 definitions=main-1201030076\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Tue, 03 Jan 2012 13:07:18 -0000\r
70 \r
71 On Mon, 02 Jan 2012 16:55:45 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
72 > On Sun, 1 Jan 2012 10:05:59 +0000, Mark Walters <markwalters1009@gmail.com> wrote:\r
73 \r
74 [ ... ]\r
75 \r
76 > > As far as I can see emacs is not exiting when sent the "(kill-emacs)"\r
77 > > command from test-lib.sh (line 931 called from line 869). It seems\r
78 > > that this version of emacs prompts before exit asking "The current\r
79 > > server still has clients; delete them? (yes or no) ".\r
80 > > \r
81 > > This seems to have been "fixed" (i.e. emacs does not ask for a prompt\r
82 > > in emacs revision 100150\r
83 > > http://bzr.savannah.gnu.org/lh/emacs/emacs-23/revision/100150).\r
84 > > \r
85 > > If I change test-lib.sh line 869 to send "(setq kill-emacs-hook 'nil)\r
86 > > (kill-emacs)" instead of just (kill-emacs) then the tests work\r
87 > > correctly (*). But I definitely don't know enough emacs to know if\r
88 > > this is a sensible solution.\r
89 \r
90 [ ... ]\r
91 \r
92 > ... so my "vote" is that we don't attempt to work around this bug. Do\r
93 > we have KNOWN ISSUES file where this kind of things can be documented ?\r
94\r
95 > > Note I get exactly the same behaviour when trying to build the debian\r
96 > > package from squeeze backports so it could be a bug in my setup in\r
97 > > which case my apologies for the noise!\r
98\r
99 > It is not a bug in your setup; I tested it with emacs 23.2.1; running\r
100 > emacs from command line, executing (server-start) there and then executed\r
101 > emacsclient --eval '(kill-emacs)' in another terminal window.\r
102 \r
103 I did some more testing; doing\r
104 \r
105 emacsclient --eval '(defun yes-or-no-p (prompt) t)' --eval '(kill-emacs)'\r
106 \r
107 Will make emacs 23.2.1 exit also, so IMO this "workaround" could be\r
108 used to "fix" the problem. \r
109 \r
110 > > Best wishes\r
111 > > \r
112 > > Mark\r
113\r
114 > Tomi\r
115 \r
116 Tomi\r
117 \r
118 \r