NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
config.c File Reference

Config used by libbrowser. More...

#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <stdbool.h>
#include "mutt/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.


bool config_init_browser (struct ConfigSet *cs)
 Register browser config variables - Implements module_init_config_t -. More...


static struct ConfigDef BrowserVars []

Detailed Description

Config used by libbrowser.

  • Richard Russon
  • Carlos Henrique Lima Melara

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file config.c.

Variable Documentation

◆ BrowserVars

struct ConfigDef BrowserVars[]
Initial value:
= {
{ "browser_abbreviate_mailboxes", DT_BOOL, true, 0, NULL,
"Abbreviate mailboxes using '~' and '=' in the browser"
{ "folder_format", DT_STRING|DT_NOT_EMPTY|R_MENU, IP "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %i", 0, NULL,
"printf-like format string for the browser's display of folders"
{ "group_index_format", DT_STRING|DT_NOT_EMPTY|R_INDEX|R_PAGER, IP "%4C %M%N %5s %-45.45f %d", 0, NULL,
"(nntp) printf-like format string for the browser's display of newsgroups"
{ "mailbox_folder_format", DT_STRING|DT_NOT_EMPTY|R_MENU, IP "%2C %?n?%6n&%6 ? %6m %i", 0, NULL,
"printf-like format string for the browser's display of mailbox folders"
"Only display files/dirs matching this regex in the browser"
{ "show_only_unread", DT_BOOL, false, 0, NULL,
"(nntp) Only show subscribed newsgroups with unread articles"
"Sort method for the browser"
{ NULL },
Regex can begin with '!'.
Definition: regex3.h:36
Case-sensitive matching.
Definition: regex3.h:35
Do not report what was matched (REG_NOSUB)
Definition: regex3.h:37
#define IP
Definition: set.h:54
const struct Mapping SortBrowserMethods[]
Sort methods for the folder/dir browser.
Definition: mutt_config.c:98
Sort flag for -reverse prefix.
Definition: sort2.h:36
Required by makedoc.c.
Definition: sort2.h:45
#define DT_SORT
sorting methods
Definition: types.h:40
#define DT_BOOL
boolean option
Definition: types.h:30
#define R_PAGER
Redraw the pager menu.
Definition: types.h:66
#define DT_NOT_EMPTY
Empty strings are not allowed.
Definition: types.h:46
#define DT_STRING
a string
Definition: types.h:41
#define R_INDEX
Redraw the index menu (MENU_INDEX)
Definition: types.h:65
#define DT_REGEX
regular expressions
Definition: types.h:38
#define R_MENU
Redraw all menus.
Definition: types.h:72

Definition at line 36 of file config.c.