database error
[notmuch-archives.git] / 52 / 02ecbc25757dce5bcf23ae21f0c9f5bca8442f
1 Return-Path: <schnouki@schnouki.net>\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 04A6E431FAF\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Apr 2012 15:25:49 -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.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id eAOfvB22QC3h for <notmuch@notmuchmail.org>;\r
17         Sun, 22 Apr 2012 15:25:47 -0700 (PDT)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 9E17B431FAE\r
20         for <notmuch@notmuchmail.org>; Sun, 22 Apr 2012 15:25:47 -0700 (PDT)\r
21 Received: from odin.local (unknown\r
22  [IPv6:2a01:e34:eee0:2d0:221:5cff:fe51:5c0b])   by ks3536.kimsufi.com (Postfix)\r
23  with ESMTPSA id 4E3546C000B;   Mon, 23 Apr 2012 00:25:47 +0200 (CEST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1335133547;\r
26         bh=qQkPn+JbKLoEJwr5dOlh25+aeXS3mLiGWeLlgKbM9iQ=;\r
27         h=From:To:Subject:In-Reply-To:References:Date;\r
28         b=Dvj54R47PH/MLVkDnz9MeZn5vBQCYjurS9rtRZgR2KaRR1Xx8mZTz6WZLzlacQ3ET\r
29         j//L3lyNBW33IABV/R4vSjPtdo4Zzve0UjxnD7Q9zsYse0aZ4h544a7V2gqAzPZ3bc\r
30         /OVFImDzfZWIyN6Fj0mA7vQgSQJ65tLljk5LbuRc=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: David Bremner <david@tethera.net>,\r
33         Jameson Graef Rollins <jrollins@finestructure.net>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH v3 1/4] emacs: Let the user choose where to compose new\r
35         mails\r
36 In-Reply-To: <878vhxt5bt.fsf@zancas.localnet>\r
37 References: <87d3cx2t38.fsf@rocinante.cs.unb.ca>\r
38         <1323797532-597-1-git-send-email-schnouki@schnouki.net>\r
39         <1323797532-597-2-git-send-email-schnouki@schnouki.net>\r
40         <87pqbayukw.fsf@servo.finestructure.net>\r
41         <878vhxt5bt.fsf@zancas.localnet>\r
42 User-Agent: Notmuch/0.12+100~gbed9ca7 (http://notmuchmail.org) Emacs/24.0.95.1\r
43         (x86_64-unknown-linux-gnu)\r
44 Date: Mon, 23 Apr 2012 00:25:38 +0200\r
45 Message-ID: <87y5pn76al.fsf@schnouki.net>\r
46 MIME-Version: 1.0\r
47 Content-Type: multipart/signed; boundary="=-=-=";\r
48         micalg=pgp-sha1; protocol="application/pgp-signature"\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: Sun, 22 Apr 2012 22:25:49 -0000\r
62 \r
63 --=-=-=\r
64 Content-Type: text/plain; charset=utf-8\r
65 Content-Transfer-Encoding: quoted-printable\r
66 \r
67 Le 15 avril 2012 =C3=A0 16:52 CEST, David Bremner a =C3=A9crit :\r
68 > Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
69 >\r
70 >> I think the issues that David was experiencing have to do with flakiness\r
71 >> in emacs's dedicated windows, not in this patch itself.\r
72 >\r
73 > Thomas,\r
74 >\r
75 > Did you have a change to investigate this as proposed in\r
76 > id:"87zke0aifa.fsf@thor.loria.fr"?\r
77 \r
78 David,\r
79 \r
80 Sorry for the delay. I did investigate a little bit, but I did not try\r
81 to write a patch to fix the wrong behaviour in Emacs 23.\r
82 \r
83 AFAICT, Emacs 23 is just buggy in this case. By reading the code of\r
84 message-send-and-exit and message-bury [1], here is what happens when\r
85 you call message-send-buffer-and-exit with message-kill-buffer-on-exit\r
86 set to nil:\r
87 =2D message is sent\r
88 =2D buffer is buried with burry-buffer\r
89 =2D message-bury: if the window is dedicated and its frame not the only\r
90   visible frame, then this frame is deleted\r
91 \r
92 which explains what happens in Emacs 23 both in daemon and non-daemon\r
93 mode.\r
94 \r
95 In Emacs 24 [2], here is what happens:\r
96 =2D message is sent\r
97 =2D message-bury: buffer is buried with bury-buffer\r
98 \r
99 which is (obviously?) correct.\r
100 \r
101 Really, this looks like a bug in Emacs 23 to me. Emacs 24 has been fixed\r
102 by Gnus commits [3] and [4] (maybe [3] is enough, I didn't try). Users\r
103 of Emacs 23 can probably just use an up-to-date version of Gnus to have\r
104 this issue fixed.\r
105 \r
106 So I'm not sure it would make sense to try to come up with a workaround\r
107 in my patch, nor if it would be worth it. Maybe just adding a message\r
108 suggesting Emacs 23 users to enable message-kill-buffer-on-exit if they\r
109 use the Gnus version shipped with Emacs?\r
110 \r
111 Other than that, Jameson's commit [5] is exactly the same as the one in\r
112 my tree with a better commit message, so I'm in favor of pulling it.\r
113 \r
114 [1] http://bzr.savannah.gnu.org/lh/emacs/emacs-23/annotate/head:/lisp/gnus/=\r
115 message.el\r
116 [2] http://bzr.savannah.gnu.org/lh/emacs/emacs-24/annotate/head:/lisp/gnus/=\r
117 message.el\r
118 [3] http://git.gnus.org/cgit/gnus.git/commit/?id=3D30eb6d24d30bc028fce91a0c=\r
119 62044c5dc1fdd90e\r
120 [4] http://git.gnus.org/cgit/gnus.git/commit/?id=3De3fc7cb33eb07dd3b48cfc72=\r
121 f0cada1f1edbcb85\r
122 [5] id:"1334436137-6099-1-git-send-email-jrollins@finestructure.net"\r
123 \r
124 Regards,\r
125 \r
126 =2D-\r
127 Thomas/Schnouki\r
128 \r
129 --=-=-=\r
130 Content-Type: application/pgp-signature\r
131 \r
132 -----BEGIN PGP SIGNATURE-----\r
133 Version: GnuPG v2.0.19 (GNU/Linux)\r
134 \r
135 iQEcBAEBAgAGBQJPlIVnAAoJEOQWxbmv9eBxUAcIAJtr9akZGKyHqSgLfnwMxmPc\r
136 6KWJt9GHzP3o9iXYaXMPvFqHsWsHXAj/iISu11FRVEe12FliNOcj8v2mvuTzMhIj\r
137 mM50z91hh+5tPgY6hiSLwaNtd4bTOrecWRBVLuc/uI9z8zS1NE0Mt363uA2YPSr+\r
138 9hSZc9TMmcRIQAdwHLLovALFssXF+ijcY7sNRnrhHXXPI5zI5mGObTs+bPYkuOkB\r
139 Rj0izfGOxnbJIeJ0dr75tmlZNDAjWc35Jk/s31bdK4Ccp/AT6wVw56uyTMGy9k3l\r
140 ySrCe9L/Ttk+p/6xhm7YifEnkUwBzRawOaStLq3Jdnh87pSM/EW1/lGDW5YaQtU=\r
141 =YIlX\r
142 -----END PGP SIGNATURE-----\r
143 --=-=-=--\r