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 8EB11431FC7
\r
6 for <notmuch@notmuchmail.org>; Fri, 7 Feb 2014 03:26:12 -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 QYcFjzdoqccS for <notmuch@notmuchmail.org>;
\r
16 Fri, 7 Feb 2014 03:26:04 -0800 (PST)
\r
17 Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com
\r
18 [209.85.216.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 2CE92431FAE
\r
21 for <notmuch@notmuchmail.org>; Fri, 7 Feb 2014 03:26:04 -0800 (PST)
\r
22 Received: by mail-qc0-f181.google.com with SMTP id e9so5549906qcy.40
\r
23 for <notmuch@notmuchmail.org>; Fri, 07 Feb 2014 03:26:02 -0800 (PST)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
\r
28 bh=mdphAcHyuzuWFUgxD2Jgj4E0CSfNnrsp+SdW1BcHinE=;
\r
29 b=HVoKYyXIviGhKCbmtVi7pbmWRmhatGPyE3xYGkymAItFaZFZekCnYPm9vLP+gzOKOZ
\r
30 q9+jjNC0BCmMb5zUFALFY3tSq79pxAgXl6/IpIi+AfyQC1nSXsHAh7vEKZmgAOh5v1kg
\r
31 l4Ax7lrK2YaOdIMkm+n7ZkA/1y3J4eZIzFQMpsAcEb2EnrkedTYfbTZgZx89icP5XPg9
\r
32 3Qq1YsU+gR8rpcbETCVS+UWpI0qpRLQQyFIV7ornlNMgJBiYKOg+kCDy26o6uAvABXPA
\r
33 CEX3uB46hLUCSIv7WAwvhlt3uYUXiBX2lwcc5QGNeEIoKR4czj2mm+27KaE9z6r5k53y
\r
36 ALoCoQkGCgxBSSH2Z6P//y3LoawEpDe6/joAb/IQHgbXRAgyYUPh5WJFNeTskpA++aQhHuhXQJsD
\r
37 X-Received: by 10.224.173.1 with SMTP id n1mr18337117qaz.48.1391772362478;
\r
38 Fri, 07 Feb 2014 03:26:02 -0800 (PST)
\r
39 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])
\r
40 by mx.google.com with ESMTPSA id 67sm8314196qgr.15.2014.02.07.03.26.01
\r
41 for <multiple recipients>
\r
42 (version=TLSv1.1 cipher=RC4-SHA bits=128/128);
\r
43 Fri, 07 Feb 2014 03:26:01 -0800 (PST)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: notmuch@notmuchmail.org,
\r
47 Subject: [PATCH 0/2] emacs: per saved search sort order
\r
48 Date: Fri, 7 Feb 2014 12:25:51 +0100
\r
49 Message-Id: <cover.1391771337.git.jani@nikula.org>
\r
50 X-Mailer: git-send-email 1.7.2.5
\r
51 In-Reply-To: <1391727088-22172-1-git-send-email-cworth@cworth.org>
\r
52 References: <1391727088-22172-1-git-send-email-cworth@cworth.org>
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Fri, 07 Feb 2014 11:26:13 -0000
\r
67 On Thu, 06 Feb 2014, Carl Worth <cworth@cworth.org> wrote:
\r
68 > This allows for the user to control the order that results are
\r
69 > returned from saved-searches, (and independently from the order of all
\r
70 > other searches which is controlled by notmuch-search-oldest-first).
\r
73 > This allows me to get back to the behavior that notmuch had long ago,
\r
74 > (the documentation for the changed behavior was updated in commit
\r
75 > c1a42652a173a4bb70ab72388e6ad150d19a2b06). I'm not sure when the
\r
76 > actual behavioral change was made.
\r
78 I seem to have fixed the documentation (I'd forgotten!) but I'm pretty
\r
79 sure I had nothing to do with changing the behaviour! :)
\r
81 > A fanicer change might allow for a configurable sort order for each
\r
82 > saved search, but this more minimal change at least lets me use the
\r
83 > latest notmuch once again.
\r
85 Here are simple patches to support per saved search sort order. I seem
\r
86 to have been running these for more than a year now [1]. It's not
\r
87 perfect or pretty but works for me.
\r
92 [1] id:1349209083-7170-1-git-send-email-jani@nikula.org
\r
96 emacs: store sort order in the widgets in notmuch-hello
\r
97 emacs: add support for defining custom sort order for saved searches
\r
99 emacs/notmuch-hello.el | 8 +++++++-
\r
100 emacs/notmuch-lib.el | 9 +++++++++
\r
101 2 files changed, 16 insertions(+), 1 deletions(-)
\r