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 DD671429E5F
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 00:12:32 -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 doDVaUDRJ3Uo for <notmuch@notmuchmail.org>;
\r
16 Wed, 18 Jan 2012 00:12:32 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 39D32429E27
\r
21 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 00:12:32 -0800 (PST)
\r
22 Received: by werp13 with SMTP id p13so1173305wer.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 18 Jan 2012 00:12:31 -0800 (PST)
\r
24 Received: by 10.216.131.102 with SMTP id l80mr6471140wei.59.1326874351006;
\r
25 Wed, 18 Jan 2012 00:12:31 -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 hv1sm21105077wib.1.2012.01.18.00.12.29
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Wed, 18 Jan 2012 00:12:30 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id D8F43A0397; Wed, 18 Jan 2012 08:12:27 +0000 (GMT)
\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,
\r
34 Notmuch Mail <notmuch@notmuchmail.org>
\r
35 Subject: Re: [PATCH 4/6] emacs: add option to notmuch-show-next-open-message
\r
36 to pop out to parent buffer if at end
\r
37 In-Reply-To: <1326823531-14549-4-git-send-email-jrollins@finestructure.net>
\r
38 References: <871uqy19yo.fsf@servo.finestructure.net>
\r
39 <1326823531-14549-1-git-send-email-jrollins@finestructure.net>
\r
40 <1326823531-14549-2-git-send-email-jrollins@finestructure.net>
\r
41 <1326823531-14549-3-git-send-email-jrollins@finestructure.net>
\r
42 <1326823531-14549-4-git-send-email-jrollins@finestructure.net>
\r
43 User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1
\r
44 (x86_64-pc-linux-gnu)
\r
45 From: David Edmondson <dme@dme.org>
\r
46 Date: Wed, 18 Jan 2012 08:12:27 +0000
\r
47 Message-ID: <cunfwfdo2dw.fsf@hotblack-desiato.hh.sledj.net>
\r
49 Content-Type: multipart/signed; boundary="=-=-=";
\r
50 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Wed, 18 Jan 2012 08:12:33 -0000
\r
66 Content-Type: text/plain
\r
68 On Tue, 17 Jan 2012 10:05:29 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
\r
69 > -(defun notmuch-show-next-open-message ()
\r
70 > +(defun notmuch-show-next-open-message (&optional pop-at-end)
\r
71 > "Show the next message."
\r
75 > + (parent-buffer notmuch-show-parent-buffer))
\r
77 No need for brackets around `r'. Please put initialised local variables
\r
78 before uninitialised.
\r
80 > (while (and (setq r (notmuch-show-goto-message-next))
\r
81 > (not (notmuch-show-message-visible-p))))
\r
84 > (notmuch-show-mark-read)
\r
85 > (notmuch-show-message-adjust))
\r
86 > - (goto-char (point-max)))))
\r
87 > + (if (and parent-buffer pop-at-end)
\r
89 > + (kill-this-buffer)
\r
90 > + (switch-to-buffer parent-buffer)
\r
91 > + (forward-line 1))
\r
92 > + (goto-char (point-max))))))
\r
94 Can you explain in words how this is expected to behave please?
\r
97 Content-Type: application/pgp-signature
\r
99 -----BEGIN PGP SIGNATURE-----
\r
100 Version: GnuPG v1.4.11 (GNU/Linux)
\r
102 iEYEARECAAYFAk8WfusACgkQaezQq/BJZRYUqgCeMPMtMIHu0wVqtVzQaSwJ23Oa
\r
103 bBMAn3xxVcIg38a5dDfVYvnE2z52QDJV
\r
105 -----END PGP SIGNATURE-----
\r