1 Return-Path: <aneesh.kumar@linux.vnet.ibm.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 7591A431FBC
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 07:17:19 -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 3arCpMP4J6k9 for <notmuch@notmuchmail.org>;
\r
11 Wed, 18 Nov 2009 07:17:18 -0800 (PST)
\r
12 Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5])
\r
13 by olra.theworths.org (Postfix) with ESMTP id 3E5FF431FAE
\r
14 for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 07:17:17 -0800 (PST)
\r
15 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58])
\r
16 by e28smtp05.in.ibm.com (8.14.3/8.13.1) with ESMTP id nAIFHG7s003833
\r
17 for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 20:47:16 +0530
\r
18 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67])
\r
19 by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id
\r
21 for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 20:47:16 +0530
\r
22 Received: from d28av05.in.ibm.com (loopback [127.0.0.1])
\r
23 by d28av05.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id
\r
25 for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 02:17:16 +1100
\r
26 Received: from skywalker.linux.vnet.ibm.com ([9.77.125.7])
\r
27 by d28av05.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id
\r
29 for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 02:17:15 +1100
\r
30 From: aneesh.kumar@linux.vnet.ibm.com (Aneesh Kumar K.V)
\r
31 To: notmuch <notmuch@notmuchmail.org>
\r
32 Date: Wed, 18 Nov 2009 20:47:14 +0530
\r
33 Message-ID: <87k4xnrhfp.fsf@linux.vnet.ibm.com>
\r
35 Content-Type: text/plain; charset=us-ascii
\r
36 Subject: [notmuch] [PATCH] notmuch: Add tag archive when archiving the mails
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.12
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Wed, 18 Nov 2009 15:17:19 -0000
\r
52 >From a2325b950016f39290a0c6f0d6aa3417584eb4e8 Mon Sep 17 00:00:00 2001
\r
53 From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
\r
54 Date: Wed, 18 Nov 2009 20:45:45 +0530
\r
55 Subject: [PATCH] notmuch: Add tag archive when archiving the mails
\r
57 This enables us to search for archived mails later
\r
59 Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
\r
62 1 files changed, 1 insertions(+), 0 deletions(-)
\r
64 diff --git a/notmuch.el b/notmuch.el
\r
65 index 87116f9..ec2155a 100644
\r
68 @@ -196,6 +196,7 @@ Unlike builtin `next-line' this version accepts no arguments."
\r
70 (notmuch-show-remove-tag "unread" "inbox")
\r
71 (notmuch-show-remove-tag "inbox"))
\r
72 + (notmuch-show-add-tag "archive")
\r
75 (if (not (re-search-forward notmuch-show-message-begin-regexp nil t))
\r