unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] notmuch.vim: fix application of tags when advancing
@ 2011-10-21 18:16 David Riebenbauer
  2011-10-21 19:25 ` Jameson Graef Rollins
  2011-10-22  5:28 ` David Riebenbauer
  0 siblings, 2 replies; 3+ messages in thread
From: David Riebenbauer @ 2011-10-21 18:16 UTC (permalink / raw)
  To: notmuch

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

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

end of thread, other threads:[~2011-10-22  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 18:16 [PATCH] notmuch.vim: fix application of tags when advancing David Riebenbauer
2011-10-21 19:25 ` Jameson Graef Rollins
2011-10-22  5:28 ` David Riebenbauer

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).