X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=e1bf9f1fa5b2b800032252c813b2ac2757b0ae66;hp=62b5a13526e53da8917a5abdcca3b29fbc334998;hb=5435729df11cfc6ca23e65e66ab034befece0b18;hpb=6982f7852f78aa1584b0f3b19fa7b79cfeaaf70a diff --git a/init.h b/init.h index 62b5a13..e1bf9f1 100644 --- a/init.h +++ b/init.h @@ -697,6 +697,16 @@ struct option_t MuttVars[] = { ** .pp ** Also see the ``$$record'' variable. */ + { "force_buffy_check", DT_BOOL, R_NONE, OPTFORCEBUFFYCHECK, 0 }, + /* + ** .pp + ** When \fIset\fP, it causes mutt-ng to check for new mail when the + ** \fIbuffy-list\fP command is invoked. When \fIunset\fP, \fIbuffy_list\fP + ** will just list all mailboxes which are already known to have new mail. + ** .pp + ** Also see the following variables: ``$$timeout'', ``$$mail_check'' and + ** ``$$imap_mail_check''. + */ { "forward_decode", DT_BOOL, R_NONE, OPTFORWDECODE, 1 }, /* ** .pp @@ -974,6 +984,16 @@ struct option_t MuttVars[] = { ** only subscribed folders or all folders. This can be toggled in the ** IMAP browser with the \fItoggle-subscribed\fP function. */ + { "imap_mail_check", DT_NUM, R_NONE, UL &ImapBuffyTimeout, 5 }, + /* + ** .pp + ** This variable configures how often (in seconds) mutt-ng should look for + ** new mail in IMAP folders. This is split from the ``$mail_check'' variable + ** to generate less traffic and get more accurate information for local folders. + ** .pp + ** It defaults to the default value of ``$mail_check'' which is 5 seconds. But + ** you may want to increase it. + */ { "imap_pass", DT_STR, R_NONE, UL &ImapPass, UL 0 }, /* ** .pp @@ -3505,6 +3525,7 @@ static int parse_lists (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_unlists (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_alias (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_unalias (BUFFER *, BUFFER *, unsigned long, BUFFER *); +static int parse_ifdef (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_ignore (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_unignore (BUFFER *, BUFFER *, unsigned long, BUFFER *); static int parse_source (BUFFER *, BUFFER *, unsigned long, BUFFER *); @@ -3551,6 +3572,7 @@ struct command_t Commands[] = { #endif { "hdr_order", parse_list, UL &HeaderOrderList }, #ifdef HAVE_ICONV + { "ifdef", parse_ifdef, 0 }, { "iconv-hook", mutt_parse_hook, M_ICONVHOOK }, #endif { "ignore", parse_ignore, 0 },