Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 00 / a0fffcaf7da973a179189a016e352ad7119832
1 Return-Path: <cworth@cworth.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 E9616431FC0;\r
6         Fri, 27 Nov 2009 20:04:02 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id Y9RgES791PTL; Fri, 27 Nov 2009 20:04:02 -0800 (PST)\r
11 Received: from cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id 12BF5431FAE;\r
13         Fri, 27 Nov 2009 20:04:02 -0800 (PST)\r
14 From: Carl Worth <cworth@cworth.org>\r
15 To: Tassilo Horn <tassilo@member.fsf.org>\r
16 In-Reply-To: <87d4349yhz.fsf@thinkpad.tsdh.de>\r
17 References: <87tywlji10.fsf@thinkpad.tsdh.de>\r
18         <87k4xdq7ys.fsf@yoom.home.cworth.org> <87d4349yhz.fsf@thinkpad.tsdh.de>\r
19 Date: Fri, 27 Nov 2009 20:03:47 -0800\r
20 Message-ID: <87ocmnjnx8.fsf@yoom.home.cworth.org>\r
21 MIME-Version: 1.0\r
22 Content-Type: text/plain; charset=us-ascii\r
23 Cc: notmuch@notmuchmail.org\r
24 Subject: Re: [notmuch] [PATCH] Return unpropertized strings for filename and\r
25  message-id\r
26 X-BeenThere: notmuch@notmuchmail.org\r
27 X-Mailman-Version: 2.1.12\r
28 Precedence: list\r
29 List-Id: "Use and development of the notmuch mail system."\r
30         <notmuch.notmuchmail.org>\r
31 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
32         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
33 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
34 List-Post: <mailto:notmuch@notmuchmail.org>\r
35 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
36 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
37         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
38 X-List-Received-Date: Sat, 28 Nov 2009 04:04:03 -0000\r
39 \r
40 On Fri, 27 Nov 2009 09:13:12 +0100, Tassilo Horn <tassilo@member.fsf.org> wrote:\r
41 > I guess it won't be the last one.  There are some byte-compiler warnings\r
42 > with notmuch.el, that I'd like to remove.\r
43 \r
44 Great! I'll look forward to more from you?\r
45 \r
46 > So an email looking like this would be correct?\r
47 \r
48 Almost. The place where you want to insert the explanatory text is\r
49 between the "---" marker and the line starting with "diff". See below.\r
50 \r
51 > Normally it causes almost never any problems, but IMO it's just bad\r
52 > style.  When a user wants to get the Message-id, he most probably only\r
53 > wants to do some calculations on that (e.g. jump to that message in Gnus\r
54 > or rmail), or insert it somewhere else.  In the first case, text\r
55 > properties aren't needed, and in the second case, it's most unlikely\r
56 > that he wants to have exactly the same properties there, especially if\r
57 > there are properties different from faces.\r
58 \r
59 Thanks for the explanation. The above paragraph would have been\r
60 *perfect* as the commit message.\r
61 \r
62 > But instead of mailing each first-time committer a mail, you might\r
63 > consider putting those guidelines on the notmuch homepage. :-)\r
64 \r
65 Yes, there's definitely a bunch of places that would be better to put\r
66 these things, (like in a HACKING file in the repository). But sometimes\r
67 it's just so *easy* to write email.\r
68 \r
69 I will try to put things into better places before I repeat myself on\r
70 the list too much. But anyone can feel free to help by taking text I've\r
71 written in email and sending it back as patches to explanatory files\r
72 like HACKING.\r
73 \r
74 And eventually I'll fix the website so that other people can contribute\r
75 to it as well.\r
76 \r
77 Thanks again for all your help,\r
78 \r
79 -Carl\r
80 \r
81 --8<---------------cut here---------------start------------->8---\r
82 From: Tassilo Horn <tassilo@member.fsf.org>\r
83 To: Carl Worth <cworth@cworth.org>\r
84 Cc: notmuch@notmuchmail.org\r
85 Date: Fri, 27 Nov 2009 08:54:41 +0100\r
86 Subject: [PATCH] Remove preprocessor code\r
87 \r
88 Don't define RUNNING_ON_VALGRIND, so that notmuch is probably broken.\r
89 ---\r
90 Hi Carl,\r
91 \r
92 this patch is completely wrong.  Please don't apply it. :-)\r
93 \r
94 And thanks again for the great work.\r
95 \r
96 Bye,\r
97 Tassilo\r
98 \r
99  debugger.c |    2 --\r
100  1 files changed, 0 insertions(+), 2 deletions(-)\r
101 \r
102 diff --git a/debugger.c b/debugger.c\r
103 index e8b9378..f32cdc9 100644\r
104 --- a/debugger.c\r
105 +++ b/debugger.c\r
106 @@ -24,8 +24,6 @@\r
107  \r
108  #if HAVE_VALGRIND\r
109  #include <valgrind.h>\r
110 -#else\r
111 -#define RUNNING_ON_VALGRIND 0\r
112  #endif\r
113  \r
114  notmuch_bool_t\r
115 --8<---------------cut here---------------end--------------->8---\r