Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 1f / 4d1f856116c01251984bae50c7a8c1a820b307
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 D43B8431FAF\r
6         for <notmuch@notmuchmail.org>; Sun, 15 Apr 2012 10:14:47 -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: -1.098\r
10 X-Spam-Level: \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 kCAEVIr07EGu for <notmuch@notmuchmail.org>;\r
17         Sun, 15 Apr 2012 10:14:47 -0700 (PDT)\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 19F23431FAE\r
22         for <notmuch@notmuchmail.org>; Sun, 15 Apr 2012 10:14:47 -0700 (PDT)\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 1SJT28-0004lS-Du; Sun, 15 Apr 2012 18:14:42 +0100\r
27 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223]\r
28         helo=localhost)\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 1SJT28-0002nB-2r; Sun, 15 Apr 2012 18:14:40 +0100\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH 2/2] emacs: Don't move to the next thread unless the\r
35         cursor is at the end of the buffer.\r
36 In-Reply-To: <1327996914-9644-3-git-send-email-dme@dme.org>\r
37 References: <1327996914-9644-1-git-send-email-dme@dme.org>\r
38         <1327996914-9644-3-git-send-email-dme@dme.org>\r
39 User-Agent: Notmuch/0.12+110~gbc97b4a (http://notmuchmail.org) Emacs/23.3.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Sun, 15 Apr 2012 18:14:59 +0100\r
42 Message-ID: <87lilw6hnw.fsf@qmul.ac.uk>\r
43 MIME-Version: 1.0\r
44 Content-Type: text/plain; charset=us-ascii\r
45 X-Sender-Host-Address: 94.192.233.223\r
46 X-QM-SPAM-Info: Sender has good ham record.  :)\r
47 X-QM-Body-MD5: 80510b1f8ce6ac3fabaf4e9ab3aa1233 (of first 20000 bytes)\r
48 X-SpamAssassin-Score: -1.8\r
49 X-SpamAssassin-SpamBar: -\r
50 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
51         determine if it is\r
52         spam. We require at least 5.0 points to mark a message as spam.\r
53         This message scored -1.8 points.\r
54         Summary of the scoring: \r
55         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
56         *      medium trust\r
57         *      [138.37.6.40 listed in list.dnswl.org]\r
58         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
59         provider *      (markwalters1009[at]gmail.com)\r
60         * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay\r
61         *      domain\r
62         *  0.5 AWL AWL: From: address is in the auto white-list\r
63 X-QM-Scan-Virus: ClamAV says the message is clean\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.13\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68         <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
75         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Sun, 15 Apr 2012 17:14:48 -0000\r
77 \r
78 \r
79 On Tue, 31 Jan 2012, David Edmondson <dme@dme.org> wrote:\r
80 > When using the spacebar to scroll through a thread, hitting 'space'\r
81 > when the bottom of the last message is visible should take the cursor\r
82 > to the end of the buffer rather than immediately archiving the thread\r
83 > and moving to the next thread.\r
84 \r
85 Hi\r
86 \r
87 This patch looks good to me; (but if people prefer the current behaviour then\r
88 can we mark this notmuch::wontfix so it leaves the review queue)\r
89 \r
90 Best wishes\r
91 \r
92 Mark\r
93 \r
94 > ---\r
95 >  emacs/notmuch-show.el |    5 +++++\r
96 >  1 files changed, 5 insertions(+), 0 deletions(-)\r
97 >\r
98 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
99 > index ec72ff8..3f54de0 100644\r
100 > --- a/emacs/notmuch-show.el\r
101 > +++ b/emacs/notmuch-show.el\r
102 > @@ -1319,6 +1319,11 @@ current window), advance to the next open message."\r
103 >        ;; This is not the last message - move to the next visible one.\r
104 >        (notmuch-show-next-open-message))\r
105 >  \r
106 > +     ((not (= (point) (point-max)))\r
107 > +      ;; This is the last message, but the cursor is not at the end of\r
108 > +      ;; the buffer. Move it there.\r
109 > +      (goto-char (point-max)))\r
110 > +\r
111 >       (t\r
112 >        ;; This is the last message - change the return value\r
113 >        (setq ret t)))\r
114 > -- \r
115 > 1.7.8.3\r
116 >\r
117 > _______________________________________________\r
118 > notmuch mailing list\r
119 > notmuch@notmuchmail.org\r
120 > http://notmuchmail.org/mailman/listinfo/notmuch\r