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. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
# HG changeset patch # User Kevin McCarthy <[email protected]> # Date 1465418982 25200 # Wed Jun 08 13:49:42 2016 -0700 # Node ID a96c517365599cb9796463a0c5e8d24bd8507fdb # Parent 3af134a91dae2cf067e9f97870326758105f80b6 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 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -8142,17 +8142,17 @@ <row> <entry><literal>sidebar_folder_indent</literal></entry> <entry>boolean</entry> <entry><literal>no</literal></entry> </row> <row> <entry><literal>sidebar_format</literal></entry> <entry>string</entry> - <entry><literal>%B%?F? [%F]?%* %?N?%N/?%S</literal></entry> + <entry><literal>%B%* %n</literal></entry> </row> <row> <entry><literal>sidebar_indent_string</literal></entry> <entry>string</entry> <entry><literal> </literal> (two spaces)</entry> </row> <row> <entry><literal>sidebar_new_mail_only</literal></entry> diff --git a/init.h b/init.h --- a/init.h +++ b/init.h @@ -2695,17 +2695,17 @@ */ { "sidebar_folder_indent", DT_BOOL, R_BOTH, OPTSIDEBARFOLDERINDENT, 0 }, /* ** .pp ** Set this to indent mailboxes in the sidebar. ** .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 ** similar to $$index_format, but has its own set of \fCprintf(3)\fP-like ** sequences: ** .dl ** .dt %B .dd Name of the mailbox ** .dt %S .dd * Size of mailbox (total number of messages) @@ -2721,16 +2721,18 @@ ** .dt %t .dd * @ Number of tagged messages ** .dt %>X .dd right justify the rest of the string and pad with ``X'' ** .dt %|X .dd pad to the end of the line with ``X'' ** .dt %*X .dd soft-fill with character ``X'' as pad ** .de ** .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 " " }, /* ** .pp ** This specifies the string that is used to indent mailboxes in the sidebar. ** It defaults to two spaces. ** .pp ** \fBSee also:\fP $$sidebar_short_path, $$sidebar_folder_indent, $$sidebar_delim_chars.
signature.asc
Description: PGP signature
