1 Return-Path: <amdragon@mit.edu>
\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 305FD431FD8
\r
6 for <notmuch@notmuchmail.org>; Sat, 5 Oct 2013 20:23:32 -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 vhi9vboSxaXX for <notmuch@notmuchmail.org>;
\r
16 Sat, 5 Oct 2013 20:23:28 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 0A978431FDC
\r
20 for <notmuch@notmuchmail.org>; Sat, 5 Oct 2013 20:23:05 -0700 (PDT)
\r
21 X-AuditID: 12074424-b7f528e0000009aa-a8-5250d799c861
\r
22 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36])
\r
23 by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 37.71.02474.997D0525; Sat, 5 Oct 2013 23:23:05 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
26 by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r963MsIC012801;
\r
27 Sat, 5 Oct 2013 23:22:54 -0400
\r
28 Received: from drake.dyndns.org
\r
29 (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com
\r
30 [216.15.114.40]) (authenticated bits=0)
\r
31 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
32 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r963Mpag024417
\r
33 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
34 Sat, 5 Oct 2013 23:22:53 -0400
\r
35 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
36 (envelope-from <amdragon@mit.edu>)
\r
37 id 1VSevj-00037m-Nx; Sat, 05 Oct 2013 23:22:51 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 1/6] emacs: `notmuch-mua-new-forward-message' is not
\r
42 Date: Sat, 5 Oct 2013 23:22:43 -0400
\r
43 Message-Id: <1381029768-11883-2-git-send-email-amdragon@mit.edu>
\r
44 X-Mailer: git-send-email 1.8.4.rc3
\r
45 In-Reply-To: <1381029768-11883-1-git-send-email-amdragon@mit.edu>
\r
46 References: <1381029768-11883-1-git-send-email-amdragon@mit.edu>
\r
47 X-Brightmail-Tracker:
\r
48 H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6nojvzekCQQeN2JYvrN2cyOzB6PFt1
\r
49 izmAMYrLJiU1J7MstUjfLoEr43l7C1vBNs6Ku4snsjYwfmbvYuTkkBAwkfj94CMLhC0mceHe
\r
50 ejYQW0hgH6PE/O+GXYxcQPYGRom2pesYIZzbTBJTHr1hh3DmMko8eLKAEaSFTUBDYtv+5WC2
\r
51 iIC0xM67s1m7GDk4mAXUJP50qYCEhQUCJN7umMoEYrMIqEpsuH+HFcTmFXCQmNLYxgZxhZLE
\r
52 wlPbwOKcAo4Sm0+9YYS4yEHi+vLnjBMY+RcwMqxilE3JrdLNTczMKU5N1i1OTszLSy3SNdfL
\r
53 zSzRS00p3cQIDhoXlR2MzYeUDjEKcDAq8fDO9AkIEmJNLCuuzD3EKMnBpCTKO/0qUIgvKT+l
\r
54 MiOxOCO+qDQntfgQowQHs5IIL0sBUI43JbGyKrUoHyYlzcGiJM57i8M+SEggPbEkNTs1tSC1
\r
55 CCYrw8GhJMF75hpQo2BRanpqRVpmTglCmomDE2Q4D9DwSyA1vMUFibnFmekQ+VOMilLivLNB
\r
56 EgIgiYzSPLheWFS/YhQHekWYdztIFQ8wIcB1vwIazAQ0OErCF2RwSSJCSqqBMbXjYm3zz5pZ
\r
57 rznO9+2ZcYf/V8Kfi1+3VacszjD7133gYxLzqVnebNpnWDfI2wqus9759ueGrFudFxmn3JYM
\r
58 0ko/0O5dn9TUXjUnkff8uclnTkxc28rX0XOodrOlk7JbcO3qt6fa67IFP9b0XPS4bPqIY6FS
\r
59 zimfw6yua66amPIZnTVY8ifyoBJLcUaioRZzUXEiAKyp+C/FAgAA
\r
60 X-BeenThere: notmuch@notmuchmail.org
\r
61 X-Mailman-Version: 2.1.13
\r
63 List-Id: "Use and development of the notmuch mail system."
\r
64 <notmuch.notmuchmail.org>
\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
68 List-Post: <mailto:notmuch@notmuchmail.org>
\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
71 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
72 X-List-Received-Date: Sun, 06 Oct 2013 03:23:32 -0000
\r
74 `notmuch-mua-new-forward-message' must be called from a buffer
\r
75 containing a raw RFC2822-formatted message to forward. Hence, it's
\r
76 intended to be invoked programmatically through something else that
\r
77 sets up this buffer (like `notmuch-show-forward-message'), not
\r
80 Remove its interactive specification and update the documentation
\r
81 string to mention the requirements on the current buffer.
\r
83 emacs/notmuch-mua.el | 3 ++-
\r
84 1 file changed, 2 insertions(+), 1 deletion(-)
\r
86 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
87 index d41c0b3..dbb0dae 100644
\r
88 --- a/emacs/notmuch-mua.el
\r
89 +++ b/emacs/notmuch-mua.el
\r
90 @@ -327,9 +327,10 @@ the From: address first."
\r
91 (defun notmuch-mua-new-forward-message (&optional prompt-for-sender)
\r
92 "Invoke the notmuch message forwarding window.
\r
94 +The current buffer must contain an RFC2822 message to forward.
\r
96 If PROMPT-FOR-SENDER is non-nil, the user will be prompted for
\r
97 the From: address first."
\r
99 (if (or prompt-for-sender notmuch-always-prompt-for-sender)
\r
100 (let* ((sender (notmuch-mua-prompt-for-sender))
\r
101 (address-components (mail-extract-address-components sender))
\r