unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] notmuch: Add tag archive when archiving the mails
@ 2009-11-18 15:17 Aneesh Kumar K.V
  2009-11-18 19:07 ` Keith Packard
  0 siblings, 1 reply; 5+ messages in thread
From: Aneesh Kumar K.V @ 2009-11-18 15:17 UTC (permalink / raw)
  To: notmuch


From a2325b950016f39290a0c6f0d6aa3417584eb4e8 Mon Sep 17 00:00:00 2001
From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
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 <aneesh.kumar@linux.vnet.ibm.com>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-18 23:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 15:17 [PATCH] notmuch: Add tag archive when archiving the mails Aneesh Kumar K.V
2009-11-18 19:07 ` Keith Packard
2009-11-18 19:50   ` Jeffrey Ollie
2009-11-18 20:17     ` Keith Packard
2009-11-18 23:51     ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).