From a0b8bcbbda0d3d4f0909fb8adbdbd2469d73fa08 Mon Sep 17 00:00:00 2001 From: allan2 Date: Fri, 26 Mar 2021 14:45:30 -0230 Subject: [PATCH] Fix binding warnings when switching accounts Addresses issues #689 and #690. The bindings are ordered the same as in `mw.1`: `gi: Inbox; gs: Sent; gd: Drafts; ga: Archive; gS: Spam; gj: Junk; gt: Trash` --- bin/mw | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/bin/mw b/bin/mw index 2989717..23f46a5 100755 --- a/bin/mw +++ b/bin/mw @@ -93,6 +93,27 @@ set message_cachedir = $cachedir/$fulladdr/bodies set mbox_type = Maildir $extra +bind index,pager gi noop +bind index,pager gs noop +bind index,pager gd noop +bind index,pager ga noop +bind index,pager gS noop +bind index,pager gj noop +bind index,pager gt noop +bind index,pager Mi noop +bind index,pager Ms noop +bind index,pager Md noop +bind index,pager Ma noop +bind index,pager MS noop +bind index,pager Mj noop +bind index,pager Mt noop +bind index,pager Ci noop +bind index,pager Cs noop +bind index,pager Cd noop +bind index,pager Ca noop +bind index,pager CS noop +bind index,pager Cj noop +bind index,pager Ct noop bind index,pager gg noop bind index,pager g noop bind index,pager M noop @@ -101,6 +122,8 @@ bind index gg first-entry unmailboxes * unalternates * unset signature +unset hostname +unmy_hdr Organization unmacro index o $synccmd " > "$accdir/$idnum-$fulladdr.muttrc"