1 Return-Path: <pieter@praet.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 E6DC6431FD0
\r
6 for <notmuch@notmuchmail.org>; Sat, 2 Jul 2011 08:53:58 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 9S8DQEegDSVK for <notmuch@notmuchmail.org>;
\r
16 Sat, 2 Jul 2011 08:53:58 -0700 (PDT)
\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 55DA1431FB6
\r
21 for <notmuch@notmuchmail.org>; Sat, 2 Jul 2011 08:53:58 -0700 (PDT)
\r
22 Received: by wyh22 with SMTP id 22so3100699wyh.26
\r
23 for <notmuch@notmuchmail.org>; Sat, 02 Jul 2011 08:53:56 -0700 (PDT)
\r
24 Received: by 10.216.235.33 with SMTP id t33mr3829546weq.6.1309622036853;
\r
25 Sat, 02 Jul 2011 08:53:56 -0700 (PDT)
\r
26 Received: from localhost (91.216-242-81.adsl-dyn.isp.belgacom.be
\r
28 by mx.google.com with ESMTPS id w62sm2109826wec.18.2011.07.02.08.53.55
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Sat, 02 Jul 2011 08:53:56 -0700 (PDT)
\r
31 From: Pieter Praet <pieter@praet.org>
\r
32 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: Possible bug: wrong from address when forwarding
\r
34 In-Reply-To: <BANLkTi=uUqGLNeTGriKqDKex6AuUjYzYOQ@mail.gmail.com>
\r
35 References: <BANLkTi=uUqGLNeTGriKqDKex6AuUjYzYOQ@mail.gmail.com>
\r
36 User-Agent: Notmuch/0.5-315-g34bd5eb (http://notmuchmail.org) Emacs/23.1.50.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Sat, 02 Jul 2011 17:53:53 +0200
\r
39 Message-ID: <87oc1cn0fi.fsf@praet.org>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Sat, 02 Jul 2011 15:53:59 -0000
\r
58 Either enable `notmuch-always-prompt-for-sender', or apply this
\r
59 quick-fix patch, which uses `name' and `primary_email' as configured
\r
60 in your .notmuch-config if aforementioned isn't enabled.
\r
62 emacs/notmuch-mua.el | 4 +++-
\r
63 1 files changed, 3 insertions(+), 1 deletions(-)
\r
65 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
66 index 274c5da..27c6884 100644
\r
67 --- a/emacs/notmuch-mua.el
\r
68 +++ b/emacs/notmuch-mua.el
\r
69 @@ -213,7 +213,9 @@ the From: address first."
\r
70 (user-full-name (car address-components))
\r
71 (user-mail-address (cadr address-components)))
\r
72 (notmuch-mua-forward-message))
\r
73 - (notmuch-mua-forward-message)))
\r
74 + (let* ((user-full-name (notmuch-user-name))
\r
75 + (user-mail-address (notmuch-user-primary-email)))
\r
76 + (notmuch-mua-forward-message))))
\r
78 (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender)
\r
79 "Invoke the notmuch reply window."
\r