NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
globals.c
Go to the documentation of this file.
1
22
28
29
#include "config.h"
30
#include <stdbool.h>
31
#include <stddef.h>
32
33
bool
ErrorBufMessage
;
34
char
ErrorBuf
[1024];
35
36
char
*
ShortHostname
= NULL;
37
38
char
*
CurrentFolder
= NULL;
39
char
*
LastFolder
= NULL;
40
41
/* pseudo options */
42
// clang-format off
43
#ifdef USE_AUTOCRYPT
44
bool
OptAutocryptGpgme
;
45
#endif
46
bool
OptDontHandlePgpKeys
;
47
bool
OptForceRefresh
;
48
bool
OptGui
;
49
bool
OptKeepQuiet
;
50
bool
OptMsgErr
;
51
bool
OptNeedRescore
;
52
bool
OptNeedResort
;
53
bool
OptNews
;
54
bool
OptNewsSend
;
55
bool
OptPgpCheckTrust
;
56
bool
OptResortInit
;
57
bool
OptSortSubthreads
;
58
// clang-format on
OptNeedRescore
bool OptNeedRescore
(pseudo) set when the 'score' command is used
Definition
globals.c:51
OptResortInit
bool OptResortInit
(pseudo) used to force the next resort to be from scratch
Definition
globals.c:56
OptNeedResort
bool OptNeedResort
(pseudo) used to force a re-sort
Definition
globals.c:52
OptDontHandlePgpKeys
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition
globals.c:46
OptNews
bool OptNews
(pseudo) used to change reader mode
Definition
globals.c:53
LastFolder
char * LastFolder
Previously selected mailbox.
Definition
globals.c:39
OptAutocryptGpgme
bool OptAutocryptGpgme
(pseudo) use Autocrypt context inside ncrypt/crypt_gpgme.c
Definition
globals.c:44
ShortHostname
char * ShortHostname
Short version of the hostname.
Definition
globals.c:36
OptKeepQuiet
bool OptKeepQuiet
(pseudo) shut up the message and refresh functions while we are executing an external program
Definition
globals.c:49
OptPgpCheckTrust
bool OptPgpCheckTrust
(pseudo) used by dlg_pgp()
Definition
globals.c:55
ErrorBuf
char ErrorBuf[1024]
Copy of the last error message.
Definition
globals.c:34
OptMsgErr
bool OptMsgErr
(pseudo) used by mutt_error/mutt_message
Definition
globals.c:50
OptForceRefresh
bool OptForceRefresh
(pseudo) refresh even during macros
Definition
globals.c:47
ErrorBufMessage
bool ErrorBufMessage
true if the last message was an error
Definition
globals.c:33
CurrentFolder
char * CurrentFolder
Currently selected mailbox.
Definition
globals.c:38
OptGui
bool OptGui
(pseudo) when the gui (and curses) are started
Definition
globals.c:48
OptSortSubthreads
bool OptSortSubthreads
(pseudo) used when $sort_aux changes
Definition
globals.c:57
OptNewsSend
bool OptNewsSend
(pseudo) used to change behavior when posting
Definition
globals.c:54