[notmuch] [PATCH 5/9] Forward individual messages using message-forward
authorcamalot <camalot@picnicpark.org>
Fri, 27 Nov 2009 13:30:11 +0000 (05:30 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:44 +0000 (09:35 -0800)
ce/67021a2f25fa293857d0b201159577b87f4637 [new file with mode: 0644]

diff --git a/ce/67021a2f25fa293857d0b201159577b87f4637 b/ce/67021a2f25fa293857d0b201159577b87f4637
new file mode 100644 (file)
index 0000000..f49a8f5
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <camalot@picnicpark.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C6A23431FDE\r
+       for <notmuch@notmuchmail.org>; Fri, 27 Nov 2009 05:30:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id kwAe2tdKr3LY for <notmuch@notmuchmail.org>;\r
+       Fri, 27 Nov 2009 05:30:43 -0800 (PST)\r
+Received: from mout.perfora.net (mout.perfora.net [74.208.4.194])\r
+       by olra.theworths.org (Postfix) with ESMTP id 015E8431FC9\r
+       for <notmuch@notmuchmail.org>; Fri, 27 Nov 2009 05:30:43 -0800 (PST)\r
+Received: from vps.nicira.com (66.7.219.28.static.dimenoc.com [66.7.219.28])\r
+       by mx.perfora.net (node=mxus2) with ESMTP (Nemesis)\r
+       id 0MQQGS-1Nb5B8185U-00UDWL for notmuch@notmuchmail.org;\r
+       Fri, 27 Nov 2009 08:30:42 -0500\r
+Received: from [76.210.240.177] (port=36297 helo=kea-nicira-lt)\r
+       by vps.nicira.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69)\r
+       (envelope-from <camalot@picnicpark.org>)\r
+       id 1NE0uG-0004EM-Id; Fri, 27 Nov 2009 08:30:41 -0500\r
+Received: by kea-nicira-lt (sSMTP sendmail emulation);\r
+       Fri, 27 Nov 2009 05:30:39 -0800\r
+From: camalot@picnicpark.org\r
+To: notmuch@notmuchmail.org\r
+Date: Fri, 27 Nov 2009 05:30:11 -0800\r
+Message-Id: <1259328615-1445-6-git-send-email-camalot@picnicpark.org>\r
+X-Mailer: git-send-email 1.6.5.3\r
+In-Reply-To: <1259328615-1445-5-git-send-email-camalot@picnicpark.org>\r
+References: <1259328615-1445-1-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-2-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-3-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-4-git-send-email-camalot@picnicpark.org>\r
+       <1259328615-1445-5-git-send-email-camalot@picnicpark.org>\r
+X-AntiAbuse: This header was added to track abuse,\r
+       please include it with any abuse report\r
+X-AntiAbuse: Primary Hostname - vps.nicira.com\r
+X-AntiAbuse: Original Domain - notmuchmail.org\r
+X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]\r
+X-AntiAbuse: Sender Address Domain - picnicpark.org\r
+X-Source: \r
+X-Source-Args: \r
+X-Source-Dir: \r
+Cc: Keith Amidon <keith@nicira.com>\r
+Subject: [notmuch] [PATCH 5/9] Forward individual messages using\r
+       message-forward\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 27 Nov 2009 13:30:44 -0000\r
+\r
+From: Keith Amidon <keith@nicira.com>\r
+\r
+Sometimes forwarding a message is preferable to replying and modifying\r
+the set of recipients.  This commit provides that ability using the\r
+message-forward function.\r
+---\r
+ notmuch.el |    7 +++++++\r
+ 1 files changed, 7 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/notmuch.el b/notmuch.el\r
+index a71a9f7..d3d75f9 100644\r
+--- a/notmuch.el\r
++++ b/notmuch.el\r
+@@ -62,6 +62,7 @@\r
+     ; overlays-at to query and manipulate the current overlay.\r
+     (define-key map "a" 'notmuch-show-archive-thread)\r
+     (define-key map "A" 'notmuch-show-mark-read-then-archive-thread)\r
++    (define-key map "f" 'notmuch-show-forward-current)\r
+     (define-key map "m" 'message-mail)\r
+     (define-key map "n" 'notmuch-show-next-message)\r
+     (define-key map "N" 'notmuch-show-mark-read-then-next-open-message)\r
+@@ -316,6 +317,12 @@ buffer."\r
+   (let ((message-id (notmuch-show-get-message-id)))\r
+     (notmuch-reply message-id)))\r
\r
++(defun notmuch-show-forward-current ()\r
++  "Forward a the current message."\r
++  (interactive)\r
++  (with-current-notmuch-show-message\r
++   (message-forward)))\r
++\r
+ (defun notmuch-show-pipe-message (command)\r
+   "Pipe the contents of the current message to the given command.\r
\r
+-- \r
+1.6.5.3\r
+\r