From: David Riebenbauer <davrieb@liegesta.at>
To: notmuch@notmuchmail.org
Subject: [PATCH] notmuch.vim: fix application of tags when advancing
Date: Fri, 21 Oct 2011 20:16:21 +0200 [thread overview]
Message-ID: <20111021181621.GA20117@liegesta.at> (raw)
When advancing to the next thread, advance tags would be removed
instead of added.
---
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 21985c7..f0bc416 100644
--- a/vim/plugin/notmuch.vim
+++ b/vim/plugin/notmuch.vim
@@ -616,7 +616,7 @@ function! s:NM_show_advance_marking_read_and_archiving()
" do this last to hide the latency
let filter = <SID>NM_combine_tags('tag:', advance_tags, 'OR', '()')
\ + ['AND', msg_top['id']]
- call map(advance_tags, '"-" . v:val')
+ call map(advance_tags, '"+" . v:val')
call <SID>NM_tag(filter, advance_tags)
endif
return
--
1.7.2.5
next reply other threads:[~2011-10-21 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-21 18:16 David Riebenbauer [this message]
2011-10-21 19:25 ` [PATCH] notmuch.vim: fix application of tags when advancing Jameson Graef Rollins
2011-10-22 5:28 ` David Riebenbauer
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=20111021181621.GA20117@liegesta.at \
--to=davrieb@liegesta.at \
--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).