From: aneesh.kumar@linux.vnet.ibm.com (Aneesh Kumar K.V)
To: notmuch <notmuch@notmuchmail.org>
Subject: [PATCH] notmuch: Add tag archive when archiving the mails
Date: Wed, 18 Nov 2009 20:47:14 +0530 [thread overview]
Message-ID: <87k4xnrhfp.fsf@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2009-11-18 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 15:17 Aneesh Kumar K.V [this message]
2009-11-18 19:07 ` [PATCH] notmuch: Add tag archive when archiving the mails Keith Packard
2009-11-18 19:50 ` Jeffrey Ollie
2009-11-18 20:17 ` Keith Packard
2009-11-18 23:51 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k4xnrhfp.fsf@linux.vnet.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).