1 Return-Path: <dme@dme.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 658AE431FD2
\r
6 for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:50:46 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 hsFNQJLblA35 for <notmuch@notmuchmail.org>;
\r
16 Wed, 25 Jan 2012 02:50:45 -0800 (PST)
\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
18 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id AB53A431FBC
\r
21 for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:50:45 -0800 (PST)
\r
22 Received: by werb10 with SMTP id b10so4289805wer.26
\r
23 for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:50:44 -0800 (PST)
\r
24 Received: by 10.216.136.132 with SMTP id w4mr6813461wei.53.1327488644577;
\r
25 Wed, 25 Jan 2012 02:50:44 -0800 (PST)
\r
26 Received: from hotblack-desiato.hh.sledj.net
\r
27 (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])
\r
28 by mx.google.com with ESMTPS id n5sm127073wiw.7.2012.01.25.02.50.42
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Wed, 25 Jan 2012 02:50:43 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id 6DF529FE67; Wed, 25 Jan 2012 10:50:41 +0000 (GMT)
\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,
\r
34 Notmuch Mail <notmuch@notmuchmail.org>
\r
35 Subject: Re: [PATCH v3 4/8] emacs: add message archiving functions
\r
36 In-Reply-To: <1327449983-23638-5-git-send-email-jrollins@finestructure.net>
\r
37 References: <87pqea24z0.fsf@servo.finestructure.net>
\r
38 <1327449983-23638-1-git-send-email-jrollins@finestructure.net>
\r
39 <1327449983-23638-2-git-send-email-jrollins@finestructure.net>
\r
40 <1327449983-23638-3-git-send-email-jrollins@finestructure.net>
\r
41 <1327449983-23638-4-git-send-email-jrollins@finestructure.net>
\r
42 <1327449983-23638-5-git-send-email-jrollins@finestructure.net>
\r
43 User-Agent: Notmuch/0.11+109~g03934e4 (http://notmuchmail.org) Emacs/24.0.92.1
\r
44 (x86_64-pc-linux-gnu)
\r
45 From: David Edmondson <dme@dme.org>
\r
46 Date: Wed, 25 Jan 2012 10:50:41 +0000
\r
47 Message-ID: <cun1uqonji6.fsf@hotblack-desiato.hh.sledj.net>
\r
49 Content-Type: multipart/signed; boundary="=-=-=";
\r
50 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
52 ALoCoQlopB6jjk7/4mveeo2t6Q2RrcySHrewaBYCQfndOi7QJfbv+e/9HRSfOQuFTI2iwqjGn489
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Wed, 25 Jan 2012 10:50:46 -0000
\r
68 Content-Type: text/plain
\r
69 Content-Transfer-Encoding: quoted-printable
\r
71 On Tue, 24 Jan 2012 16:06:19 -0800, Jameson Graef Rollins <jrollins@finestr=
\r
73 > This adds two new message archiving functions that parallel the thread
\r
74 > archiving functions: notmuch-show-archive-message{,-then-next}. The
\r
75 > former also takes a prefix argument to unarchive the message (ie. put
\r
78 > emacs/notmuch-show.el | 17 +++++++++++++++++
\r
79 > 1 files changed, 17 insertions(+), 0 deletions(-)
\r
81 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
82 > index 071e662..0dc594b 100644
\r
83 > --- a/emacs/notmuch-show.el
\r
84 > +++ b/emacs/notmuch-show.el
\r
85 > @@ -1590,6 +1590,23 @@ buffer."
\r
86 > (notmuch-show-archive-thread)
\r
87 > (notmuch-show-next-thread))
\r
89 > +(defun notmuch-show-archive-message (&optional unarchive)
\r
90 > + "Archive the current message.
\r
92 > +If a prefix argument is given, the message will be
\r
93 > +\"unarchived\" (ie. the \"inbox\" tag will be added instead of
\r
96 Same comments as for the previous patch - just reference "inbox"
\r
99 > + (interactive "P")
\r
101 > + (notmuch-show-add-tag "inbox")
\r
102 > + (notmuch-show-remove-tag "inbox")))
\r
104 > +(defun notmuch-show-archive-message-then-next ()
\r
105 > + "Archive the current message, then show the next open message in the c=
\r
108 > + (notmuch-show-archive-message)
\r
109 > + (notmuch-show-next-open-message))
\r
111 > (defun notmuch-show-stash-cc ()
\r
112 > "Copy CC field of current message to kill-ring."
\r
117 > _______________________________________________
\r
118 > notmuch mailing list
\r
119 > notmuch@notmuchmail.org
\r
120 > http://notmuchmail.org/mailman/listinfo/notmuch
\r
123 Content-Type: application/pgp-signature
\r
125 -----BEGIN PGP SIGNATURE-----
\r
126 Version: GnuPG v1.4.11 (GNU/Linux)
\r
128 iEYEARECAAYFAk8f3oEACgkQaezQq/BJZRYMOQCfQfjAtzgEhRUmb490noc/I890
\r
129 WLAAn0v41u724fwU6q3LEms90KZem5yS
\r
131 -----END PGP SIGNATURE-----
\r