Brendan Cully [Fri, 30 Mar 2007 07:21:02 +0000 (00:21 -0700)]
Consult header cache if available for last known new mail count.
This prevents mutt from announcing new mail in mailboxes that have
unseen, but not new, messages, if those mailboxes are in the header
cache.
Christoph Berg [Thu, 29 Mar 2007 22:23:58 +0000 (15:23 -0700)]
Use ~/.muttrc as the default alias_file if no user muttrc exists.
Makes the code agree with the documentation. Document that default is
actually the used muttrc. (Closes Debian #226500.)
Brendan Cully [Thu, 29 Mar 2007 17:30:15 +0000 (10:30 -0700)]
Make message cache write to temporary location until file is complete.
Previously mutt trusted the cache file even when it was incomplete,
causing permanently incorrect message display if the fetch was
interrupted for some reason.
Rocco Rutte [Wed, 21 Mar 2007 16:29:00 +0000 (09:29 -0700)]
configure.ac: Make SSL tests for OpenSSL and gnutls behave the same
For both this now mentions SMTP as a possible SSL user and also turns
the error for configuring with gnutls without POP/IMAP/SMTP into a
warning as the OpenSSL part does.
Rocco Rutte [Tue, 20 Mar 2007 20:17:28 +0000 (13:17 -0700)]
Enlarge help string buffers
Even on 80x25 terminals, SHORT_STRING (128 byte) may not be enough so use
LONG_STRING (1k) as STRING (256 byte) may well be too short for wider
terminals. Closes debian #4152777.
Rocco Rutte [Tue, 20 Mar 2007 15:20:10 +0000 (08:20 -0700)]
Make f=f handler behave like old f=f handler for quoted lines
Now lines containing quote characters but no further content appear as
quoted lines again for making replies. Also, the spaces between quotes
and text are removed to make output look as it did for the old handler.
Rocco Rutte [Thu, 15 Mar 2007 15:48:04 +0000 (08:48 -0700)]
Document pattern groups in the manual
Sync with muttrc. Add some rationale for groups. Fix some style issues.
Fix quoting issue with $smtp_authenticators.
David Champion [Wed, 14 Mar 2007 20:49:11 +0000 (13:49 -0700)]
Allow format strings to be filtered.
Any format string ending in | will be expanded and piped through the
first word in the string. The string returned will be used for
display. If the returned string ends in %, it will be passed through
the formatter a second time. This allows the filter to generate a
replacement format string including % expandos.
Rocco Rutte [Wed, 14 Mar 2007 19:53:49 +0000 (12:53 -0700)]
hcache: prepend current dir to path for local folders
If a folder is local (i.e. stat() succeeds), prepend the current working
directory if necessary to always fully qualify the path. Otherwise we
may end up using different cache files for the same folder when given
relative paths. This closes #2845.
Rocco Rutte [Wed, 14 Mar 2007 18:33:57 +0000 (11:33 -0700)]
Fix return value for rfc822_write_address()
The strcat cleanup changed the return type from void to int but didn't
provide a return value for the case of bogus function arguments.
Rocco Rutte [Fri, 9 Mar 2007 18:58:20 +0000 (10:58 -0800)]
Make manual validate against DocBook 4.2 DTD for "book"
This adds a 'validate' target to doc/Makefile which uses xmllint(1)
to validate manual.xml against the DTD given in the doctype (intended
for developers only).
Running it revealed two validation errors which this patch fixes:
1) We declare 'article' as the doctype but want to use 'book'
2) Within a lists's items, we didn't include our text in a paragraph
Alain Bench [Wed, 7 Mar 2007 02:13:14 +0000 (18:13 -0800)]
Remove buggy usage of M_ICONV_HOOK_TO flag in mutt_idna.c:mutt_idna_to_local().
Wipe unwanted code depending on M_ICONV_HOOK_TO in charset.c:mutt_iconv_open().
Totally wipe M_ICONV_HOOK_TO symbol.
Remove misusages of M_ICONV_HOOK_FROM flag in:
- crypt-gpgme.c:print_utf8().
- mutt_idna.c:mutt_idna_to_local() and mutt_local_to_idna().
- pgp.c:pgp_traditional_encryptsign().
Document usage policy of M_ICONV_HOOK_FROM flag.
Cosmetic downcasing of some constant charset names (utf-8, euc-jp) for consistency.
Correction of a typo in the "iso8859-5" charset name.
Alain Bench [Sun, 4 Mar 2007 18:26:29 +0000 (19:26 +0100)]
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.
Brendan Cully [Sun, 4 Mar 2007 02:47:41 +0000 (18:47 -0800)]
Add $wrap, which supersedes $wrapmargin.
When set to a positive number, wrap at that column. When set to a
negative number, keep that many characters empty on the right.