1 Return-Path: <awg@xvx.ca>
\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 71D65431FD0
\r
6 for <notmuch@notmuchmail.org>; Wed, 7 Sep 2011 08:53:12 -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 DaVnkpwRgjFk for <notmuch@notmuchmail.org>;
\r
16 Wed, 7 Sep 2011 08:53:08 -0700 (PDT)
\r
17 Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com
\r
18 [209.85.215.53]) (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 7A6CD431FB6
\r
21 for <notmuch@notmuchmail.org>; Wed, 7 Sep 2011 08:53:08 -0700 (PDT)
\r
22 Received: by ewy8 with SMTP id 8so213420ewy.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 07 Sep 2011 08:53:05 -0700 (PDT)
\r
25 Received: by 10.204.145.15 with SMTP id b15mr3386108bkv.372.1315410785541;
\r
26 Wed, 07 Sep 2011 08:53:05 -0700 (PDT)
\r
28 Received: by 10.204.17.9 with HTTP; Wed, 7 Sep 2011 08:53:05 -0700 (PDT)
\r
29 X-Originating-IP: [68.148.112.98]
\r
30 In-Reply-To: <cover.1315381553.git.jani@nikula.org>
\r
31 References: <1315322623575-3313863.post@n3.nabble.com>
\r
32 <cover.1315381553.git.jani@nikula.org>
\r
33 Date: Wed, 7 Sep 2011 09:53:05 -0600
\r
34 X-Google-Sender-Auth: kdBV1LIuW5HfAKGedV_Xw-SwNIw
\r
36 <CAMoJFUtntgxjGToOL5Nb7sxH1FQ-ihKMfCprO78D2=+ZzZAqrQ@mail.gmail.com>
\r
37 Subject: Re: [PATCH v2 0/2] sort saved searches, again
\r
38 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>
\r
39 To: notmuch@notmuchmail.org
\r
40 Content-Type: text/plain; charset=ISO-8859-1
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 07 Sep 2011 15:53:12 -0000
\r
55 (Sorry if anyone gets this twice; I sent it to the list initially from
\r
56 the wrong email address.)
\r
58 On Wed, Sep 7, 2011 at 02:01, Jani Nikula <jani@nikula.org> wrote:
\r
59 > On Tue, 6 Sep 2011 08:23:43 -0700 (PDT), Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:
\r
60 >> I think having an option to sort the saved searches is a fine idea.
\r
61 >> The Emacs Way would probably be to have an option for the sort order
\r
62 >> that takes the name of a function, which is called to sort the
\r
63 >> searches. My first thought is that this isn't very user-friendly.
\r
64 >> But, thinking about it a bit more, if the default causes the searches
\r
65 >> to be sorted alphabetically, and setting the value to nil causes them
\r
66 >> not to be sorted, then it's user-friendly for the two most common
\r
67 >> cases, and still 100% customizable for those who want different sort
\r
70 > Please find this implemented in patch 1.
\r
72 I've tried the patches, and they work properly for me. I think this
\r
73 looks good; hopefully others agree.
\r
75 > I hardly use tags at all. I have dozens of saved searches instead. Thus
\r
76 > I want the saved searches to be easy to find, and I'd rather have the
\r
77 > computer sort them for me. I do admit to renaming the most important
\r
78 > ones to start with capital letters so they pop up first even when
\r
81 > Since it seems that people generally prefer to keep the most important
\r
82 > saved searches first in the list, I've included patch 2 to make new
\r
83 > saved searches be added to the end of the list rather than inserted in
\r
86 Indeed, I expect there are many different notmuch workflows. I think
\r
87 these patches keep notmuch general enough to support any workflow,
\r
88 while making the common ones very easy to use.
\r