From e40d134e25a2da24ef085ce6216fdc499ef36795 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 3 Jul 2012 15:30:47 -0600 Subject: [PATCH] notmuch-mutt: fix helper invocation for the tag action As it was before, "-inbox" was interpreted as a getopt option, rather than as a tag manipulation request. Making the action unusable. Closes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678012 --- contrib/notmuch-mutt/notmuch-mutt | 2 +- contrib/notmuch-mutt/notmuch-mutt.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt index fee165d6..7c125e6e 100755 --- a/contrib/notmuch-mutt/notmuch-mutt +++ b/contrib/notmuch-mutt/notmuch-mutt @@ -211,7 +211,7 @@ F, or a configuration snippet under F): "unset wait_keynotmuch-mutt thread~/.cache/notmuch/mutt/resultsset wait_key" \ "notmuch: reconstruct thread" macro index \ - "unset wait_keynotmuch-mutt tag -inbox" \ + "unset wait_keynotmuch-mutt tag -- -inbox" \ "notmuch: remove message from inbox" The first macro (activated by ) prompts the user for notmuch search terms diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/notmuch-mutt.rc index c0ff000b..b0a38d1a 100644 --- a/contrib/notmuch-mutt/notmuch-mutt.rc +++ b/contrib/notmuch-mutt/notmuch-mutt.rc @@ -5,5 +5,5 @@ macro index \ "unset wait_keynotmuch-mutt thread`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`set wait_key" \ "notmuch: reconstruct thread" macro index \ - "unset wait_keynotmuch-mutt tag -inbox" \ + "unset wait_keynotmuch-mutt tag -- -inbox" \ "notmuch: remove message from inbox"