From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 72868431FDD for ; Sat, 5 Oct 2013 20:23:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bsaxyoafJ9ET for ; Sat, 5 Oct 2013 20:23:03 -0700 (PDT) Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu [18.9.25.14]) by olra.theworths.org (Postfix) with ESMTP id 5B914431FBF for ; Sat, 5 Oct 2013 20:22:57 -0700 (PDT) X-AuditID: 1209190e-b7f828e0000009cf-ad-5250d7912b8a Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 59.3A.02511.197D0525; Sat, 5 Oct 2013 23:22:57 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id r963MrPM018344; Sat, 5 Oct 2013 23:22:54 -0400 Received: from drake.dyndns.org (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [216.15.114.40]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r963MprK024418 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 5 Oct 2013 23:22:53 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1VSevj-00037o-Ol; Sat, 05 Oct 2013 23:22:51 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 2/6] emacs: `notmuch-mua-new-reply' is also not interactive Date: Sat, 5 Oct 2013 23:22:44 -0400 Message-Id: <1381029768-11883-3-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <1381029768-11883-1-git-send-email-amdragon@mit.edu> References: <1381029768-11883-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsUixG6nrjvxekCQwcJuTovrN2cyOzB6PFt1 izmAMYrLJiU1J7MstUjfLoEro6VrC1vBLY6Kxz/vsDcwzmPvYuTkkBAwkfjyZyGULSZx4d56 ti5GLg4hgX2MEnueN7FCOBsYJeZe+skO4dxmkjh98CozhDOXUeLLmguMIP1sAhoS2/YvB7NF BKQldt6dDdTOwcEsoCbxp0sFJCws4C2x/stesHUsAqoS75qawcp5BRwkft3ezQRxhpLEwlPb WEFsTgFHic2n3oDVCAHVXF/+nHECI/8CRoZVjLIpuVW6uYmZOcWpybrFyYl5ealFusZ6uZkl eqkppZsYQWHDKcm3g/HrQaVDjAIcjEo8vDN9AoKEWBPLiitzDzFKcjApifJOvwoU4kvKT6nM SCzOiC8qzUktPsQowcGsJMLLUgCU401JrKxKLcqHSUlzsCiJ897ksA8SEkhPLEnNTk0tSC2C ycpwcChJ8IZdA2oULEpNT61Iy8wpQUgzcXCCDOcBGh4OUsNbXJCYW5yZDpE/xagoJc6bAJIQ AElklObB9cLi+hWjONArwrwVIFU8wJQA1/0KaDAT0OAoCV+QwSWJCCmpBkZWvvTC7RFzvkyp rjr4O//ax0B5lvnV2/596lvsdJs/1L5I02LSVe1u30j3K1frlPSeCF7liE3kPeSv6bNNe2vO xQxJ9VWvrfafe5kXs+jG5G3pq9cc3NrJ9FXhz/LSkowq+eqK629W8p1naZGO+JjXMHvqTqWX f+bM1+1pyjD+PFPR/V9sloASS3FGoqEWc1FxIgDlLLLExgIAAA== X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2013 03:23:08 -0000 Like `notmuch-mua-new-forward-message', this is meant to be invoked programmatically by something that can provide a reasonable query string. In fact, `notmuch-mua-new-reply's interactive specification didn't match its arguments, so it wouldn't have worked interactively. --- emacs/notmuch-mua.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index dbb0dae..f6006ee 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -340,8 +340,11 @@ the From: address first." (notmuch-mua-forward-message))) (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all) - "Invoke the notmuch reply window." - (interactive "P") + "Compose a reply to the message identified by QUERY-STRING. + +If PROMPT-FOR-SENDER is non-nil, the user will be prompted for +the From: address first. If REPLY-ALL is non-nil, the message +will be addressed to all recipients of the source message." (let ((sender (when prompt-for-sender (notmuch-mua-prompt-for-sender)))) -- 1.8.4.rc3