1 Return-Path: <jani@nikula.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 88B73431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Jun 2013 10:56:46 -0700 (PDT)
\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 2jfY719kZQAD for <notmuch@notmuchmail.org>;
\r
16 Mon, 3 Jun 2013 10:56:39 -0700 (PDT)
\r
17 Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com
\r
18 [209.85.217.180]) (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 C2A77431FAE
\r
21 for <notmuch@notmuchmail.org>; Mon, 3 Jun 2013 10:56:38 -0700 (PDT)
\r
22 Received: by mail-lb0-f180.google.com with SMTP id r10so4124532lbi.11
\r
23 for <notmuch@notmuchmail.org>; Mon, 03 Jun 2013 10:56:36 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;
\r
27 bh=Mnmd5K7MCv7dLxRf8hBOIM1omMopNXo3HFzbDH3NL9U=;
\r
28 b=ajSfu40w8vL+BVSWZCfVsR6FgUDLTvvkx27KtQ30gFxMF+EryZ7loQ5vqIBeOyReOR
\r
29 um0ImHh1Hk1iOmbUl+dq2W8Vv3ditUckkfC6FmNefZ/L203fJmR2QmiMclW42iRWIFst
\r
30 W09feFOWzLxkm1X84WxWsh6fCmD3gkZF7hprtBEZaKsf+KPH4CEfnTc0UuvuT0pfXkgE
\r
31 rOIUDScQ6SzwF35WLwFgy/EkjkEcG80alny3FNFV0S7lF/4Qeu/ZdJ2A/n3AUV5+GAYe
\r
32 67F7c+uUe++TQcYuS6yUp+471CbRDKz2ze7P9SjE3TmDOc3C+mQjeJ0gHstQTXGxdFEp
\r
34 X-Received: by 10.152.21.7 with SMTP id r7mr11321631lae.16.1370282195920;
\r
35 Mon, 03 Jun 2013 10:56:35 -0700 (PDT)
\r
36 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.
\r
37 [88.195.118.211]) by mx.google.com with ESMTPSA id
\r
38 t17sm23873053lbd.11.2013.06.03.10.56.33 for <multiple recipients>
\r
39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
40 Mon, 03 Jun 2013 10:56:34 -0700 (PDT)
\r
41 From: Jani Nikula <jani@nikula.org>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH] emacs: update search sort order help to match code
\r
44 Date: Mon, 3 Jun 2013 20:56:31 +0300
\r
45 Message-Id: <1370282191-4526-1-git-send-email-jani@nikula.org>
\r
46 X-Mailer: git-send-email 1.7.10.4
\r
48 ALoCoQkVlbBaAb9HEueV3jdd65lIR67vq2j45dmrCHGhhRVXGU1SiuMUTtqIaAwrwPmWt8dMUO47
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Mon, 03 Jun 2013 17:56:46 -0000
\r
64 emacs/notmuch-lib.el | 7 ++++++-
\r
65 emacs/notmuch.el | 13 ++-----------
\r
66 2 files changed, 8 insertions(+), 12 deletions(-)
\r
68 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
69 index 28f78e0..c43d5a9 100644
\r
70 --- a/emacs/notmuch-lib.el
\r
71 +++ b/emacs/notmuch-lib.el
\r
75 (defcustom notmuch-search-oldest-first t
\r
76 - "Show the oldest mail first when searching."
\r
77 + "Show the oldest mail first when searching.
\r
79 +This variable defines the default sort order for displaying
\r
80 +search results. Note that any filtered searches created by
\r
81 +`notmuch-search-filter' retain the search order of the parent
\r
84 :group 'notmuch-search)
\r
86 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
87 index 26ba7e7..cc62088 100644
\r
88 --- a/emacs/notmuch.el
\r
89 +++ b/emacs/notmuch.el
\r
90 @@ -1030,17 +1030,8 @@ depending on the value of `notmuch-poll-script'."
\r
91 (defun notmuch-search-toggle-order ()
\r
92 "Toggle the current search order.
\r
94 -By default, the \"inbox\" view created by `notmuch' is displayed
\r
95 -in chronological order (oldest thread at the beginning of the
\r
96 -buffer), while any global searches created by `notmuch-search'
\r
97 -are displayed in reverse-chronological order (newest thread at
\r
98 -the beginning of the buffer).
\r
100 -This command toggles the sort order for the current search.
\r
102 -Note that any filtered searches created by
\r
103 -`notmuch-search-filter' retain the search order of the parent
\r
105 +This command toggles the sort order for the current search. The
\r
106 +default sort order is defined by `notmuch-search-oldest-first'."
\r
108 (set 'notmuch-search-oldest-first (not notmuch-search-oldest-first))
\r
109 (notmuch-search-refresh-view))
\r