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