From f08c18e799a2492bc1cfb51b3d74dd3162d77a29 Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov" Date: Sat, 12 Oct 2013 11:34:57 -0700 Subject: [PATCH] get work from pager context I found annoying that we cant unfold whole thread from pager. Implementation is pretty straight-forward. Signed-off-by: Kirill A. Shutemov --- curs_main.c | 5 +++++ functions.h | 1 + 2 files changed, 6 insertions(+) diff --git a/curs_main.c b/curs_main.c index 4888a2e55..e9bd6199f 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1410,6 +1410,11 @@ int mutt_index_menu (void) mutt_set_virtual(Context); } } + if (menu->menu == MENU_PAGER) + { + op = OP_DISPLAY_MESSAGE; + continue; + } break; } diff --git a/functions.h b/functions.h index 5e4f36bdc..dbc1736fd 100644 --- a/functions.h +++ b/functions.h @@ -309,6 +309,7 @@ const struct binding_t OpPager[] = { /* map: pager */ { "vfolder-from-query", OP_MAIN_VFOLDER_FROM_QUERY, "\033X" }, { "modify-labels", OP_MAIN_MODIFY_LABELS, "`" }, { "modify-labels-then-hide", OP_MAIN_MODIFY_LABELS_THEN_HIDE, NULL }, + { "entire-thread", OP_MAIN_ENTIRE_THREAD, "+" }, #endif { NULL, 0, NULL } -- 2.50.1