NeoMutt  2023-11-03-107-g582dc1
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libcompose. More...

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

Go to the source code of this file.

Macros

#define ISPELL   "ispell"
 

Functions

bool config_init_compose (struct ConfigSet *cs)
 Register compose config variables - Implements module_init_config_t -.
 

Variables

static struct ConfigDef ComposeVars []
 Config definitions for compose.
 

Detailed Description

Config used by libcompose.

Authors
  • Richard Russon

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.

Macro Definition Documentation

◆ ISPELL

#define ISPELL   "ispell"

Definition at line 35 of file config.c.

Variable Documentation

◆ ComposeVars

struct ConfigDef ComposeVars[]
static
Initial value:
= {
{ "compose_format", DT_STRING, IP "-- NeoMutt: Compose [Approx. msg size: %l Atts: %a]%>-", 0, NULL,
"printf-like format string for the Compose panel's status bar"
},
{ "compose_show_user_headers", DT_BOOL, true, 0, NULL,
"Controls whether or not custom headers are shown in the compose envelope"
},
{ "copy", DT_QUAD, MUTT_YES, 0, NULL,
"Save outgoing emails to $record"
},
{ "edit_headers", DT_BOOL, false, 0, NULL,
"Let the user edit the email headers whilst editing an email"
},
{ "ispell", DT_STRING|DT_COMMAND, IP ISPELL, 0, NULL,
"External command to perform spell-checking"
},
{ "postpone", DT_QUAD, MUTT_ASKYES, 0, NULL,
"Save messages to the `$postponed` folder"
},
{ NULL },
}
#define ISPELL
Definition: config.c:35
#define IP
Definition: set.h:54
@ MUTT_ASKYES
Ask the user, defaulting to 'Yes'.
Definition: quad.h:41
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
Definition: quad.h:39
#define DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
Definition: types.h:37
#define DT_BOOL
boolean option
Definition: types.h:30
#define DT_STRING
a string
Definition: types.h:41
#define DT_COMMAND
A command.
Definition: types.h:54

Config definitions for compose.

Definition at line 41 of file config.c.