From: Johannes Weißl Date: Mon, 3 Jan 2011 14:41:23 +0000 (+0100) Subject: introduce mairix-git option X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/36b713d9d7412d410741b2a854df7a067aabeffb?hp=35027f951249b93a925c900f8f4c577c78c838a8 introduce mairix-git option --- diff --git a/muttjump b/muttjump index cf6650f..17628da 100755 --- a/muttjump +++ b/muttjump @@ -18,7 +18,7 @@ # # macro generic ,j "push muttjump" "jump to original message" -# one of: mairix, mu, mu-old (mu < 0.7) and nmzmail +# one of: mairix, mairix-git, mu, mu-old (mu < 0.7) and nmzmail MUTTJUMP_INDEXER=${MUTTJUMP_INDEXER:-} # "limit" or "search" (default) @@ -164,6 +164,10 @@ msgid_clean=$(echo "$msgid" | sed -e 's/^$//') # try to locate path of message using a mail search engine case $MUTTJUMP_INDEXER in + mairix-git) + msgid_mairix=$msgid_clean + orig_msgfiles=$($MAIRIX -r "m:$msgid_clean") + ;; mairix) msgid_mairix=$msgid_clean # mairix can't quote special characters (~,/=^) in search words. As a