/* forced redraw/resort types + other flags */
#define R_NONE 0
-#define R_INDEX (1<<0)
-#define R_PAGER (1<<1)
+#define R_INDEX (1<<0) /* redraw the index menu (MENU_MAIN) */
+#define R_PAGER (1<<1) /* redraw the pager menu */
#define R_RESORT (1<<2) /* resort the mailbox */
#define R_RESORT_SUB (1<<3) /* resort subthreads */
#define R_RESORT_INIT (1<<4) /* resort from scratch */
#define R_TREE (1<<5) /* redraw the thread tree */
#define R_REFLOW (1<<6) /* reflow window layout and full redraw */
#define R_SIDEBAR (1<<7) /* redraw the sidebar */
+#define R_MENU (1<<8) /* redraw all menus */
#define R_BOTH (R_INDEX | R_PAGER)
#define R_RESORT_BOTH (R_RESORT | R_RESORT_SUB)
** and give it the same color as your attachment color (see also
** $$crypt_timestamp).
*/
- { "arrow_cursor", DT_BOOL, R_BOTH, OPTARROWCURSOR, 0 },
+ { "arrow_cursor", DT_BOOL, R_MENU, OPTARROWCURSOR, 0 },
/*
** .pp
** When \fIset\fP, an arrow (``->'') will be used to indicate the current entry
** When \fIunset\fP, Mutt will not collapse a thread if it contains any
** unread messages.
*/
- { "compose_format", DT_STR, R_BOTH, UL &ComposeFormat, UL "-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-" },
+ { "compose_format", DT_STR, R_MENU, UL &ComposeFormat, UL "-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-" },
/*
** .pp
** Controls the format of the status line displayed in the ``compose''
** If \fI``no''\fP, never attempt to verify cryptographic signatures.
** (Crypto only)
*/
- { "date_format", DT_STR, R_BOTH, UL &DateFmt, UL "!%a, %b %d, %Y at %I:%M:%S%p %Z" },
+ { "date_format", DT_STR, R_MENU, UL &DateFmt, UL "!%a, %b %d, %Y at %I:%M:%S%p %Z" },
/*
** .pp
** This variable controls the format of the date printed by the ``%d''
** you use ``+'' or ``='' for any other variables since expansion takes place
** when handling the ``$mailboxes'' command.
*/
- { "folder_format", DT_STR, R_INDEX, UL &FolderFormat, UL "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" },
+ { "folder_format", DT_STR, R_MENU, UL &FolderFormat, UL "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" },
/*
** .pp
** This variable allows you to customize the file browser display to your
** Also see $$use_domain and $$hidden_host.
*/
#ifdef HAVE_LIBIDN
- { "idn_decode", DT_BOOL, R_BOTH, OPTIDNDECODE, 1},
+ { "idn_decode", DT_BOOL, R_MENU, OPTIDNDECODE, 1},
/*
** .pp
** When \fIset\fP, Mutt will show you international domain names decoded.
** Note: You can use IDNs for addresses even if this is \fIunset\fP.
** This variable only affects decoding. (IDN only)
*/
- { "idn_encode", DT_BOOL, R_BOTH, OPTIDNENCODE, 1},
+ { "idn_encode", DT_BOOL, R_MENU, OPTIDNENCODE, 1},
/*
** .pp
** When \fIset\fP, Mutt will encode international domain names using