[PATCH] WIP: remove all non-prefixed-terms (and stemmed versions)
[notmuch-archives.git] / ec / c3572f850a4283a61a42b73b3271b4ffbf366e
1 Return-Path: <sebastian.fischmeister@uwaterloo.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 arlo.cworth.org (Postfix) with ESMTP id 63F0A6DE034D\r
6  for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 13:56:07 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.069\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.069 tagged_above=-999 required=5 tests=[AWL=0.242,\r
12   RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id yUZ49CKF7nI5 for <notmuch@notmuchmail.org>;\r
17  Fri, 29 Apr 2016 13:55:59 -0700 (PDT)\r
18 Received: from mailchk-m04.uwaterloo.ca (mailservices.uwaterloo.ca\r
19  [129.97.128.141])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id D27D56DE0319\r
21  for <notmuch@notmuchmail.org>; Fri, 29 Apr 2016 13:55:58 -0700 (PDT)\r
22 Received: from connect.uwaterloo.ca (connhub2.connect.uwaterloo.ca\r
23  [129.97.149.119])\r
24  by mailchk-m04.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u3TKtrAb021558\r
25  (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK);\r
26  Fri, 29 Apr 2016 16:55:54 -0400\r
27 Received: from uwaterloo.ca (129.97.68.117) by connhub2.connect.uwaterloo.ca\r
28  (129.97.149.119) with Microsoft SMTP Server (TLS) id 14.3.266.1; Fri, 29 Apr\r
29  2016 16:55:52 -0400\r
30 From: Sebastian Fischmeister <sfischme@uwaterloo.ca>\r
31 To: David Edmondson <dme@dme.org>, Notmuch Mail <notmuch@notmuchmail.org>\r
32 Subject: Re: message-default-mail-headers not working in notmuch 0.22\r
33 In-Reply-To: <m2shy4eb6z.fsf@dme.org>\r
34 References: <87y47wmsfi.fsf@uwaterloo.ca> <m2shy4eb6z.fsf@dme.org>\r
35 Reply-To: <sfischme@uwaterloo.ca>\r
36 X-Homepage: http://esg.uwaterloo.ca\r
37 Date: Fri, 29 Apr 2016 16:55:52 -0400\r
38 Message-ID: <87twik9lt3.fsf@uwaterloo.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 X-UUID: 8f016564-773b-448e-a4e0-3245d918b654\r
42 X-Miltered: at mailchk-m04 with ID 5723CA59.000 by Joe's j-chkmail\r
43  (http://j-chkmail.ensmp.fr)!\r
44 X-Virus-Scanned: clamav-milter 0.99 at mailchk-m04\r
45 X-Virus-Status: Clean\r
46 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.9\r
47  (mailchk-m04.uwaterloo.ca [129.97.128.141]);\r
48  Fri, 29 Apr 2016 16:55:55 -0400 (EDT)\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.20\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53  <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
55  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
60  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Fri, 29 Apr 2016 20:56:07 -0000\r
62 \r
63 I can confirm that this fixes the problem.\r
64 \r
65 Thanks for the quick reply!\r
66 \r
67   Sebastian\r
68 \r
69 David Edmondson <dme@dme.org> writes:\r
70 \r
71 > On Fri, Apr 29 2016, Sebastian Fischmeister wrote:\r
72 >> After upgrading to notmuch 0.22, my emacs config seems broken:\r
73 >>\r
74 >> (setq message-default-mail-headers "Reply-to: me@example.com\nBcc: me@example.com")\r
75 >>\r
76 >> When creating a new mail, it has no header other than "To:" and\r
77 >> "Subject:".\r
78 >>\r
79 >> Since I cannot find any item in the NEWS related to this release, is\r
80 >> this expected behaviour?\r
81 >\r
82 > No, it's not intended. Please try this patch:\r
83 >\r
84 > diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
85 > index 0445975..399e138 100644\r
86 > --- a/emacs/notmuch-mua.el\r
87 > +++ b/emacs/notmuch-mua.el\r
88 > @@ -338,7 +338,10 @@ modified. This function is notmuch addaptation of\r
89 >         ;; We need to convert any string input, eg from rmail-start-mail.\r
90 >         (dolist (h other-headers other-headers)\r
91 >           (if (stringp (car h)) (setcar h (intern (capitalize (car h))))))))\r
92 > -     (args (list yank-action send-actions)))\r
93 > +     (args (list yank-action send-actions))\r
94 > +     ;; Cause `message-setup-1' to do things relevant for mail,\r
95 > +     ;; such as observe `message-default-mail-headers'.\r
96 > +     (message-this-is-mail t))\r
97 >      ;; message-setup-1 in Emacs 23 does not accept return-action\r
98 >      ;; argument. Pass it only if it is supplied by the caller. This\r
99 >      ;; will never be the case when we're called by `compose-mail' in\r