Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 7a / a3428a0854104fdb073d5344799267fa8af867
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 B61A0429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 12 Jan 2012 00:51:59 -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 eIVEoOQ+Wh4R for <notmuch@notmuchmail.org>;\r
16         Thu, 12 Jan 2012 00:51:57 -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 65273431FB6\r
21         for <notmuch@notmuchmail.org>; Thu, 12 Jan 2012 00:51:57 -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 q0C8gojj030681;\r
24         Thu, 12 Jan 2012 10:51:43 +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 114cs101ba-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Thu, 12 Jan 2012 10:51:43 +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         q0C8pgZ3008828; Thu, 12 Jan 2012 10:51:42 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: Austin Clements <amdragon@mit.edu>, Tomi Ollila <tomi.ollila@iki.fi>\r
34 Subject: Re: [PATCH] make (kill-emacs) from emacsclient work with emacs\r
35         23.(1|2)\r
36 In-Reply-To: <20120112041344.GZ20796@mit.edu>\r
37 References: <87d3b01qus.fsf@qmul.ac.uk>\r
38         <1326293378-25248-1-git-send-email-tomi.ollila@iki.fi>\r
39         <20120112041344.GZ20796@mit.edu>\r
40 User-Agent: Notmuch/0.10.2+176~g3f9d738 (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: Thu, 12 Jan 2012 10:51:42 +0200\r
46 Message-ID: <yf6boq9482p.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-12_04:2012-01-12, 2012-01-12,\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-1201120012\r
57 Cc: notmuch@notmuchmail.org\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Thu, 12 Jan 2012 08:51:59 -0000\r
71 \r
72 On Wed, 11 Jan 2012 23:13:44 -0500, Austin Clements <amdragon@mit.edu> wrote:\r
73 > This is important to fix, but this solution seems needlessly\r
74 > roundabout.  What about using an after-advice and simply delq'ing\r
75 > whatever the offending hook is?  That wouldn't even need a version\r
76 > check.\r
77 \r
78 delq could work -- thanks for the idea -- but removing the hook was\r
79 wrong shot from my part (the hook removes the cleanup I mentioned in\r
80 one of my previous mails).\r
81 \r
82 To minimise behaviour changes (to zero in emacs 23.3+) to minimal\r
83 in 23.(1|2) my next suggestion goes along lines:\r
84 \r
85 ;; Work around a bug in emacs 23.1 and emacs 23.2 which prevents\r
86 ;; noninteractive (kill-emacs) from emacsclient.\r
87 (when (and (= emacs-major-version 23) (< emacs-minor-version 3))\r
88   (defadvice kill-emacs (before disable-yes-or-no-p)\r
89     "Disable yes-or-no-p before executing kill-emacs"\r
90     (defun yes-or-no-p (prompt) t))\r
91   (ad-activate 'kill-emacs))\r
92 \r
93 Now just (accidental) additions which use yes-or-no-p \r
94 into kill-emacs-hook are not noticed in emacs 23.1 & 23.2.\r
95 \r
96 \r
97 Tomi\r