]> projects.mako.cc - muttjump/blobdiff - muttjump
quote Message-ID in mutt search expression (double!!)
[muttjump] / muttjump
index fb9bde09f22d96c0bbc60f7ac39b249a6eeaec75..cd1b0062099eae5bcf685e42f7980ecc772f8415 100755 (executable)
--- a/muttjump
+++ b/muttjump
@@ -207,7 +207,8 @@ if [ ! -d "$orig_maildir/cur" ] ; then
     die "directory $(quote "$orig_maildir") doesn't exist or is no Maildir"
 fi
 
-jump_expr="~i'$msgid'"
+msgid_mutt=$(quote_regexp "$msgid_quoted")
+jump_expr="~i'$msgid_mutt'"
 
 if [ "$MUTTJUMP_MULTI_SCREEN_MODE" = no ] ; then
 

Benjamin Mako Hill || Want to submit a patch?