X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=912839a9b8e2789778595686c36670e2791ee8f2;hp=2546927c7c95e00c0ee92a9b9bd638a66247e4c8;hb=ed186ba586c10f36a8ec9219f50fbc01987bedfc;hpb=f2c6ea5470ab89bf4fd14958cc1090bedbb5b2e8 diff --git a/init.h b/init.h index 2546927..912839a 100644 --- a/init.h +++ b/init.h @@ -1340,6 +1340,11 @@ struct option_t MuttVars[] = { ** .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 @@ -1358,6 +1363,13 @@ struct option_t MuttVars[] = { ** 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 @@ -3217,6 +3229,19 @@ struct option_t MuttVars[] = { ** 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 @@ -3653,10 +3678,12 @@ const struct mapping_t SortKeyMethods[] = { /* 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 *);