From: Jeff Richards <jeff@jrichards.ca>
To: notmuch@notmuchmail.org
Subject: [PATCH] notmuch.vim can now archive threads using a from the show screen
Date: Sun, 03 Apr 2011 18:46:55 -0700 [thread overview]
Message-ID: <E1Q6YsZ-0003nk-JT@fanny.gardenlogbook.com> (raw)
Implements the already shelled out function for archiving messages while looking at a message.
---
vim/plugin/notmuch.vim | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
index 67501d8..eae5297 100644
--- a/vim/plugin/notmuch.vim
+++ b/vim/plugin/notmuch.vim
@@ -507,7 +507,7 @@ function! s:NM_show_next_thread()
endfunction
function! s:NM_show_archive_thread()
- echo 'not implemented'
+ call <SID>NM_add_remove_tags(b:nm_search_words, '-', ['unread','inbox'])
endfunction
function! s:NM_show_mark_read_then_archive_thread()
--
1.7.2.3
next reply other threads:[~2011-04-04 2:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 1:46 Jeff Richards [this message]
2011-04-04 15:58 ` [PATCH] notmuch.vim can now archive threads using a from the show screen Felipe Contreras
2011-04-05 5:31 ` [PATCH v2] " Jeff Richards
2011-05-04 20:11 ` Felipe Contreras
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=E1Q6YsZ-0003nk-JT@fanny.gardenlogbook.com \
--to=jeff@jrichards.ca \
--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).