]> granicus.if.org Git - neomutt/commitdiff
Temporarily set pipe_decode in the \cb urlview macro. (Debian #423640.)
authorChristoph Berg <cb@df7cb.de>
Thu, 17 May 2007 12:40:07 +0000 (14:40 +0200)
committerChristoph Berg <cb@df7cb.de>
Thu, 17 May 2007 12:40:07 +0000 (14:40 +0200)
Muttrc.head

index a01449bce02cc142ffbe04d43f4723cf3fcc37bf..d30b9d5d6c0f3f763e7ca744433dea51127d77ce 100644 (file)
@@ -11,8 +11,11 @@ ignore sender references return-path lines
 macro index \eb "<search>~b " "search in message bodies"
 
 # simulate the old url menu
-macro index,pager \cb "<pipe-message> urlview<Enter>" "call urlview to extract URLs out of a message"
-macro attach,compose \cb "<pipe-entry> urlview<Enter>" "call urlview to extract URLs out of a message"
+macro index,pager,attach,compose \cb "\
+<enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
+<pipe-message> urlview<Enter>\
+<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
+"call urlview to extract URLs out of a message"
 
 # Show documentation when pressing F1
 macro generic,pager <F1> "<shell-escape> less @docdir@/manual.txt<Enter>" "show Mutt documentation"