projects
/
muttjump
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46afe24
)
fix msgid escaping (now works with "!" in message id)
author
Johannes Weißl
<jargon@molb.org>
Wed, 10 Nov 2010 11:01:12 +0000
(12:01 +0100)
committer
Johannes Weißl
<jargon@molb.org>
Wed, 10 Nov 2010 11:01:12 +0000
(12:01 +0100)
muttjump
patch
|
blob
|
history
diff --git
a/muttjump
b/muttjump
index 25720f453eff2cb2b69634af1420ae21716764e8..0a45d1da18de72b3ffa688bd19a4ae5c4d434a70 100755
(executable)
--- a/
muttjump
+++ b/
muttjump
@@
-113,7
+113,7
@@
if [ ! -d "$orig_maildir/cur" ] ; then
die "directory \"$orig_maildir\" doesn't exist or is no Maildir"
fi
die "directory \"$orig_maildir\" doesn't exist or is no Maildir"
fi
-jump_cmd="<change-folder>$orig_maildir<enter><$MUTTJUMP_MODE>~i
$msgid
<enter>"
+jump_cmd="<change-folder>$orig_maildir<enter><$MUTTJUMP_MODE>~i
'$msgid'
<enter>"
if [ "$MUTTJUMP_USE_SCREEN" = no ] ; then
if [ "$MUTTJUMP_USE_SCREEN" = no ] ; then
@@
-135,8
+135,8
@@
else
screen_opts="-S $MUTTJUMP_SCREEN_SESSION"
fi
screen_opts="-S $MUTTJUMP_SCREEN_SESSION"
fi
- $SCREEN $screen_opts -X eval "select $screen_window_name" "stuff
':push \"$jump_cmd
\"
-
'
"
+ $SCREEN $screen_opts -X eval "select $screen_window_name" "stuff
\":push \\\"$jump_cmd\\
\"
+
\"
"
if [ $? != 0 ] ; then
die "You have to manually start a screen session with:
$SCREEN $screen_opts -t $screen_window_name $MUTT -f \"$orig_maildir\""
if [ $? != 0 ] ; then
die "You have to manually start a screen session with:
$SCREEN $screen_opts -t $screen_window_name $MUTT -f \"$orig_maildir\""
Benjamin Mako Hill
||
Want to submit a patch?