From 36b713d9d7412d410741b2a854df7a067aabeffb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Wei=C3=9Fl?= Date: Mon, 3 Jan 2011 15:41:23 +0100 Subject: [PATCH] introduce mairix-git option --- muttjump | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5