1 Return-Path: <aaronecay@gmail.com>
\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 A9FAC421197
\r
6 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 12:13:51 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id So95lSQeh0m8 for <notmuch@notmuchmail.org>;
\r
17 Tue, 17 Jan 2012 12:13:51 -0800 (PST)
\r
18 Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com
\r
19 [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 214D9421192
\r
22 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 12:13:51 -0800 (PST)
\r
23 Received: by qadc10 with SMTP id c10so1218158qad.5
\r
24 for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 12:13:50 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type:content-transfer-encoding;
\r
28 bh=f7eCIEQQWvzA6Xp+QbjF+i57eJEZt1MUYkwzJP3vY98=;
\r
29 b=ujpS6KDUiiyXdUWp/dJAd9l5HYg8l21ZWeUvHdZ6cfjVwo1+Q5iWDOceRD4jMdUsnA
\r
30 ST54sLJ8Pb5aLl30sps0Qu5wEtlPsx8sUe8tXIK091jil3ueGg+qj/nzikNfjmipiWmm
\r
31 dsLx7ZQpOzjs/uYyMzVoNL/jfCi0/pwKX9rbA=
\r
32 Received: by 10.229.134.201 with SMTP id k9mr6889912qct.10.1326831230516;
\r
33 Tue, 17 Jan 2012 12:13:50 -0800 (PST)
\r
34 Received: from localhost (luw017.wlan.gapsa.upenn.edu. [128.91.230.146])
\r
35 by mx.google.com with ESMTPS id r17sm45627211qap.11.2012.01.17.12.13.49
\r
36 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Tue, 17 Jan 2012 12:13:49 -0800 (PST)
\r
38 From: Aaron Ecay <aaronecay@gmail.com>
\r
39 To: Jameson Graef Rollins <jrollins@finestructure.net>,
\r
40 Notmuch Mail <notmuch@notmuchmail.org>
\r
41 Subject: Re: [PATCH 3/6] emacs: add message archiving functions
\r
42 In-Reply-To: <1326823531-14549-3-git-send-email-jrollins@finestructure.net>
\r
43 References: <871uqy19yo.fsf@servo.finestructure.net>
\r
44 <1326823531-14549-1-git-send-email-jrollins@finestructure.net>
\r
45 <1326823531-14549-2-git-send-email-jrollins@finestructure.net>
\r
46 <1326823531-14549-3-git-send-email-jrollins@finestructure.net>
\r
47 User-Agent: Notmuch/0.11+62~ge41b0d3 (http://notmuchmail.org) Emacs/24.0.92.1
\r
48 (i386-apple-darwin10.8.0)
\r
49 Date: Tue, 17 Jan 2012 15:13:47 -0500
\r
50 Message-ID: <m2aa5maxz8.fsf@gmail.com>
\r
52 Content-Type: text/plain; charset=utf-8
\r
53 Content-Transfer-Encoding: quoted-printable
\r
54 X-BeenThere: notmuch@notmuchmail.org
\r
55 X-Mailman-Version: 2.1.13
\r
57 List-Id: "Use and development of the notmuch mail system."
\r
58 <notmuch.notmuchmail.org>
\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
62 List-Post: <mailto:notmuch@notmuchmail.org>
\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
66 X-List-Received-Date: Tue, 17 Jan 2012 20:13:51 -0000
\r
68 On Tue, 17 Jan 2012 10:05:28 -0800, Jameson Graef Rollins <jrollins@finestr=
\r
70 > This adds two new message archiving functions that parallel the thread
\r
71 > archiving functions: notmuch-show-archive-message{,-then-next}. The
\r
72 > former also takes a prefix argument to unarchive the message (ie. put
\r
75 > emacs/notmuch-show.el | 17 +++++++++++++++++
\r
76 > 1 files changed, 17 insertions(+), 0 deletions(-)
\r
78 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
79 > index ee9ef62..207949c 100644
\r
80 > --- a/emacs/notmuch-show.el
\r
81 > +++ b/emacs/notmuch-show.el
\r
82 > @@ -1485,6 +1485,23 @@ buffer."
\r
83 > (notmuch-show-archive-thread)
\r
84 > (notmuch-show-next-thread))
\r
86 > +(defun notmuch-show-archive-message (&optional unarchive)
\r
87 > + "Archive the current message.
\r
89 > +If a prefix argument is given, the message will be
\r
90 > +\"unarchived\" (ie. the \"inbox\" tag will be added instead of
\r
94 If this function uses the prefix arg, its interactive call should be
\r
95 =E2=80=9C(interactive "P")=E2=80=9D. This applies equally to the -thread v=
\r
97 patch 2/6, but I made the comment here because that diff doesn=E2=80=99t sh=
\r
99 the function contiguously.
\r