[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / a8 / 49541fe426d15b45197d607405737a3fe4def9
1 Return-Path: <jrollins@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 E3E6B40AD7A\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:14 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id kGSKWfqB3fA2 for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Jan 2012 17:27:12 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 88AF340F1D5\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:05 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 1527A66E00B6\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:27:05 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 0D32D66E00E2\r
28         for <notmuch@notmuchmail.org>; Sat,  7 Jan 2012 17:26:59 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 78E4829C; Sat,  7 Jan 2012 17:26:58 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH 1/4] emacs: add show-mode functions to archive/delete only\r
34         current message\r
35 Date: Sat,  7 Jan 2012 17:26:52 -0800\r
36 Message-Id: <1325986015-22510-2-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.7.3\r
38 In-Reply-To: <1325986015-22510-1-git-send-email-jrollins@finestructure.net>\r
39 References: <1325975294-646-4-git-send-email-jrollins@finestructure.net>\r
40         <1325986015-22510-1-git-send-email-jrollins@finestructure.net>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 08 Jan 2012 01:27:15 -0000\r
54 \r
55 This adds two new function, notmuch-show-{archive,delete}-message,\r
56 that archive/delete the current message, and then move to the next\r
57 open one.\r
58 ---\r
59  emacs/notmuch-show.el |   24 ++++++++++++++++++++++++\r
60  1 files changed, 24 insertions(+), 0 deletions(-)\r
61 \r
62 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
63 index e1d15f4..8bb052e 100644\r
64 --- a/emacs/notmuch-show.el\r
65 +++ b/emacs/notmuch-show.el\r
66 @@ -1436,6 +1436,18 @@ argument, hide all of the messages."\r
67             (if show-next\r
68                 (notmuch-search-show-thread)))))))\r
69  \r
70 +(defun notmuch-show-archive-message ()\r
71 +  "Archive the current message and advance.\r
72 +\r
73 +After the last message is reached, either the buffer will be\r
74 +closed and the cursor will move to the search result if\r
75 +available, or the cursor will move to the end of the current\r
76 +thread.\r
77 +"\r
78 +    (interactive)\r
79 +    (notmuch-show-remove-tag "inbox")\r
80 +    (notmuch-show-next-open-message)))\r
81 +\r
82  (defun notmuch-show-archive-thread ()\r
83    "Archive each message in thread, then show next thread from search.\r
84  \r
85 @@ -1455,6 +1467,18 @@ buffer."\r
86    (interactive)\r
87    (notmuch-show-tag-thread-internal "-" "inbox" nil))\r
88  \r
89 +(defun notmuch-show-delete-message ()\r
90 +  "Delete the current message and advance.\r
91 +\r
92 +After the last message is reached, either the buffer will be\r
93 +closed and the cursor will move to the search result if\r
94 +available, or the cursor will move to the end of the current\r
95 +thread.\r
96 +"\r
97 +    (interactive)\r
98 +    (notmuch-show-add-tag "deleted")\r
99 +    (notmuch-show-next-open-message)))\r
100 +\r
101  (defun notmuch-show-delete-thread ()\r
102    "Delete each message in thread, then show next thread from search.\r
103  \r
104 -- \r
105 1.7.7.3\r
106 \r