Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 8d / db5b5a7876933b60138cbde04fef780dec28dd
1 Return-Path: <Sebastian@SSpaeth.de>\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 F184B4196F0\r
6         for <notmuch@notmuchmail.org>; Sun, 18 Apr 2010 06:57:08 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001] autolearn=ham\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 1hkCBEtB7JoN for <notmuch@notmuchmail.org>;\r
16         Sun, 18 Apr 2010 06:57:07 -0700 (PDT)\r
17 Received: from homiemail-a11.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
18         [208.97.132.81])\r
19         by olra.theworths.org (Postfix) with ESMTP id CB3C8431FC1\r
20         for <notmuch@notmuchmail.org>; Sun, 18 Apr 2010 06:57:07 -0700 (PDT)\r
21 Received: from sspaeth.de (unknown [195.190.188.219])\r
22         by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 0FEBB19406F; \r
23         Sun, 18 Apr 2010 06:57:02 -0700 (PDT)\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);\r
25         Sun, 18 Apr 2010 15:56:58 +0200\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
27 To: Olly Betts <olly@survex.com>, notmuch@notmuchmail.org\r
28 Subject: Re: [PATCH] allow to not sort the search results\r
29 In-Reply-To: <87eiifj433.fsf@SSpaeth.de>\r
30 References: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de>\r
31         <20100414065525.GA11770@jdc.jasonjgw.net>\r
32         <87hbnebhg0.fsf@SSpaeth.de>\r
33         <loom.20100415T144148-25@post.gmane.org>\r
34         <87eiifj433.fsf@SSpaeth.de>\r
35 Date: Sun, 18 Apr 2010 15:56:58 +0200\r
36 Message-ID: <87wrw4sw2d.fsf@SSpaeth.de>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=us-ascii\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sun, 18 Apr 2010 13:57:09 -0000\r
52 \r
53 On 2010-04-16, Sebastian Spaeth wrote:\r
54 > Olly was right in that even for "notmuch tag" we were sorting the\r
55 > results by date before applying tag changes. I have slightly reworked my\r
56 > patch to have notmuch tag avoid doing that. I also split up the patch in\r
57 > 3 patches that do one thing each.\r
58\r
59 > The patches do:\r
60 > 1: Introduce NOTMUCH_SORT_UNSORTED\r
61 > 2: Introduce notmuch search --sort=unsorted\r
62 > 3: Make notmuch tag not sort results by date\r
63\r
64 > #2 is the one I am least sure about, I don't know if there is a use case\r
65 > for notmuch search returning unsorted results. But 1 & 3 are useful at\r
66 > least.\r
67 \r
68 > Patches 1-3 follow as reply to this one\r
69 \r
70 May I advocate patches 1 & 3 for inclusion in 0.3? I've been using this\r
71 in my tree without problems. patch 2 is left to your judgement as to\r
72 whether a "--sort=unsorted" is useful for notmuch search. (it will\r
73 probably rather benefit from a --sort=relevance, I guess).\r
74 \r
75 Sebastian\r