1 Return-Path: <servilio@gmail.com>
\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 687FE4196F3
\r
6 for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 06:04:57 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001] autolearn=ham
\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 YcJ4usg1Kwjm for <notmuch@notmuchmail.org>;
\r
17 Tue, 13 Apr 2010 06:04:56 -0700 (PDT)
\r
18 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id A9A06431FC1
\r
21 for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 06:04:56 -0700 (PDT)
\r
22 Received: by wyj26 with SMTP id 26so1822633wyj.26
\r
23 for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 06:04:55 -0700 (PDT)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
25 h=domainkey-signature:mime-version:received:date:received:message-id
\r
26 :subject:from:to:content-type;
\r
27 bh=ZrwULTycnWAYczo/KVlO89ZfPpNsJrnyz80Vq37N724=;
\r
28 b=pD+Gy1Gm+ZHrpcUTTOeGmjJZilWXHgfV7oB5FbBn9JGRP0MuB7h7Pxeo0RsjFwYWnK
\r
29 +dTtq5kx7lx9ROxoxz8vISzPlQcIjPjpwFd1QDQgc+UCTZA3Oq7XBNEFj2P5WiN8RNvr
\r
30 nTq0PXxdFSireiXRu+BBCPG9JfAXtKwVmGsYc=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
32 h=mime-version:date:message-id:subject:from:to:content-type;
\r
33 b=n3wu7J1sEMFdZegFtO3+jzCOp5XSXmMuZw841ThXcn5/ETnHXb5rM0wiC6YVYC4gDi
\r
34 f0jd0SJ99mca6fG0V2vmTr/qsGp/U8uEOJWOrnU40emt5H4TlGGre2R6F5pOiQ89M/9D
\r
35 fLGcJP8qCCC5gVZYvU5XfEHsID51Oa3Fo9MQA=
\r
37 Received: by 10.216.89.140 with HTTP; Tue, 13 Apr 2010 06:04:55 -0700 (PDT)
\r
38 Date: Tue, 13 Apr 2010 09:04:55 -0400
\r
39 Received: by 10.216.180.82 with SMTP id i60mr3421818wem.107.1271163895686;
\r
40 Tue, 13 Apr 2010 06:04:55 -0700 (PDT)
\r
41 Message-ID: <x2wb22065d01004130604j5f71d3c4g191d9eb4109c324@mail.gmail.com>
\r
42 Subject: [PATCH] emacs: when archiving move the cursor depending on the sort
\r
44 From: Servilio Afre Puentes <servilio@gmail.com>
\r
45 To: notmuch <notmuch@notmuchmail.org>
\r
46 Content-Type: text/plain; charset=ISO-8859-1
\r
47 X-BeenThere: notmuch@notmuchmail.org
\r
48 X-Mailman-Version: 2.1.13
\r
50 List-Id: "Use and development of the notmuch mail system."
\r
51 <notmuch.notmuchmail.org>
\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
55 List-Post: <mailto:notmuch@notmuchmail.org>
\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
58 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
59 X-List-Received-Date: Tue, 13 Apr 2010 13:04:57 -0000
\r
61 The current hardcoded behaviour will not take you to the next unread
\r
62 thread when the sort order is set to newer-first from the default of
\r
65 Signed-off-by: Servilio Afre Puentes <servilio@gmail.com>
\r
67 emacs/notmuch.el | 4 +++-
\r
68 1 files changed, 3 insertions(+), 1 deletions(-)
\r
70 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
71 index 517c53a..728aa2b 100644
\r
72 --- a/emacs/notmuch.el
\r
73 +++ b/emacs/notmuch.el
\r
74 @@ -572,7 +572,9 @@ thread or threads in the current region."
\r
75 This function advances the next thread when finished."
\r
77 (notmuch-search-remove-tag-thread "inbox")
\r
79 + (if notmuch-search-oldest-first
\r
83 (defun notmuch-search-process-sentinel (proc msg)
\r
84 "Add a message to let user know when \"notmuch search\" exits"
\r