From 7ed37088001871b247877cec3b21dac98ff945bd Mon Sep 17 00:00:00 2001 From: grantmackay Date: Tue, 5 Jan 2021 01:46:30 +0000 Subject: [PATCH] fix move/copy macros for tagged messages 'move/copy to mailbox' macro only worked for single messages, not for multiple (tagged) messages --- bin/mw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mw b/bin/mw index f54934c..1a709fd 100755 --- a/bin/mw +++ b/bin/mw @@ -218,8 +218,8 @@ getpass() { while : ; do pass rm -f "$pass_prefix$fulladdr" >/dev/null 2>&1 formatShortcut() { toappend="$toappend macro index,pager g$1 \"=$3\" \"go to $2\" $marker -macro index,pager M$1 \";=$3\" \"move mail to $2\" $marker -macro index,pager C$1 \";=$3\" \"copy mail to $2\" $marker" >> "$accdir/$idnum-$fulladdr.muttrc" ;} +macro index,pager M$1 \"=$3\" \"move mail to $2\" $marker +macro index,pager C$1 \"=$3\" \"copy mail to $2\" $marker" >> "$accdir/$idnum-$fulladdr.muttrc" ;} setBox() { toappend="$toappend set $1 = \"+$2\" $marker" ;}