NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
notify.c File Reference

Dump all notifications. More...

#include "config.h"
#include <stddef.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "color/lib.h"
+ Include dependency graph for notify.c:

Go to the source code of this file.

Functions

static void notify_dump_account (struct NotifyCallback *nc)
 Dump account notification.
 
static void notify_dump_color (struct NotifyCallback *nc)
 Dump color notification.
 
static void notify_dump_command (struct NotifyCallback *nc)
 Dump command notification.
 
static void notify_dump_config (struct NotifyCallback *nc)
 Dump config notification.
 
static void notify_dump_mview (struct NotifyCallback *nc)
 Dump mailbox view notification.
 
static void notify_dump_email (struct NotifyCallback *nc)
 Dump email notification.
 
static void notify_dump_global (struct NotifyCallback *nc)
 Dump global notification.
 
static void notify_dump_mailbox (struct NotifyCallback *nc)
 Dump mailbox notification.
 
static void notify_dump_window_state (struct NotifyCallback *nc)
 Dump window state notification.
 
static void notify_dump_window_focus (struct NotifyCallback *nc)
 Dump window focus notification.
 
int debug_all_observer (struct NotifyCallback *nc)
 Debug observer for all notifications.
 

Variables

const struct Mapping ColorFields []
 Mapping of colour names to their IDs.
 

Detailed Description

Dump all notifications.

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 notify.c.

Function Documentation

◆ notify_dump_account()

static void notify_dump_account ( struct NotifyCallback * nc)
static

Dump account notification.

Parameters
ncNotification callback

Definition at line 45 of file notify.c.

46{
47 struct EventAccount *ev_a = nc->event_data;
48 struct Account *a = ev_a->account;
49 if (!a)
50 return;
51
52 mutt_debug(LL_DEBUG1, " Account: %p (%s) %s\n", (void *) a,
53 name_mailbox_type(a->type), NONULL(a->name));
54}
const char * name_mailbox_type(enum MailboxType type)
Get the name of a mailbox type.
Definition names.c:250
#define mutt_debug(LEVEL,...)
Definition logging2.h:91
@ LL_DEBUG1
Log at debug level 1.
Definition logging2.h:45
#define NONULL(x)
Definition string2.h:44
A group of associated Mailboxes.
Definition account.h:36
An Event that happened to an Account.
Definition account.h:77
struct Account * account
The Account this Event relates to.
Definition account.h:78
void * event_data
Data from notify_send()
Definition observer.h:38
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_color()

static void notify_dump_color ( struct NotifyCallback * nc)
static

Dump color notification.

Parameters
ncNotification callback

Definition at line 60 of file notify.c.

61{
62 struct EventColor *ev_c = nc->event_data;
63
64 const char *color = NULL;
65
66 if (ev_c->cid == MT_COLOR_MAX)
67 color = "ALL";
68
69 if (!color)
70 color = mutt_map_get_name(ev_c->cid, ColorFields);
71
72 if (!color)
73 color = "UNKNOWN";
74
75 mutt_debug(LL_DEBUG1, " Color: %s %s (%d)\n",
76 (nc->event_subtype == NT_COLOR_SET) ? "set" : "reset", color, ev_c->cid);
77}
const struct Mapping ColorFields[]
Mapping of colour names to their IDs.
Definition commands.c:55
@ MT_COLOR_MAX
Definition color.h:97
const char * mutt_map_get_name(int val, const struct Mapping *map)
Lookup a string for a constant.
Definition mapping.c:42
@ NT_COLOR_SET
Color has been set.
Definition notify2.h:40
An Event that happened to a Colour.
Definition notify2.h:52
enum ColorId cid
Colour ID that has changed.
Definition notify2.h:53
int event_subtype
Send: Event subtype, e.g. NT_ACCOUNT_ADD.
Definition observer.h:37
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_command()

static void notify_dump_command ( struct NotifyCallback * nc)
static

Dump command notification.

Parameters
ncNotification callback

Definition at line 83 of file notify.c.

84{
85 struct Command *cmd = nc->event_data;
86
87 mutt_debug(LL_DEBUG1, " Command: %s, (%s)\n", cmd->name, name_command_id(cmd->id));
88}
const char * name_command_id(enum CommandId id)
Get the name of a Command id.
Definition names.c:52
const char * name
Name of the Command.
Definition command.h:162
enum CommandId id
ID of the Command.
Definition command.h:163
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_config()

static void notify_dump_config ( struct NotifyCallback * nc)
static

Dump config notification.

Parameters
ncNotification callback

Definition at line 94 of file notify.c.

95{
96 struct EventConfig *ev_c = nc->event_data;
97
98 struct Buffer *value = buf_pool_get();
99 cs_he_string_get(ev_c->sub->cs, ev_c->he, value);
100 mutt_debug(LL_DEBUG1, " Config: %s %s = %s\n",
101 name_notify_config(nc->event_subtype), ev_c->name, buf_string(value));
102 buf_pool_release(&value);
103}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
Definition buffer.h:96
int cs_he_string_get(const struct ConfigSet *cs, struct HashElem *he, struct Buffer *result)
Get a config item as a string.
Definition set.c:716
const char * name_notify_config(int id)
Get the name of a config notification type.
Definition names.c:322
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
Definition pool.c:91
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
Definition pool.c:111
String manipulation buffer.
Definition buffer.h:36
struct ConfigSet * cs
Parent ConfigSet.
Definition subset.h:50
A config-change event.
Definition subset.h:70
const struct ConfigSubset * sub
Config Subset.
Definition subset.h:71
const char * name
Name of config item that changed.
Definition subset.h:72
struct HashElem * he
Config item that changed.
Definition subset.h:73
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_mview()

static void notify_dump_mview ( struct NotifyCallback * nc)
static

Dump mailbox view notification.

Parameters
ncNotification callback

Definition at line 109 of file notify.c.

110{
111 struct EventMview *ev_m = nc->event_data;
112
113 const char *path = "NONE";
114 if (ev_m->mv && ev_m->mv->mailbox)
115 path = mailbox_path(ev_m->mv->mailbox);
116
117 mutt_debug(LL_DEBUG1, " MailboxView: %s %s\n",
119}
static const char * mailbox_path(const struct Mailbox *m)
Get the Mailbox's path string.
Definition mailbox.h:216
const char * name_notify_mview(int id)
Get the name of a mailbox view notification type.
Definition names.c:359
An Event that happened to an MailboxView.
Definition mview.h:71
struct MailboxView * mv
The MailboxView this Event relates to.
Definition mview.h:72
struct Mailbox * mailbox
Current Mailbox.
Definition mview.h:51
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_email()

static void notify_dump_email ( struct NotifyCallback * nc)
static

Dump email notification.

Parameters
ncNotification callback

Definition at line 125 of file notify.c.

126{
127 struct EventEmail *ev_e = nc->event_data;
128
129 mutt_debug(LL_DEBUG1, " Email: %d\n", ev_e->num_emails);
130 for (size_t i = 0; i < ev_e->num_emails; i++)
131 {
132 mutt_debug(LL_DEBUG1, " : %p\n", (void *) ev_e->emails[i]);
133 }
134}
An Event that happened to an Email.
Definition email.h:196
int num_emails
Number of Emails the event applies to.
Definition email.h:197
struct Email ** emails
Emails affected by the event.
Definition email.h:198
+ Here is the caller graph for this function:

◆ notify_dump_global()

static void notify_dump_global ( struct NotifyCallback * nc)
static

Dump global notification.

Parameters
ncNotification callback

Definition at line 140 of file notify.c.

141{
143}
const char * name_notify_global(int id)
Get the name of a global notification type.
Definition names.c:306
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_mailbox()

static void notify_dump_mailbox ( struct NotifyCallback * nc)
static

Dump mailbox notification.

Parameters
ncNotification callback

Definition at line 149 of file notify.c.

150{
151 struct EventMailbox *ev_m = nc->event_data;
152
153 struct Mailbox *m = ev_m->mailbox;
154 const char *path = m ? mailbox_path(m) : "";
155 mutt_debug(LL_DEBUG1, " Mailbox: %s %s\n",
157}
const char * name_notify_mailbox(int id)
Get the name of a mailbox notification type.
Definition names.c:338
An Event that happened to a Mailbox.
Definition mailbox.h:192
struct Mailbox * mailbox
The Mailbox this Event relates to.
Definition mailbox.h:193
A mailbox.
Definition mailbox.h:81
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_window_state()

static void notify_dump_window_state ( struct NotifyCallback * nc)
static

Dump window state notification.

Parameters
ncNotification callback

Definition at line 163 of file notify.c.

164{
165 struct EventWindow *ev_w = nc->event_data;
166 const struct MuttWindow *win = ev_w->win;
167 WindowNotifyFlags flags = ev_w->flags;
168
169 struct Buffer *buf = buf_pool_get();
170
171 buf_add_printf(buf, "[%s] ", mutt_window_win_name(win));
172
173 if (flags & WN_VISIBLE)
174 buf_addstr(buf, "visible ");
175 if (flags & WN_HIDDEN)
176 buf_addstr(buf, "hidden ");
177
178 if (flags & WN_MOVED)
179 {
180 buf_add_printf(buf, "moved (C%d,R%d)->(C%d,R%d) ", win->old.col_offset,
181 win->old.row_offset, win->state.col_offset, win->state.row_offset);
182 }
183
184 if (flags & WN_TALLER)
185 buf_add_printf(buf, "taller [%d->%d] ", win->old.rows, win->state.rows);
186 if (flags & WN_SHORTER)
187 buf_add_printf(buf, "shorter [%d->%d] ", win->old.rows, win->state.rows);
188 if (flags & WN_WIDER)
189 buf_add_printf(buf, "wider [%d->%d] ", win->old.cols, win->state.cols);
190 if (flags & WN_NARROWER)
191 buf_add_printf(buf, "narrower [%d->%d] ", win->old.cols, win->state.cols);
192
193 mutt_debug(LL_DEBUG1, " Window: %s\n", buf_string(buf));
194
195 buf_pool_release(&buf);
196}
int buf_add_printf(struct Buffer *buf, const char *fmt,...)
Format a string appending a Buffer.
Definition buffer.c:204
size_t buf_addstr(struct Buffer *buf, const char *s)
Add a string to a Buffer.
Definition buffer.c:226
const char * mutt_window_win_name(const struct MuttWindow *win)
Get the name of a Window.
uint8_t WindowNotifyFlags
@ WN_WIDER
Window became wider.
@ WN_HIDDEN
Window became hidden.
@ WN_NARROWER
Window became narrower.
@ WN_VISIBLE
Window became visible.
@ WN_TALLER
Window became taller.
@ WN_MOVED
Window moved.
@ WN_SHORTER
Window became shorter.
An Event that happened to a Window.
struct MuttWindow * win
Window that changed.
WindowNotifyFlags flags
Attributes of Window that changed.
struct WindowState old
Previous state of the Window.
struct WindowState state
Current state of the Window.
short cols
Number of columns, can be MUTT_WIN_SIZE_UNLIMITED.
Definition mutt_window.h:60
short row_offset
Absolute on-screen row.
Definition mutt_window.h:63
short col_offset
Absolute on-screen column.
Definition mutt_window.h:62
short rows
Number of rows, can be MUTT_WIN_SIZE_UNLIMITED.
Definition mutt_window.h:61
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notify_dump_window_focus()

static void notify_dump_window_focus ( struct NotifyCallback * nc)
static

Dump window focus notification.

Parameters
ncNotification callback

Definition at line 202 of file notify.c.

203{
204 struct EventWindow *ev_w = nc->event_data;
205 struct MuttWindow *win = ev_w->win;
206
207 struct Buffer *buf = buf_pool_get();
208
209 buf_addstr(buf, "Focus: ");
210
211 if (win)
212 {
213 struct MuttWindow *dlg = dialog_find(win);
214 if (dlg && (dlg != win))
215 buf_add_printf(buf, "%s:", mutt_window_win_name(dlg));
216
217 buf_add_printf(buf, "%s ", mutt_window_win_name(win));
218
219 buf_add_printf(buf, "(C%d,R%d) [%dx%d]", win->state.col_offset,
220 win->state.row_offset, win->state.cols, win->state.rows);
221 }
222 else
223 {
224 buf_addstr(buf, "NONE");
225 }
226
227 mutt_debug(LL_DEBUG1, " Window: %s\n", buf_string(buf));
228
229 buf_pool_release(&buf);
230}
struct MuttWindow * dialog_find(struct MuttWindow *win)
Find the parent Dialog of a Window.
Definition dialog.c:89
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ debug_all_observer()

int debug_all_observer ( struct NotifyCallback * nc)

Debug observer for all notifications.

Parameters
ncNotification callback
Return values
0Always

Definition at line 237 of file notify.c.

238{
239 mutt_debug(LL_DEBUG1, "\033[1;31mNotification:\033[0m %s\n",
241
242 switch (nc->event_type)
243 {
244 case NT_ACCOUNT:
246 break;
247 case NT_COLOR:
249 break;
250 case NT_COMMAND:
252 break;
253 case NT_CONFIG:
255 break;
256 case NT_MVIEW:
258 break;
259 case NT_EMAIL:
261 break;
262 case NT_GLOBAL:
264 break;
265 case NT_MAILBOX:
267 break;
268 case NT_RESIZE:
269 case NT_TIMEOUT:
270 break; // no other data
271 case NT_WINDOW:
274 else if (nc->event_subtype == NT_WINDOW_FOCUS)
276 break;
277 default:
278 mutt_debug(LL_DEBUG1, " Event Type: %d\n", nc->event_type);
279 mutt_debug(LL_DEBUG1, " Event Sub-type: %d\n", nc->event_subtype);
280 mutt_debug(LL_DEBUG1, " Event Data: %p\n", nc->event_data);
281 break;
282 }
283
284 mutt_debug(LL_DEBUG1, " Global Data: %p\n", nc->global_data);
285
286 mutt_debug(LL_DEBUG5, "debug done\n");
287 return 0;
288}
const char * name_notify_type(enum NotifyType type)
Get the name of a notification type.
Definition names.c:214
static void notify_dump_global(struct NotifyCallback *nc)
Dump global notification.
Definition notify.c:140
static void notify_dump_config(struct NotifyCallback *nc)
Dump config notification.
Definition notify.c:94
static void notify_dump_mview(struct NotifyCallback *nc)
Dump mailbox view notification.
Definition notify.c:109
static void notify_dump_command(struct NotifyCallback *nc)
Dump command notification.
Definition notify.c:83
static void notify_dump_color(struct NotifyCallback *nc)
Dump color notification.
Definition notify.c:60
static void notify_dump_mailbox(struct NotifyCallback *nc)
Dump mailbox notification.
Definition notify.c:149
static void notify_dump_window_focus(struct NotifyCallback *nc)
Dump window focus notification.
Definition notify.c:202
static void notify_dump_account(struct NotifyCallback *nc)
Dump account notification.
Definition notify.c:45
static void notify_dump_email(struct NotifyCallback *nc)
Dump email notification.
Definition notify.c:125
static void notify_dump_window_state(struct NotifyCallback *nc)
Dump window state notification.
Definition notify.c:163
@ LL_DEBUG5
Log at debug level 5.
Definition logging2.h:49
@ NT_WINDOW_STATE
Window state has changed, e.g. WN_VISIBLE.
@ NT_WINDOW_FOCUS
Window focus has changed.
@ NT_TIMEOUT
Timeout has occurred.
Definition notify_type.h:57
@ NT_WINDOW
MuttWindow has changed, NotifyWindow, EventWindow.
Definition notify_type.h:58
@ NT_CONFIG
Config has changed, NotifyConfig, EventConfig.
Definition notify_type.h:43
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
Definition notify_type.h:41
@ NT_EMAIL
Email has changed, NotifyEmail, EventEmail.
Definition notify_type.h:44
@ NT_MAILBOX
Mailbox has changed, NotifyMailbox, EventMailbox.
Definition notify_type.h:50
@ NT_COMMAND
A Command has been executed, Command.
Definition notify_type.h:42
@ NT_ACCOUNT
Account has changed, NotifyAccount, EventAccount.
Definition notify_type.h:36
@ NT_MVIEW
MailboxView has changed, NotifyMview, EventMview.
Definition notify_type.h:51
@ NT_GLOBAL
Not object-related, NotifyGlobal.
Definition notify_type.h:46
@ NT_RESIZE
Window has been resized.
Definition notify_type.h:53
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.
Definition observer.h:36
void * global_data
Data from notify_observer_add()
Definition observer.h:39
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ColorFields

const struct Mapping ColorFields[]
extern

Mapping of colour names to their IDs.

Definition at line 55 of file commands.c.

55 {
56 // clang-format off
57 { "attachment", MT_COLOR_ATTACHMENT },
58 { "attach_headers", MT_COLOR_ATTACH_HEADERS },
59 { "body", MT_COLOR_BODY },
60 { "bold", MT_COLOR_BOLD },
61 { "compose_header", MT_COLOR_COMPOSE_HEADER },
62 { "compose_security_both", MT_COLOR_COMPOSE_SECURITY_BOTH },
63 { "compose_security_encrypt", MT_COLOR_COMPOSE_SECURITY_ENCRYPT },
64 { "compose_security_none", MT_COLOR_COMPOSE_SECURITY_NONE },
65 { "compose_security_sign", MT_COLOR_COMPOSE_SECURITY_SIGN },
66 { "error", MT_COLOR_ERROR },
67 { "hdrdefault", MT_COLOR_HDRDEFAULT },
68 { "header", MT_COLOR_HEADER },
69 { "index", MT_COLOR_INDEX },
70 { "index_author", MT_COLOR_INDEX_AUTHOR },
71 { "index_collapsed", MT_COLOR_INDEX_COLLAPSED },
72 { "index_date", MT_COLOR_INDEX_DATE },
73 { "index_flags", MT_COLOR_INDEX_FLAGS },
74 { "index_label", MT_COLOR_INDEX_LABEL },
75 { "index_number", MT_COLOR_INDEX_NUMBER },
76 { "index_size", MT_COLOR_INDEX_SIZE },
77 { "index_subject", MT_COLOR_INDEX_SUBJECT },
78 { "index_tag", MT_COLOR_INDEX_TAG },
79 { "index_tags", MT_COLOR_INDEX_TAGS },
80 { "indicator", MT_COLOR_INDICATOR },
81 { "italic", MT_COLOR_ITALIC },
82 { "markers", MT_COLOR_MARKERS },
83 { "message", MT_COLOR_MESSAGE },
84 { "normal", MT_COLOR_NORMAL },
85 { "options", MT_COLOR_OPTIONS },
86 { "progress", MT_COLOR_PROGRESS },
87 { "prompt", MT_COLOR_PROMPT },
88 { "quoted0", MT_COLOR_QUOTED0 },
89 { "quoted1", MT_COLOR_QUOTED1 },
90 { "quoted2", MT_COLOR_QUOTED2 },
91 { "quoted3", MT_COLOR_QUOTED3 },
92 { "quoted4", MT_COLOR_QUOTED4 },
93 { "quoted5", MT_COLOR_QUOTED5 },
94 { "quoted6", MT_COLOR_QUOTED6 },
95 { "quoted7", MT_COLOR_QUOTED7 },
96 { "quoted8", MT_COLOR_QUOTED8 },
97 { "quoted9", MT_COLOR_QUOTED9 },
98 { "search", MT_COLOR_SEARCH },
99 { "sidebar_background", MT_COLOR_SIDEBAR_BACKGROUND },
100 { "sidebar_divider", MT_COLOR_SIDEBAR_DIVIDER },
101 { "sidebar_flagged", MT_COLOR_SIDEBAR_FLAGGED },
102 { "sidebar_highlight", MT_COLOR_SIDEBAR_HIGHLIGHT },
103 { "sidebar_indicator", MT_COLOR_SIDEBAR_INDICATOR },
104 { "sidebar_new", MT_COLOR_SIDEBAR_NEW },
105 { "sidebar_ordinary", MT_COLOR_SIDEBAR_ORDINARY },
106 { "sidebar_spool_file", MT_COLOR_SIDEBAR_SPOOL_FILE },
107 { "sidebar_unread", MT_COLOR_SIDEBAR_UNREAD },
108 { "signature", MT_COLOR_SIGNATURE },
109 { "status", MT_COLOR_STATUS },
110 { "stripe_even", MT_COLOR_STRIPE_EVEN},
111 { "stripe_odd", MT_COLOR_STRIPE_ODD},
112 { "tilde", MT_COLOR_TILDE },
113 { "tree", MT_COLOR_TREE },
114 { "underline", MT_COLOR_UNDERLINE },
115 { "warning", MT_COLOR_WARNING },
116 // Deprecated
117 { "quoted", MT_COLOR_QUOTED0 },
118 { "sidebar_spoolfile", MT_COLOR_SIDEBAR_SPOOL_FILE },
119 { NULL, 0 },
120 // clang-format on
121};
@ MT_COLOR_SIDEBAR_SPOOL_FILE
$spool_file (Spool mailbox)
Definition color.h:75
@ MT_COLOR_SIDEBAR_DIVIDER
Line dividing sidebar from the index/pager.
Definition color.h:69
@ MT_COLOR_MARKERS
Pager: markers, line continuation.
Definition color.h:51
@ MT_COLOR_COMPOSE_SECURITY_ENCRYPT
Mail will be encrypted.
Definition color.h:43
@ MT_COLOR_MESSAGE
Informational message.
Definition color.h:52
@ MT_COLOR_INDEX_AUTHOR
Index: author field.
Definition color.h:87
@ MT_COLOR_QUOTED0
Pager: quoted text, level 0.
Definition color.h:57
@ MT_COLOR_SIDEBAR_NEW
Mailbox with new mail.
Definition color.h:73
@ MT_COLOR_HEADER
Message headers (takes a pattern)
Definition color.h:48
@ MT_COLOR_STATUS
Status bar (takes a pattern)
Definition color.h:78
@ MT_COLOR_SIDEBAR_UNREAD
Mailbox with unread mail.
Definition color.h:76
@ MT_COLOR_INDEX_SIZE
Index: size field.
Definition color.h:93
@ MT_COLOR_INDICATOR
Selected item in list.
Definition color.h:49
@ MT_COLOR_STRIPE_EVEN
Stripes: even lines of the Help Page.
Definition color.h:79
@ MT_COLOR_ERROR
Error message.
Definition color.h:46
@ MT_COLOR_COMPOSE_SECURITY_NONE
Mail will not be encrypted or signed.
Definition color.h:44
@ MT_COLOR_SIDEBAR_ORDINARY
Mailbox with no new or flagged messages.
Definition color.h:74
@ MT_COLOR_QUOTED1
Pager: quoted text, level 1.
Definition color.h:58
@ MT_COLOR_INDEX_TAGS
Index: tags field (g, J)
Definition color.h:96
@ MT_COLOR_QUOTED3
Pager: quoted text, level 3.
Definition color.h:60
@ MT_COLOR_BOLD
Bold text.
Definition color.h:40
@ MT_COLOR_INDEX_SUBJECT
Index: subject field.
Definition color.h:94
@ MT_COLOR_BODY
Pager: highlight body of message (takes a pattern)
Definition color.h:39
@ MT_COLOR_INDEX_DATE
Index: date field.
Definition color.h:89
@ MT_COLOR_QUOTED6
Pager: quoted text, level 6.
Definition color.h:63
@ MT_COLOR_PROGRESS
Progress bar.
Definition color.h:55
@ MT_COLOR_COMPOSE_SECURITY_BOTH
Mail will be encrypted and signed.
Definition color.h:42
@ MT_COLOR_QUOTED8
Pager: quoted text, level 8.
Definition color.h:65
@ MT_COLOR_SIDEBAR_BACKGROUND
Background colour for the Sidebar.
Definition color.h:68
@ MT_COLOR_INDEX_TAG
Index: tag field (G)
Definition color.h:95
@ MT_COLOR_HDRDEFAULT
Header default colour.
Definition color.h:47
@ MT_COLOR_OPTIONS
Options in prompt.
Definition color.h:54
@ MT_COLOR_TREE
Index: tree-drawing characters.
Definition color.h:82
@ MT_COLOR_QUOTED7
Pager: quoted text, level 7.
Definition color.h:64
@ MT_COLOR_NORMAL
Plain text.
Definition color.h:53
@ MT_COLOR_ATTACH_HEADERS
MIME attachment test (takes a pattern)
Definition color.h:38
@ MT_COLOR_SEARCH
Pager: search matches.
Definition color.h:67
@ MT_COLOR_COMPOSE_SECURITY_SIGN
Mail will be signed.
Definition color.h:45
@ MT_COLOR_INDEX_LABEL
Index: label field.
Definition color.h:91
@ MT_COLOR_ITALIC
Italic text.
Definition color.h:50
@ MT_COLOR_QUOTED4
Pager: quoted text, level 4.
Definition color.h:61
@ MT_COLOR_STRIPE_ODD
Stripes: odd lines of the Help Page.
Definition color.h:80
@ MT_COLOR_PROMPT
Question/user input.
Definition color.h:56
@ MT_COLOR_COMPOSE_HEADER
Header labels, e.g. From:
Definition color.h:41
@ MT_COLOR_INDEX
Index: default colour.
Definition color.h:86
@ MT_COLOR_QUOTED9
Pager: quoted text, level 9.
Definition color.h:66
@ MT_COLOR_QUOTED2
Pager: quoted text, level 2.
Definition color.h:59
@ MT_COLOR_ATTACHMENT
MIME attachments text (entire line)
Definition color.h:37
@ MT_COLOR_SIDEBAR_INDICATOR
Current open mailbox.
Definition color.h:72
@ MT_COLOR_SIDEBAR_HIGHLIGHT
Select cursor.
Definition color.h:71
@ MT_COLOR_WARNING
Warning messages.
Definition color.h:84
@ MT_COLOR_UNDERLINE
Underlined text.
Definition color.h:83
@ MT_COLOR_INDEX_NUMBER
Index: index number.
Definition color.h:92
@ MT_COLOR_SIGNATURE
Pager: signature lines.
Definition color.h:77
@ MT_COLOR_INDEX_FLAGS
Index: flags field.
Definition color.h:90
@ MT_COLOR_QUOTED5
Pager: quoted text, level 5.
Definition color.h:62
@ MT_COLOR_SIDEBAR_FLAGGED
Mailbox with flagged messages.
Definition color.h:70
@ MT_COLOR_TILDE
Pager: empty lines after message.
Definition color.h:81
@ MT_COLOR_INDEX_COLLAPSED
Index: number of messages in collapsed thread.
Definition color.h:88