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 C050F40D1D0
\r
6 for <notmuch@notmuchmail.org>; Sat, 7 Jun 2014 06:38:41 -0700 (PDT)
\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 G0P-nSQeTmd7 for <notmuch@notmuchmail.org>;
\r
16 Sat, 7 Jun 2014 06:38:34 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 5237B40D1CF
\r
19 for <notmuch@notmuchmail.org>; Sat, 7 Jun 2014 06:38:34 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id DBFF21000B3;
\r
22 Sat, 7 Jun 2014 16:38:29 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH] emacs: search archive tweak
\r
26 In-Reply-To: <1402058914-16070-1-git-send-email-markwalters1009@gmail.com>
\r
27 References: <87bnv92521.fsf@inf-8660.int-evry.fr>
\r
28 <1402058914-16070-1-git-send-email-markwalters1009@gmail.com>
\r
29 User-Agent: Notmuch/0.18+28~gcecaba1 (http://notmuchmail.org) Emacs/24.3.1
\r
30 (x86_64-unknown-linux-gnu)
\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
32 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
33 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
34 Date: Sat, 07 Jun 2014 16:38:29 +0300
\r
35 Message-ID: <m2d2ekn8kq.fsf@guru.guru-group.fi>
\r
37 Content-Type: text/plain
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Sat, 07 Jun 2014 13:38:42 -0000
\r
52 On Fri, Jun 06 2014, Mark Walters <markwalters1009@gmail.com> wrote:
\r
54 > notmuch-search-archive-thread moves to the next line after tagging. In
\r
55 > the normal case this makes sense, but if the region is active, it tags
\r
56 > the whole region and then it doesn't really. Thus only move to the
\r
57 > next line if region is not active.
\r
60 Looks good, although I have no idea how to test this ;)
\r
65 > In response to the request in the parent message.
\r
71 > emacs/notmuch.el | 3 ++-
\r
72 > 1 file changed, 2 insertions(+), 1 deletion(-)
\r
74 > diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
75 > index f6bf9c8..2a9876f 100644
\r
76 > --- a/emacs/notmuch.el
\r
77 > +++ b/emacs/notmuch.el
\r
78 > @@ -580,7 +580,8 @@ (defun notmuch-search-archive-thread (&optional unarchive beg end)
\r
79 > (when notmuch-archive-tags
\r
80 > (notmuch-search-tag
\r
81 > (notmuch-tag-change-list notmuch-archive-tags unarchive) beg end))
\r
82 > - (notmuch-search-next-thread))
\r
83 > + (when (eq beg end)
\r
84 > + (notmuch-search-next-thread)))
\r
86 > (defun notmuch-search-update-result (result &optional pos)
\r
87 > "Replace the result object of the thread at POS (or point) by
\r
91 > _______________________________________________
\r
92 > notmuch mailing list
\r
93 > notmuch@notmuchmail.org
\r
94 > http://notmuchmail.org/mailman/listinfo/notmuch
\r