Nico Golde:
[apps/madmutt.git] / init.h
diff --git a/init.h b/init.h
index 194ad23..912839a 100644 (file)
--- 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 *);