X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=912839a9b8e2789778595686c36670e2791ee8f2;hp=194ad234eb4aa8d437d6cb9a2a43cee742b059ee;hb=fdf0986350bf8b49a817aaf53526904f8ed5b8de;hpb=09e1bf15b3c55ca9c44c09d2e91dd251af2da706 diff --git a/init.h b/init.h index 194ad23..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 @@ -3224,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 @@ -3660,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 *);