From 041c6f73da6f445ba18d0fe8fc53cf863eef7eb8 Mon Sep 17 00:00:00 2001 From: Alain Bench Date: Sun, 4 Mar 2007 19:26:29 +0100 Subject: Doc fixes and updates concerning hooks - Add reply-hooks and send2-hooks in lists they miss. - Fix that they all take full patterns, not only regexps. - Note interaction with $default_hook. - Enumerate them in execution order/increasing priority. - Add iconv-hook, remove a duplicate charset-hook. --- init.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.h') diff --git a/init.h b/init.h index b940b32a..ce5ff781 100644 --- a/init.h +++ b/init.h @@ -486,8 +486,8 @@ struct option_t MuttVars[] = { { "default_hook", DT_STR, R_NONE, UL &DefaultHook, UL "~f %s !~P | (~P ~C %s)" }, /* ** .pp - ** This variable controls how send-hooks, message-hooks, save-hooks, - ** and fcc-hooks will + ** This variable controls how message-hooks, reply-hooks, send-hooks, + ** send2-hooks, save-hooks, and fcc-hooks will ** be interpreted if they are specified with only a simple regexp, ** instead of a matching pattern. The hooks are expanded when they are ** declared, so a hook will be interpreted according to the value of this -- cgit v1.2.3 From d759d34de3e7fb24fd51278f6cd1a0266661b6ad Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 8 Mar 2007 21:13:02 -0800 Subject: Add `UL' cast for Umask entry in MuttVars to supress compiler warning. --- init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.h') diff --git a/init.h b/init.h index ce5ff781..230479e1 100644 --- a/init.h +++ b/init.h @@ -2909,7 +2909,7 @@ struct option_t MuttVars[] = { ** machine without having to enter a password. */ #endif - { "umask", DT_NUM, R_NONE, &Umask, 0077 }, + { "umask", DT_NUM, R_NONE, UL &Umask, 0077 }, /* ** .pp ** Sets the umask to use when creating mailboxes or saving attachments. -- cgit v1.2.3 From 5cf1ccd81a0a1778b4bc2f4be11c0511bfe95598 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Thu, 15 Mar 2007 08:48:04 -0700 Subject: Document pattern groups in the manual Sync with muttrc. Add some rationale for groups. Fix some style issues. Fix quoting issue with $smtp_authenticators. --- init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.h') diff --git a/init.h b/init.h index 230479e1..3ef28e0e 100644 --- a/init.h +++ b/init.h @@ -2620,7 +2620,7 @@ struct option_t MuttVars[] = { ** This is a colon-delimited list of authentication methods mutt may ** attempt to use to log in to an SMTP server, in the order mutt should ** try them. Authentication methods are any SASL mechanism, eg - ** 'digest-md5', 'gssapi' or 'cram-md5'. + ** ``digest-md5'', ``gssapi'' or ``cram-md5''. ** This parameter is case-insensitive. If this parameter is unset ** (the default) mutt will try all available methods, in order from ** most-secure to least-secure. -- cgit v1.2.3 From bb112e1a4cac893545f39691b817084083399026 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 20 Mar 2007 13:39:29 -0700 Subject: Make BUFFY_SIZE a runtime switch ($check_mbox_size) --- init.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'init.h') diff --git a/init.h b/init.h index 3ef28e0e..86b0072d 100644 --- a/init.h +++ b/init.h @@ -351,6 +351,12 @@ struct option_t MuttVars[] = { ** follow these menus. The option is disabled by default because many ** visual terminals don't permit making the cursor invisible. */ + { "check_mbox_size", DT_BOOL, R_NONE, OPTCHECKMBOXSIZE, 0 }, + /* + ** .pp + ** When this variable is set, mutt will use file size attribute instead of + ** access time when checking for new mail. + */ { "charset", DT_STR, R_NONE, UL &Charset, UL 0 }, /* ** .pp -- cgit v1.2.3 From ae708b362940ed66fbccf2e4578057607a611250 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 21 Mar 2007 10:08:56 -0700 Subject: Pipe functions.h through cpp -C for the manual generation; factor out makedoc-defs.h from init.h for use in functions.h. --- init.h | 58 +++------------------------------------------------------- 1 file changed, 3 insertions(+), 55 deletions(-) (limited to 'init.h') diff --git a/init.h b/init.h index 86b0072d..f647eda4 100644 --- a/init.h +++ b/init.h @@ -19,6 +19,7 @@ #ifdef _MAKEDOC # include "config.h" +# include "makedoc-defs.h" #else # include "sort.h" #endif @@ -80,59 +81,6 @@ struct option_t #define ISPELL "ispell" #endif -/* build complete documentation */ - -#ifdef _MAKEDOC -# ifndef USE_IMAP -# define USE_IMAP -# endif -# ifndef MIXMASTER -# define MIXMASTER "mixmaster" -# endif -# ifndef USE_POP -# define USE_POP -# endif -# ifndef USE_SMTP -# define USE_SMTP -# endif -# ifndef USE_SSL_OPENSSL -# define USE_SSL_OPENSSL -# endif -# ifndef USE_SSL_GNUTLS -# define USE_SSL_GNUTLS -# endif -# ifndef USE_SSL -# define USE_SSL -# endif -# ifndef USE_SOCKET -# define USE_SOCKET -# endif -# ifndef USE_DOTLOCK -# define USE_DOTLOCK -# endif -# ifndef DL_STANDALONE -# define DL_STANDALONE -# endif -# ifndef USE_HCACHE -# define USE_HCACHE -# endif -# ifndef HAVE_DB4 -# define HAVE_DB4 -# endif -# ifndef HAVE_GDBM -# define HAVE_GDBM -# endif -# ifndef HAVE_QDBM -# define HAVE_QDBM -# endif -# ifndef HAVE_LIBIDN -# define HAVE_LIBIDN -# endif -# ifndef HAVE_GETADDRINFO -# define HAVE_GETADDRINFO -# endif -#endif - struct option_t MuttVars[] = { /*++*/ { "abort_nosubject", DT_QUAD, R_NONE, OPT_SUBJECT, M_ASKYES }, @@ -2030,7 +1978,7 @@ struct option_t MuttVars[] = { ** .pp ** Example: set certificate_file=~/.mutt/certificates */ -# if defined _MAKEDOC || !defined(USE_SSL_GNUTLS) +# ifdef USE_SSL_OPENSSL { "ssl_usesystemcerts", DT_BOOL, R_NONE, OPTSSLSYSTEMCERTS, 1 }, /* ** .pp @@ -2050,7 +1998,7 @@ struct option_t MuttVars[] = { ** This variables specifies whether to attempt to use SSLv2 in the ** SSL authentication process. */ -# endif /* defined _MAKEDOC || !defined(USE_SSL_GNUTLS) */ +# endif /* defined USE_SSL_OPENSSL */ { "ssl_use_sslv3", DT_BOOL, R_NONE, OPTSSLV3, 1 }, /* ** .pp -- cgit v1.2.3