Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / c8 / 92b5a9bcd96910e5f8bdbd13317f5c13dedd01
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 4911A431FD0\r
6         for <notmuch@notmuchmail.org>; Wed,  7 Sep 2011 01:01:36 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 oyJbFWgHh3ct for <notmuch@notmuchmail.org>;\r
16         Wed,  7 Sep 2011 01:01:35 -0700 (PDT)\r
17 Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com\r
18         [209.85.212.44]) (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 A5B6D431FB6\r
21         for <notmuch@notmuchmail.org>; Wed,  7 Sep 2011 01:01:35 -0700 (PDT)\r
22 Received: by vws12 with SMTP id 12so5202988vws.3\r
23         for <notmuch@notmuchmail.org>; Wed, 07 Sep 2011 01:01:35 -0700 (PDT)\r
24 Received: by 10.52.94.207 with SMTP id de15mr5734509vdb.293.1315382495042;\r
25         Wed, 07 Sep 2011 01:01:35 -0700 (PDT)\r
26 Received: from localhost (nikula.org [92.243.24.172])\r
27         by mx.google.com with ESMTPS id ig8sm2035337vdb.3.2011.09.07.01.01.30\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Wed, 07 Sep 2011 01:01:31 -0700 (PDT)\r
30 From: Jani Nikula <jani@nikula.org>\r
31 To: notmuch@notmuchmail.org\r
32 Subject: [PATCH v2 0/2] sort saved searches, again\r
33 Date: Wed,  7 Sep 2011 08:01:26 +0000\r
34 Message-Id: <cover.1315381553.git.jani@nikula.org>\r
35 X-Mailer: git-send-email 1.7.1\r
36 In-Reply-To: <1315322623575-3313863.post@n3.nabble.com>\r
37 References: <1315322623575-3313863.post@n3.nabble.com>\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\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: Wed, 07 Sep 2011 08:01:36 -0000\r
51 \r
52 Hi, and thanks for all the comments -\r
53 \r
54 [I took the liberty of reordering Adam's paragraphs in my reply.]\r
55 \r
56 On Tue, 6 Sep 2011 08:23:43 -0700 (PDT), Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:\r
57 > I think having an option to sort the saved searches is a fine idea.  \r
58 > The Emacs Way would probably be to have an option for the sort order \r
59 > that takes the name of a function, which is called to sort the \r
60 > searches.  My first thought is that this isn't very user-friendly.  \r
61 > But, thinking about it a bit more, if the default causes the searches \r
62 > to be sorted alphabetically, and setting the value to nil causes them \r
63 > not to be sorted, then it's user-friendly for the two most common \r
64 > cases, and still 100% customizable for those who want different sort \r
65 > orders.\r
66 \r
67 Please find this implemented in patch 1.\r
68 \r
69 > I keep my saved searches in a particular order, kind of emulating the \r
70 > Gmail sidebar: unread, inbox, sent, all mail.  Putting these in \r
71 > alphabetical order either direction would not achieve the goal of \r
72 > having the most used/important saved searches first (i.e. I hardly \r
73 > ever use all mail, so it shouldn't be first in the list).\r
74 \r
75 > The tags list, on the other hand, I like having sorted to make tags \r
76 > easy to find.  It has a different purpose than saved searches for me, \r
77 > so its behavior is different.\r
78 \r
79 I hardly use tags at all. I have dozens of saved searches instead. Thus \r
80 I want the saved searches to be easy to find, and I'd rather have the \r
81 computer sort them for me. I do admit to renaming the most important \r
82 ones to start with capital letters so they pop up first even when \r
83 sorted.\r
84 \r
85 Since it seems that people generally prefer to keep the most important \r
86 saved searches first in the list, I've included patch 2 to make new \r
87 saved searches be added to the end of the list rather than inserted in \r
88 the beginning.\r
89 \r
90 BR,\r
91 Jani.\r
92 \r
93 \r
94 Jani Nikula (2):\r
95   emacs: Add new customization option to sort saved searches\r
96   emacs: Make saving new saved searches append, not prepend\r
97 \r
98  emacs/notmuch-hello.el |   28 ++++++++++++++++++++++++++--\r
99  1 files changed, 26 insertions(+), 2 deletions(-)\r
100 \r