1 Return-Path: <tomi.ollila@iki.fi>
\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 6A6BC429E5B
\r
6 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 02:55:14 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 Sz74dTeikVx0 for <notmuch@notmuchmail.org>;
\r
16 Tue, 31 Jan 2012 02:55:13 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id B9056429E34
\r
19 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 02:55:13 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 2255168056; Tue, 31 Jan 2012 12:55:16 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: David Edmondson <dme@dme.org>,
\r
24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH 1/2] emacs: If archiving the last message in a thread,
\r
26 show the next thread.
\r
27 In-Reply-To: <cunzkd49nb7.fsf@hotblack-desiato.hh.sledj.net>
\r
28 References: <1327996914-9644-1-git-send-email-dme@dme.org>
\r
29 <1327996914-9644-2-git-send-email-dme@dme.org>
\r
30 <m2r4yg2rfl.fsf@guru.guru-group.fi> <871uqgntjz.fsf@gmail.com>
\r
31 <m2mx942pgv.fsf@guru.guru-group.fi>
\r
32 <cunzkd49nb7.fsf@hotblack-desiato.hh.sledj.net>
\r
33 User-Agent: Notmuch/0.11+146~geb6dc33 (http://notmuchmail.org) Emacs/23.3.1
\r
34 (x86_64-unknown-linux-gnu)
\r
35 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
36 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
37 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
38 Date: Tue, 31 Jan 2012 12:55:16 +0200
\r
39 Message-ID: <m2k4482lbf.fsf@guru.guru-group.fi>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Tue, 31 Jan 2012 10:55:14 -0000
\r
56 On Tue, 31 Jan 2012 10:30:20 +0000, David Edmondson <dme@dme.org> wrote:
\r
57 > On Tue, 31 Jan 2012 11:25:36 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
\r
58 > > I like David's alternative suggestion (in IRC) where cursor is left at
\r
59 > > the end of buffer in case last message is archived with 'a'.
\r
61 > Unless the cursor is already at the end of the buffer, in which case it
\r
62 > would do the 'next thread' dance (i.e. it behaves like 'space' in that
\r
65 I think I (and Jameson) don't want that behaviour -- therefore we need
\r
66 functionality (somewhat) analogous to this:
\r
68 (defun notmuch-show-advance-and-archive ()
\r
71 (if (notmuch-show-advance)
\r
72 (notmuch-show-archive-thread-then-next)))
\r
74 So we can easily rebind to the version which doesn't
\r
75 do the '...then-next' magic...
\r