1 Return-Path: <m.walters@qmul.ac.uk>
\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 301D7431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 4 Feb 2012 12:28:42 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5
\r
12 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
\r
13 NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 RrtAUmjRgE06 for <notmuch@notmuchmail.org>;
\r
17 Sat, 4 Feb 2012 12:28:41 -0800 (PST)
\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 58CC8431FAE
\r
22 for <notmuch@notmuchmail.org>; Sat, 4 Feb 2012 12:28:41 -0800 (PST)
\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])
\r
24 by mail2.qmul.ac.uk with esmtp (Exim 4.71)
\r
25 (envelope-from <m.walters@qmul.ac.uk>)
\r
26 id 1RtmDu-000182-Ju; Sat, 04 Feb 2012 20:28:38 +0000
\r
27 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223]
\r
29 by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69)
\r
30 (envelope-from <m.walters@qmul.ac.uk>)
\r
31 id 1RtmDu-0005XA-9n; Sat, 04 Feb 2012 20:28:38 +0000
\r
32 From: Mark Walters <markwalters1009@gmail.com>
\r
33 To: Tomi Ollila <tomi.ollila@iki.fi>, David Edmondson <dme@dme.org>,
\r
34 notmuch@notmuchmail.org
\r
35 Subject: Re: Bug: emacs 23.2 doesn't like ido-completing-read
\r
36 In-Reply-To: <m2bopefja6.fsf@guru.guru-group.fi>
\r
37 References: <871uqijdy4.fsf@qmul.ac.uk>
\r
38 <cun4nvdil63.fsf@hotblack-desiato.hh.sledj.net>
\r
39 <87pqe14hjh.fsf@qmul.ac.uk> <8762fmeq4i.fsf@qmul.ac.uk>
\r
40 <m2bopefja6.fsf@guru.guru-group.fi>
\r
41 User-Agent: Notmuch/0.11+154~ged6d37e (http://notmuchmail.org) Emacs/23.2.1
\r
43 Date: Sat, 04 Feb 2012 20:29:48 +0000
\r
44 Message-ID: <87y5sipcjn.fsf@qmul.ac.uk>
\r
46 Content-Type: text/plain; charset=us-ascii
\r
47 X-Sender-Host-Address: 94.192.233.223
\r
48 X-QM-SPAM-Info: Sender has good ham record. :)
\r
49 X-QM-Body-MD5: 1b855c182692796c57b647108bf3d78c (of first 20000 bytes)
\r
50 X-SpamAssassin-Score: -1.8
\r
51 X-SpamAssassin-SpamBar: -
\r
52 X-SpamAssassin-Report: The QM spam filters have analysed this message to
\r
54 spam. We require at least 5.0 points to mark a message as spam.
\r
55 This message scored -1.8 points.
\r
56 Summary of the scoring:
\r
57 * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,
\r
59 * [138.37.6.40 listed in list.dnswl.org]
\r
60 * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
\r
61 provider * (markwalters1009[at]gmail.com)
\r
62 * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
\r
64 * 0.5 AWL AWL: From: address is in the auto white-list
\r
65 X-QM-Scan-Virus: ClamAV says the message is clean
\r
66 X-BeenThere: notmuch@notmuchmail.org
\r
67 X-Mailman-Version: 2.1.13
\r
69 List-Id: "Use and development of the notmuch mail system."
\r
70 <notmuch.notmuchmail.org>
\r
71 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
74 List-Post: <mailto:notmuch@notmuchmail.org>
\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
76 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
77 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
78 X-List-Received-Date: Sat, 04 Feb 2012 20:28:42 -0000
\r
80 On Sat, 04 Feb 2012 22:14:25 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
81 > On Sat, 04 Feb 2012 12:31:57 +0000, Mark Walters <markwalters1009@gmail.com> wrote:
\r
83 > > I hadn't realised before but this also goes wrong if you use the prefix
\r
84 > > argument to mail (eg ctrl-u m). The current code seems to mess up the
\r
85 > > mini-buffer and even closing the buffer does not get out of it.
\r
87 > > Changing ido-completing-read read to completing-read seems to fix the
\r
88 > > problem entirely. Since this will affect most debian stable users (*) I
\r
89 > > think we should fix it. The trivial patch below works for me but other solutions
\r
90 > > may be better as they could maintain the benefits of ido-completing-read
\r
91 > > (eg that it shows the possibilities).
\r
97 > > (*) Perhaps only those who have more than one email address.
\r
99 > > diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
100 > > index 023645e..41f82c2 100644
\r
101 > > --- a/emacs/notmuch-mua.el
\r
102 > > +++ b/emacs/notmuch-mua.el
\r
103 > > @@ -191,7 +191,7 @@ the From: header is already filled in by notmuch."
\r
104 > > ;; Now prompt the user, either for an email address only or for a full identity.
\r
105 > > (if one-name-only
\r
107 > > - (ido-completing-read (concat "Sender address for " name ": ") addresses
\r
108 > > + (completing-read (concat "Sender address for " name ": ") addresses
\r
109 > > nil nil nil 'notmuch-mua-sender-history (car addresses))))
\r
110 > > (concat name " <" address ">"))
\r
111 > > (ido-completing-read "Send mail From: " notmuch-identities
\r
113 > Should that other ido-completing-read be kept there -- it is the only
\r
114 > one left after this patch...
\r
116 Whoops: I hadn't even noticed that one. Is there any way of fixing it
\r
117 so ido-completing-read works (see the link in my first message
\r
118 id:"871uqijdy4.fsf@qmul.ac.uk")? Not because I want the extra
\r
119 functionality but perhaps someone else likes it as it is.
\r