1 Return-Path: <jrollins@servo.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 38D95429E30
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 May 2011 14:52:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5
\r
12 tests=[NO_DNS_FOR_FROM=0.379, RCVD_IN_DNSWL_MED=-2.3]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id HuKxBl46KVB7 for <notmuch@notmuchmail.org>;
\r
17 Sat, 28 May 2011 14:52:26 -0700 (PDT)
\r
18 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
20 by olra.theworths.org (Postfix) with ESMTP id 1538B429E3A
\r
21 for <notmuch@notmuchmail.org>; Sat, 28 May 2011 14:52:16 -0700 (PDT)
\r
22 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
23 by earth-doxen-postvirus (Postfix) with ESMTP id 9310E66E022C;
\r
24 Sat, 28 May 2011 14:52:14 -0700 (PDT)
\r
25 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
26 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com
\r
27 [98.149.172.122]) (Authenticated sender: jrollins)
\r
28 by earth-doxen-submit (Postfix) with ESMTP id C4F0766E02C5;
\r
29 Sat, 28 May 2011 14:52:11 -0700 (PDT)
\r
30 Received: by servo.finestructure.net (Postfix, from userid 1000)
\r
31 id 51D7B90C; Sat, 28 May 2011 14:52:05 -0700 (PDT)
\r
32 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
33 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
34 Subject: [PATCH 20/25] emacs: Don't always prompt for the "From" address when
\r
36 Date: Sat, 28 May 2011 14:51:55 -0700
\r
37 Message-Id: <1306619520-25730-21-git-send-email-jrollins@finestructure.net>
\r
38 X-Mailer: git-send-email 1.7.4.4
\r
39 In-Reply-To: <1306619520-25730-20-git-send-email-jrollins@finestructure.net>
\r
40 References: <1306619520-25730-1-git-send-email-jrollins@finestructure.net>
\r
41 <1306619520-25730-2-git-send-email-jrollins@finestructure.net>
\r
42 <1306619520-25730-3-git-send-email-jrollins@finestructure.net>
\r
43 <1306619520-25730-4-git-send-email-jrollins@finestructure.net>
\r
44 <1306619520-25730-5-git-send-email-jrollins@finestructure.net>
\r
45 <1306619520-25730-6-git-send-email-jrollins@finestructure.net>
\r
46 <1306619520-25730-7-git-send-email-jrollins@finestructure.net>
\r
47 <1306619520-25730-8-git-send-email-jrollins@finestructure.net>
\r
48 <1306619520-25730-9-git-send-email-jrollins@finestructure.net>
\r
49 <1306619520-25730-10-git-send-email-jrollins@finestructure.net>
\r
50 <1306619520-25730-11-git-send-email-jrollins@finestructure.net>
\r
51 <1306619520-25730-12-git-send-email-jrollins@finestructure.net>
\r
52 <1306619520-25730-13-git-send-email-jrollins@finestructure.net>
\r
53 <1306619520-25730-14-git-send-email-jrollins@finestructure.net>
\r
54 <1306619520-25730-15-git-send-email-jrollins@finestructure.net>
\r
55 <1306619520-25730-16-git-send-email-jrollins@finestructure.net>
\r
56 <1306619520-25730-17-git-send-email-jrollins@finestructure.net>
\r
57 <1306619520-25730-18-git-send-email-jrollins@finestructure.net>
\r
58 <1306619520-25730-19-git-send-email-jrollins@finestructure.net>
\r
59 <1306619520-25730-20-git-send-email-jrollins@finestructure.net>
\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: Sat, 28 May 2011 21:52:27 -0000
\r
74 From: Thomas Jost <schnouki@schnouki.net>
\r
76 When replying, the From: address is already filled in by notmuch reply, so most
\r
77 of the time there is no need to prompt the user for it.
\r
79 emacs/notmuch-mua.el | 7 +++++--
\r
80 1 files changed, 5 insertions(+), 2 deletions(-)
\r
82 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
83 index 7c05a81..556d2bf 100644
\r
84 --- a/emacs/notmuch-mua.el
\r
85 +++ b/emacs/notmuch-mua.el
\r
86 @@ -155,7 +155,10 @@ name and addresses configured in the notmuch configuration file."
\r
87 :type '(repeat string))
\r
89 (defcustom notmuch-always-prompt-for-sender nil
\r
90 - "Always prompt for the From: address when composing a new message."
\r
91 + "Always prompt for the From: address when composing or forwarding a message.
\r
93 +This is not taken into account when replying to a message, because in that case
\r
94 +the From: header is already filled in by notmuch."
\r
98 @@ -203,7 +206,7 @@ the From: address first."
\r
99 "Invoke the notmuch reply window."
\r
102 - (when (or prompt-for-sender notmuch-always-prompt-for-sender)
\r
103 + (when prompt-for-sender
\r
104 (notmuch-mua-prompt-for-sender))))
\r
105 (notmuch-mua-reply query-string sender)))
\r