** .pp
** The width of the mailbox list pane (left sidebar like in GUIs).
*/
+ { "sidebar_newmail_only", DT_BOOL, R_BOTH, OPTSIDEBARNEWMAILONLY, 0 },
+ /*
+ ** .pp
+ ** If set, only folders with new mail will be shown in the sidebar.
+ */
{ "mbox_type", DT_MAGIC,R_NONE, UL &DefaultMagic, M_MBOX },
/*
** .pp
** This variable controls the number of lines of context that are given
** when scrolling through menus. (Similar to ``$$pager_context''.)
*/
+ { "menu_move_off", DT_BOOL, R_NONE, OPTMENUMOVEOFF, 0 },
+ /*
+ ** .pp
+ ** When \fIunset\fP, the bottom entry of menus will never scroll up past
+ ** the bottom of the screen, unless there are less entries than lines.
+ ** When \fIset\fP, the bottom entry may move off the bottom.
+ */
{ "menu_scroll", DT_BOOL, R_NONE, OPTMENUSCROLL, 0 },
/*
** .pp
** personal mailbox where you might have several unrelated messages with
** the subject ``hi'' which will get grouped together.
*/
+ { "strip_was", DT_BOOL, R_NONE, OPTSTRIPWAS, 0 },
+ /**
+ ** .pp
+ ** When \fIset\fP, mutt-ng will remove the trailing part of the ``Subject''
+ ** line which matches $$strip_was_regex when replying.
+ **/
+ { "strip_was_regex", DT_RX, R_NONE, UL &StripWasRegexp, UL "\\([Ww][Aa][RrSs]: .*\\)[ ]*$" },
+ /**
+ ** .pp
+ ** When non-empty and $$strip_was is \fIset\fP, mutt-ng will remove this
+ ** trailing part of the ``Subject'' line when replying if it won't be empty
+ ** afterwards.
+ **/
{ "stuff_quoted", DT_BOOL, R_BOTH, OPTSTUFFQUOTED, 0 },
/*
** .pp
/* functions used to parse commands in a rc file */
static int parse_list (BUFFER *, BUFFER *, unsigned long, BUFFER *);
+#if 0
static int parse_rx_list (BUFFER *, BUFFER *, unsigned long, BUFFER *);
+static int parse_rx_unlist (BUFFER *, BUFFER *, unsigned long, BUFFER *);
+#endif
static int parse_spam_list (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_unlist (BUFFER *, BUFFER *, unsigned long, BUFFER *);
-static int parse_rx_unlist (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_lists (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_unlists (BUFFER *, BUFFER *, unsigned long, BUFFER *);