NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
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.

Functions

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

Variables

static struct ConfigDef BrowserVars []
 

Detailed Description

Config used by libbrowser.

Authors
  • 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 http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ BrowserVars

struct ConfigDef BrowserVars[]
static
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 },
}
#define DT_REGEX_ALLOW_NOT
Regex can begin with '!'.
Definition: regex3.h:36
#define DT_REGEX_MATCH_CASE
Case-sensitive matching.
Definition: regex3.h:35
#define DT_REGEX_NOSUB
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
#define DT_SORT_REVERSE
Sort flag for -reverse prefix.
Definition: sort2.h:36
@ SORT_ALPHA
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.