From: Kevin McCarthy Date: Wed, 8 Jun 2016 21:43:35 +0000 (-0700) Subject: Change the default for sidebar_format to use %n. X-Git-Tag: neomutt-20160822~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8ca3858a26fc0c3e9fcb29d6964e8d02609a2aa;p=neomutt Change the default for sidebar_format to use %n. The next series of patches is going to create a new option, $mail_check_stats defaulting off. When off, the extended buffy which calculates total/new/flagged messages won't be run. To help reduce "sidebar is broken" bug reports, this changes the default format to something not requiring extended buffy. The previous default is documented in the option and preserved in the sample sidebar muttrc in contrib. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index 912ebe25f..f30a947b2 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -8147,7 +8147,7 @@ please have a look at the mixmaster documentation. sidebar_format string - %B%?F? [%F]?%* %?N?%N/?%S + %B%* %n sidebar_indent_string diff --git a/init.h b/init.h index cf1c4cd8d..4b1617af7 100644 --- a/init.h +++ b/init.h @@ -2700,7 +2700,7 @@ struct option_t MuttVars[] = { ** .pp ** \fBSee also:\fP $$sidebar_short_path, $$sidebar_indent_string, $$sidebar_delim_chars. */ - { "sidebar_format", DT_STR, R_NONE, UL &SidebarFormat, UL "%B%?F? [%F]?%* %?N?%N/?%S" }, + { "sidebar_format", DT_STR, R_NONE, UL &SidebarFormat, UL "%B%* %n" }, /* ** .pp ** This variable allows you to customize the sidebar display. This string is @@ -2726,6 +2726,8 @@ struct option_t MuttVars[] = { ** .pp ** * = Can be optionally printed if nonzero ** @ = Only applicable to the current folder + ** .pp + ** A useful value for this is "%B%?F? [%F]?%* %?N?%N/?%S". */ { "sidebar_indent_string", DT_STR, R_BOTH, UL &SidebarIndentString, UL " " }, /*