[notmuch] [PATCH] notmuch: Add tag archive when archiving the mails
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 18 Nov 2009 15:17:14 +0000 (20:47 +0530)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:36 +0000 (09:35 -0800)
bb/5c700e8d94fb90027faa5d875ac1c5273d880c [new file with mode: 0644]

diff --git a/bb/5c700e8d94fb90027faa5d875ac1c5273d880c b/bb/5c700e8d94fb90027faa5d875ac1c5273d880c
new file mode 100644 (file)
index 0000000..cb7a15e
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <aneesh.kumar@linux.vnet.ibm.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7591A431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 07:17:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 3arCpMP4J6k9 for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Nov 2009 07:17:18 -0800 (PST)\r
+Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3E5FF431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 07:17:17 -0800 (PST)\r
+Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58])\r
+       by e28smtp05.in.ibm.com (8.14.3/8.13.1) with ESMTP id nAIFHG7s003833\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 20:47:16 +0530\r
+Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67])\r
+       by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id\r
+       nAIFHGSI2715758\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Nov 2009 20:47:16 +0530\r
+Received: from d28av05.in.ibm.com (loopback [127.0.0.1])\r
+       by d28av05.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id\r
+       nAIFHGSn005478\r
+       for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 02:17:16 +1100\r
+Received: from skywalker.linux.vnet.ibm.com ([9.77.125.7])\r
+       by d28av05.in.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id\r
+       nAIFHF0e005470\r
+       for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 02:17:15 +1100\r
+From: aneesh.kumar@linux.vnet.ibm.com (Aneesh Kumar K.V)\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Date: Wed, 18 Nov 2009 20:47:14 +0530\r
+Message-ID: <87k4xnrhfp.fsf@linux.vnet.ibm.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: [notmuch] [PATCH] notmuch: Add tag archive when archiving the mails\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Nov 2009 15:17:19 -0000\r
+\r
+\r
+>From a2325b950016f39290a0c6f0d6aa3417584eb4e8 Mon Sep 17 00:00:00 2001\r
+From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\r
+Date: Wed, 18 Nov 2009 20:45:45 +0530\r
+Subject: [PATCH] notmuch: Add tag archive when archiving the mails\r
+\r
+This enables us to search for archived mails later\r
+\r
+Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>\r
+---\r
+ notmuch.el |    1 +\r
+ 1 files changed, 1 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/notmuch.el b/notmuch.el\r
+index 87116f9..ec2155a 100644\r
+--- a/notmuch.el\r
++++ b/notmuch.el\r
+@@ -196,6 +196,7 @@ Unlike builtin `next-line' this version accepts no arguments."\r
+       (if markread\r
+         (notmuch-show-remove-tag "unread" "inbox")\r
+       (notmuch-show-remove-tag "inbox"))\r
++      (notmuch-show-add-tag "archive")\r
+       (if (not (eobp))\r
+         (forward-char))\r
+       (if (not (re-search-forward notmuch-show-message-begin-regexp nil t))\r
+-- \r
+1.6.5.2.74.g610f9\r
+\r