1 Return-Path: <dme@dme.org>
\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 693B5429E34
\r
6 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 00:22:30 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 6UvZ4h9AyWxS for <notmuch@notmuchmail.org>;
\r
16 Tue, 31 Jan 2012 00:22:29 -0800 (PST)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 A6B6E431E64 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 00:22:29 -0800
\r
22 Received: by wgbdt12 with SMTP id dt12so4891508wgb.2
\r
23 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 00:22:28 -0800 (PST)
\r
24 Received: by 10.180.89.67 with SMTP id bm3mr33060173wib.13.1327998148276;
\r
25 Tue, 31 Jan 2012 00:22:28 -0800 (PST)
\r
26 Received: from hotblack-desiato.hh.sledj.net
\r
27 (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])
\r
28 by mx.google.com with ESMTPS id j16sm60637362wie.4.2012.01.31.00.22.26
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Tue, 31 Jan 2012 00:22:27 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id 11BCF9FD63; Tue, 31 Jan 2012 08:22:25 +0000 (GMT)
\r
33 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, 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: <87bopknvct.fsf@gmail.com>
\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 <87bopknvct.fsf@gmail.com>
\r
40 User-Agent: Notmuch/0.11+137~g7cd907b (http://notmuchmail.org) Emacs/24.0.92.1
\r
41 (x86_64-pc-linux-gnu)
\r
42 From: David Edmondson <dme@dme.org>
\r
43 Date: Tue, 31 Jan 2012 08:22:20 +0000
\r
44 Message-ID: <cunaa54b7sz.fsf@hotblack-desiato.hh.sledj.net>
\r
46 Content-Type: multipart/signed; boundary="=-=-=";
\r
47 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Tue, 31 Jan 2012 08:22:30 -0000
\r
63 Content-Type: text/plain
\r
64 Content-Transfer-Encoding: quoted-printable
\r
66 On Tue, 31 Jan 2012 12:12:50 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=
\r
68 > On Tue, 31 Jan 2012 08:01:54 +0000, David Edmondson <dme@dme.org> wrote:
\r
69 > > When using the spacebar to scroll through a thread, hitting 'space'
\r
70 > > when the bottom of the last message is visible should take the cursor
\r
71 > > to the end of the buffer rather than immediately archiving the thread
\r
72 > > and moving to the next thread.
\r
75 > I did not notice this change yet, so +0
\r
77 > A style comment below.
\r
79 > > emacs/notmuch-show.el | 5 +++++
\r
80 > > 1 files changed, 5 insertions(+), 0 deletions(-)
\r
82 > > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
83 > > index ec72ff8..3f54de0 100644
\r
84 > > --- a/emacs/notmuch-show.el
\r
85 > > +++ b/emacs/notmuch-show.el
\r
86 > > @@ -1319,6 +1319,11 @@ current window), advance to the next open messag=
\r
88 > > ;; This is not the last message - move to the next visible one.
\r
89 > > (notmuch-show-next-open-message))
\r
91 > > + ((not (=3D (point) (point-max)))
\r
92 > > + ;; This is the last message, but the cursor is not at the end of
\r
93 > > + ;; the buffer. Move it there.
\r
94 > > + (goto-char (point-max)))
\r
96 > Perhaps `unless' would be better here?
\r
98 It's the CONDITION clause of `cond', so that wouldn't be appropriate.
\r
105 > > ;; This is the last message - change the return value
\r
110 > > _______________________________________________
\r
111 > > notmuch mailing list
\r
112 > > notmuch@notmuchmail.org
\r
113 > > http://notmuchmail.org/mailman/listinfo/notmuch
\r
116 Content-Type: application/pgp-signature
\r
118 -----BEGIN PGP SIGNATURE-----
\r
119 Version: GnuPG v1.4.11 (GNU/Linux)
\r
121 iEYEARECAAYFAk8npLwACgkQaezQq/BJZRZg8ACcCokp2iqFplIKTC4LyQb6BhbG
\r
122 p4IAn1oTs6S9Wksjpyf7nZfDftOJOQZt
\r
124 -----END PGP SIGNATURE-----
\r