Package: notmuch-vim
Version: 0.6
Severity: normal

There's a typo in one case in notmuch.vim where the space key
(which is supposed to archive and mark as read) instead adds the
message to your inbox and marks it unread.

Attached is a patch.

Thank you,   - Jason


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages notmuch-vim depends on:
ii  notmuch                       0.6        thread-based email index, search a
ii  vim-addon-manager             0.4.3      manager of addons for the Vim edit

notmuch-vim recommends no packages.

notmuch-vim suggests no packages.

-- no debconf information
diff --git a/notmuch.vim b/notmuch.vim
index c731c47..d8b4883 100644
--- a/notmuch.vim
+++ b/notmuch.vim
@@ -596,7 +596,7 @@ function! s:NM_show_advance_marking_read_and_archiving()
                 let filter = <SID>NM_combine_tags('tag:', advance_tags, 'OR', '()')
                          \ + ['AND']
                          \ + <SID>NM_combine_tags('', ids, 'OR', '()')
-                call map(advance_tags, '"+" . v:val')
+                call map(advance_tags, '"-" . v:val')
                 call <SID>NM_tag(filter, advance_tags)
                 call <SID>NM_show_next(1, 1)
                 return

Reply via email to