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-20160709~13^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c58deee43de2756c638dfc50f5a209eadfe1b35;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 56c17904c..6b726a18d 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -8773,80 +8773,80 @@ please have a look at the mixmaster documentation. Sidebar Variables - - - Name - Type - Default - - - - - sidebar_delim_chars - string - /. - - - sidebar_divider_char - string - | - - - sidebar_folder_indent - boolean - no - - - sidebar_format - string - %B%?F? [%F]?%* %?N?%N/?%S - - - sidebar_indent_string - string -    (two spaces) - - - sidebar_new_mail_only - boolean - no - - - sidebar_next_new_wrap - boolean - no - - - sidebar_refresh_time - number - 60 - - - sidebar_short_path - boolean - no - - - sidebar_sort_method - enum - SORT_ORDER - - - sidebar_visible - boolean - no - - - sidebar_whitelist - list - (empty) - - - sidebar_width - number - 20 - - + + + Name + Type + Default + + + + + sidebar_delim_chars + string + /. + + + sidebar_divider_char + string + | + + + sidebar_folder_indent + boolean + no + + + sidebar_format + string + %B%* %n + + + sidebar_indent_string + string +    (two spaces) + + + sidebar_new_mail_only + boolean + no + + + sidebar_next_new_wrap + boolean + no + + + sidebar_refresh_time + number + 60 + + + sidebar_short_path + boolean + no + + + sidebar_sort_method + enum + SORT_ORDER + + + sidebar_visible + boolean + no + + + sidebar_whitelist + list + (empty) + + + sidebar_width + number + 20 + +
diff --git a/init.h b/init.h index 47fdc2321..3f050f587 100644 --- a/init.h +++ b/init.h @@ -2699,7 +2699,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 @@ -2725,6 +2725,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 " " }, /*