1 Return-Path: <sojkam1@fel.cvut.cz>
\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 4FF946DE025F
\r
6 for <notmuch@notmuchmail.org>; Sun, 1 May 2016 01:46:58 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-1.62 tagged_above=-999 required=5 tests=[AWL=0.690,
\r
12 RCVD_IN_DNSWL_MED=-2.3,
\r
13 T_RP_MATCHES_RCVD=-0.01] 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 wLD3VhdbV5q8 for <notmuch@notmuchmail.org>;
\r
17 Sun, 1 May 2016 01:46:49 -0700 (PDT)
\r
18 X-Greylist: delayed 504 seconds by postgrey-1.35 at arlo;
\r
19 Sun, 01 May 2016 01:46:49 PDT
\r
20 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
21 by arlo.cworth.org (Postfix) with ESMTP id 5262B6DE01BE
\r
22 for <notmuch@notmuchmail.org>; Sun, 1 May 2016 01:46:49 -0700 (PDT)
\r
23 Received: from localhost (unknown [192.168.200.7])
\r
24 by max.feld.cvut.cz (Postfix) with ESMTP id 513AD5CD7FC;
\r
25 Sun, 1 May 2016 10:38:23 +0200 (CEST)
\r
26 X-Virus-Scanned: IMAP STYX AMAVIS
\r
27 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
28 by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, port 10044)
\r
29 with ESMTP id zuTW4glYTXiP; Sun, 1 May 2016 10:38:21 +0200 (CEST)
\r
30 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
31 by max.feld.cvut.cz (Postfix) with ESMTP id 8C3E05CD7EF;
\r
32 Sun, 1 May 2016 10:38:20 +0200 (CEST)
\r
33 Received: from wsh by steelpick.2x.cz with local (Exim 4.87)
\r
34 (envelope-from <sojkam1@fel.cvut.cz>)
\r
35 id 1awmtO-0007UM-Ng; Sun, 01 May 2016 10:38:18 +0200
\r
36 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
37 To: David Edmondson <dme@dme.org>, sfischme@uwaterloo.ca,
\r
38 Notmuch Mail <notmuch@notmuchmail.org>
\r
39 Subject: Re: message-default-mail-headers not working in notmuch 0.22
\r
40 In-Reply-To: <m2shy4eb6z.fsf@dme.org>
\r
41 References: <87y47wmsfi.fsf@uwaterloo.ca> <m2shy4eb6z.fsf@dme.org>
\r
42 User-Agent: Notmuch/0.21+30~g55c056a (http://notmuchmail.org) Emacs/24.5.1
\r
43 (x86_64-pc-linux-gnu)
\r
44 Date: Sun, 01 May 2016 10:38:18 +0200
\r
45 Message-ID: <87y47utbph.fsf@steelpick.2x.cz>
\r
47 Content-Type: text/plain
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.20
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Sun, 01 May 2016 08:46:58 -0000
\r
62 On Fri, Apr 29 2016, David Edmondson wrote:
\r
63 > On Fri, Apr 29 2016, Sebastian Fischmeister wrote:
\r
64 >> After upgrading to notmuch 0.22, my emacs config seems broken:
\r
66 >> (setq message-default-mail-headers "Reply-to: me@example.com\nBcc: me@example.com")
\r
68 >> When creating a new mail, it has no header other than "To:" and
\r
71 >> Since I cannot find any item in the NEWS related to this release, is
\r
72 >> this expected behaviour?
\r
74 > No, it's not intended. Please try this patch:
\r
76 > diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
77 > index 0445975..399e138 100644
\r
78 > --- a/emacs/notmuch-mua.el
\r
79 > +++ b/emacs/notmuch-mua.el
\r
80 > @@ -338,7 +338,10 @@ modified. This function is notmuch addaptation of
\r
81 > ;; We need to convert any string input, eg from rmail-start-mail.
\r
82 > (dolist (h other-headers other-headers)
\r
83 > (if (stringp (car h)) (setcar h (intern (capitalize (car h))))))))
\r
84 > - (args (list yank-action send-actions)))
\r
85 > + (args (list yank-action send-actions))
\r
86 > + ;; Cause `message-setup-1' to do things relevant for mail,
\r
87 > + ;; such as observe `message-default-mail-headers'.
\r
88 > + (message-this-is-mail t))
\r
90 Yes, this seems to be reasonable thing to do. Thanks.
\r