Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 09336431FCF for ; Fri, 27 Nov 2009 05:30:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 3rmGEgrx5bv2 for ; Fri, 27 Nov 2009 05:30:56 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by olra.theworths.org (Postfix) with ESMTP id 6A305431FC3 for ; Fri, 27 Nov 2009 05:30:56 -0800 (PST) Received: from vps.nicira.com (66.7.219.28.static.dimenoc.com [66.7.219.28]) by mx.perfora.net (node=mxus0) with ESMTP (Nemesis) id 0MN2S8-1NGClr2ogq-007EH5 for notmuch@notmuchmail.org; Fri, 27 Nov 2009 08:30:55 -0500 Received: from [76.210.240.177] (port=36298 helo=kea-nicira-lt) by vps.nicira.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NE0uK-0004Y3-VZ; Fri, 27 Nov 2009 08:30:53 -0500 Received: by kea-nicira-lt (sSMTP sendmail emulation); Fri, 27 Nov 2009 05:30:41 -0800 From: camalot@picnicpark.org To: notmuch@notmuchmail.org Date: Fri, 27 Nov 2009 05:30:12 -0800 Message-Id: <1259328615-1445-7-git-send-email-camalot@picnicpark.org> X-Mailer: git-send-email 1.6.5.3 In-Reply-To: <1259328615-1445-6-git-send-email-camalot@picnicpark.org> References: <1259328615-1445-1-git-send-email-camalot@picnicpark.org> <1259328615-1445-2-git-send-email-camalot@picnicpark.org> <1259328615-1445-3-git-send-email-camalot@picnicpark.org> <1259328615-1445-4-git-send-email-camalot@picnicpark.org> <1259328615-1445-5-git-send-email-camalot@picnicpark.org> <1259328615-1445-6-git-send-email-camalot@picnicpark.org> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.nicira.com X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - picnicpark.org X-Source: X-Source-Args: X-Source-Dir: Cc: Keith Amidon Subject: [notmuch] [PATCH 6/9] Reply to individual messages using message library X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Fri, 27 Nov 2009 13:30:57 -0000 From: Keith Amidon As an alternative to creating a reply from the current thread, this commit provides functions to create replies directly in emacs using the message library. A future commit will provide keybindings so that they are easy to change if a different set is preferred. --- notmuch.el | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index d3d75f9..fe20b54 100644 --- a/notmuch.el +++ b/notmuch.el @@ -323,6 +323,21 @@ buffer." (with-current-notmuch-show-message (message-forward))) +(defun notmuch-show-reply-current () + (interactive) + (with-current-notmuch-show-message + (message-reply))) + +(defun notmuch-show-wide-reply-current () + (interactive) + (with-current-notmuch-show-message + (message-wide-reply))) + +(defun notmuch-show-followup-current () + (interactive) + (with-current-notmuch-show-message + (message-followup))) + (defun notmuch-show-pipe-message (command) "Pipe the contents of the current message to the given command. -- 1.6.5.3