From: Johannes Weißl Date: Sun, 5 Dec 2010 03:30:56 +0000 (+0100) Subject: quote Message-ID in mutt search expression (double!!) X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/75e0e932808c9a9975a5969b5d1a993ad6f33a8c?ds=inline;hp=--cc quote Message-ID in mutt search expression (double!!) --- 75e0e932808c9a9975a5969b5d1a993ad6f33a8c diff --git a/muttjump b/muttjump index fb9bde0..cd1b006 100755 --- 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