Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 79 / bc763fea19eb39a00f5f3d37635bb833bddc34
1 Return-Path: <jrollins@finestructure.net>\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 5AD58431FB5\r
6         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 09:32:48 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 outdydmFUKwr for <notmuch@notmuchmail.org>;\r
16         Mon,  9 May 2011 09:32:47 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 3075A429E28\r
20         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 09:32:47 -0700 (PDT)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id D9F9A3282C1;\r
23         Mon,  9 May 2011 09:27:42 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
26         [98.149.172.122]) (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 217D63282D7;\r
28         Mon,  9 May 2011 09:27:40 -0700 (PDT)\r
29 Received: by servo.finestructure.net (Postfix, from userid 1000)\r
30         id C628EC9C; Mon,  9 May 2011 09:32:42 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,\r
33         Notmuch Mail <notmuch@notmuchmail.org>\r
34 Subject: Re: [PATCH] Use message-field-value instead of message-fetch-field in\r
35         FCC header setup.\r
36 In-Reply-To: <1304942780-4228-1-git-send-email-dmitry.kurochkin@gmail.com>\r
37 References: <1304942780-4228-1-git-send-email-dmitry.kurochkin@gmail.com>\r
38 User-Agent: Notmuch/0.6 (http://notmuchmail.org) Emacs/23.3.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Mon, 09 May 2011 09:32:42 -0700\r
41 Message-ID: <878vufsul1.fsf@servo.factory.finestructure.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha256; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 09 May 2011 16:32:48 -0000\r
58 \r
59 --=-=-=\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 On Mon,  9 May 2011 16:06:20 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=\r
63 l.com> wrote:\r
64 > For message-fetch-field the buffer is expected to be narrowed to\r
65 > just the header of the message.  That is not the case when\r
66 > notmuch-fcc-header-setup is run, hence a wrong header value may be\r
67 > returned.  E.g. when forwarding an\r
68 > email, (message-fetch-field "From") returns the From header value\r
69 > of the forwarded email.\r
70 >=20\r
71 > Message-field-value is the same as message-fetch-field, only\r
72 > narrows the buffer to the headers first.\r
73 \r
74 Hey, Dmitry.  This is a nice clean fix.  I've applied it to the r-c/0.6.\r
75 \r
76 jamie.\r
77 \r
78 --=-=-=\r
79 Content-Type: application/pgp-signature\r
80 \r
81 -----BEGIN PGP SIGNATURE-----\r
82 Version: GnuPG v1.4.11 (GNU/Linux)\r
83 \r
84 iQIcBAEBCAAGBQJNyBcqAAoJEO00zqvie6q8R9oP/iZsl0PHhN611bu2gSqERFGe\r
85 B+TuoOsTkFAyT7WvmkFeDC51oDf/aRQ0wBFsZ88cRib6wFHSIyBYEEM6uA0l5JSA\r
86 2Mi0yirwjuJJLx5MLJXqGy0n854Di4yR7ORrIlTH6PMdfSnRhxK4K1Ak+5MsVVxU\r
87 KyjvafqtLh/LqoLrUwsJ2h+qysof5dhr3/NpTta9IL6xFvW2uEoH1ZHXQhzO8IRn\r
88 oagp1+fDTkFb0QiL2PQJpNbnHPTzHNEnDvvvFloN7BJXihIZ95FJcbkeENST8/0/\r
89 0UZkOd//8cDiWnz2QgCEyf5b0vCo2RLySZhADuDshj6L8HUrzcqz3WlpD9o8qF+L\r
90 DSuhgAJFMCNi9kZ7Sj6w/zCx06nBHMduoi4Qc1Dm9+tbFkJps7kLCWJM0VMA9jdN\r
91 01T8IfZaiGA6dFGnPsycoF4f+I/sash+VinP9U1Ij43oMj+GoRREAbhuasqknjZ7\r
92 nXIJerZbw9GK5k07HlMUXpH4C1LUFelwYq8abCHwchYJlEzRBUSeSw1f3uwj5qsk\r
93 L51kgDGiRkInESoLf30nq3hOlbbg9swIQEvrBz8ZmU8XG+oDM7mq/DJmbOQM3ZPh\r
94 hEeqgsBRRF4cvGLGefJGOfbnmt7siUtExMWsd5PkXm/SqHEt5ROKQjTEVSKRKmxt\r
95 hWHINEkpNNZdA3K9VDJC\r
96 =IbrD\r
97 -----END PGP SIGNATURE-----\r
98 --=-=-=--\r