[PATCH 11/13] emacs: remove no longer used functions from notmuch-show.el
[notmuch-archives.git] / c6 / 2700edb194c65ff691ea2cadcdf26348d7296a
1 Return-Path: <camalot@picnicpark.org>\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 09336431FCF\r
6         for <notmuch@notmuchmail.org>; Fri, 27 Nov 2009 05:30:57 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id 3rmGEgrx5bv2 for <notmuch@notmuchmail.org>;\r
11         Fri, 27 Nov 2009 05:30:56 -0800 (PST)\r
12 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])\r
13         by olra.theworths.org (Postfix) with ESMTP id 6A305431FC3\r
14         for <notmuch@notmuchmail.org>; Fri, 27 Nov 2009 05:30:56 -0800 (PST)\r
15 Received: from vps.nicira.com (66.7.219.28.static.dimenoc.com [66.7.219.28])\r
16         by mx.perfora.net (node=mxus0) with ESMTP (Nemesis)\r
17         id 0MN2S8-1NGClr2ogq-007EH5 for notmuch@notmuchmail.org;\r
18         Fri, 27 Nov 2009 08:30:55 -0500\r
19 Received: from [76.210.240.177] (port=36298 helo=kea-nicira-lt)\r
20         by vps.nicira.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69)\r
21         (envelope-from <camalot@picnicpark.org>)\r
22         id 1NE0uK-0004Y3-VZ; Fri, 27 Nov 2009 08:30:53 -0500\r
23 Received: by kea-nicira-lt (sSMTP sendmail emulation);\r
24         Fri, 27 Nov 2009 05:30:41 -0800\r
25 From: camalot@picnicpark.org\r
26 To: notmuch@notmuchmail.org\r
27 Date: Fri, 27 Nov 2009 05:30:12 -0800\r
28 Message-Id: <1259328615-1445-7-git-send-email-camalot@picnicpark.org>\r
29 X-Mailer: git-send-email 1.6.5.3\r
30 In-Reply-To: <1259328615-1445-6-git-send-email-camalot@picnicpark.org>\r
31 References: <1259328615-1445-1-git-send-email-camalot@picnicpark.org>\r
32         <1259328615-1445-2-git-send-email-camalot@picnicpark.org>\r
33         <1259328615-1445-3-git-send-email-camalot@picnicpark.org>\r
34         <1259328615-1445-4-git-send-email-camalot@picnicpark.org>\r
35         <1259328615-1445-5-git-send-email-camalot@picnicpark.org>\r
36         <1259328615-1445-6-git-send-email-camalot@picnicpark.org>\r
37 X-AntiAbuse: This header was added to track abuse,\r
38         please include it with any abuse report\r
39 X-AntiAbuse: Primary Hostname - vps.nicira.com\r
40 X-AntiAbuse: Original Domain - notmuchmail.org\r
41 X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]\r
42 X-AntiAbuse: Sender Address Domain - picnicpark.org\r
43 X-Source: \r
44 X-Source-Args: \r
45 X-Source-Dir: \r
46 Cc: Keith Amidon <keith@nicira.com>\r
47 Subject: [notmuch] [PATCH 6/9] Reply to individual messages using message\r
48         library\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.12\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Fri, 27 Nov 2009 13:30:57 -0000\r
62 \r
63 From: Keith Amidon <keith@nicira.com>\r
64 \r
65 As an alternative to creating a reply from the current thread, this\r
66 commit provides functions to create replies directly in emacs using\r
67 the message library.\r
68 \r
69 A future commit will provide keybindings so that they are easy to\r
70 change if a different set is preferred.\r
71 ---\r
72  notmuch.el |   15 +++++++++++++++\r
73  1 files changed, 15 insertions(+), 0 deletions(-)\r
74 \r
75 diff --git a/notmuch.el b/notmuch.el\r
76 index d3d75f9..fe20b54 100644\r
77 --- a/notmuch.el\r
78 +++ b/notmuch.el\r
79 @@ -323,6 +323,21 @@ buffer."\r
80    (with-current-notmuch-show-message\r
81     (message-forward)))\r
82  \r
83 +(defun notmuch-show-reply-current ()\r
84 +  (interactive)\r
85 +  (with-current-notmuch-show-message\r
86 +   (message-reply)))\r
87 +\r
88 +(defun notmuch-show-wide-reply-current ()\r
89 +  (interactive)\r
90 +  (with-current-notmuch-show-message\r
91 +   (message-wide-reply)))\r
92 +\r
93 +(defun notmuch-show-followup-current ()\r
94 +  (interactive)\r
95 +  (with-current-notmuch-show-message\r
96 +   (message-followup)))\r
97 +\r
98  (defun notmuch-show-pipe-message (command)\r
99    "Pipe the contents of the current message to the given command.\r
100  \r
101 -- \r
102 1.6.5.3\r
103 \r