Richard Russon [Mon, 12 Sep 2016 10:25:08 +0000 (11:25 +0100)]
docs: mass tidy up
- tidy muttrc.*
- tidy vimrc.*
- sync muttrc to main manual
- add better xml escaping
- fix whitespace in muttrc/vimrc/manual
- refer to features rather than patches
- fix lots of spelling mistakes
- sort manual sections
- add README.notmuch to dist
- drop unnecessary sample.colors.attach_headers
- install sample muttrc files
- add mutt-1.7.0-syntax.vim from vim repo
- generate neomutt-syntax.vim from features' vimrc files
- install neomutt-syntax.vim
John Swinbank [Sun, 11 Sep 2016 00:15:42 +0000 (20:15 -0400)]
Avoid segfault when listing mailboxes on startup.
When mutt is started with the -y flag, _mutt_select_file() is called while
CurrentFolder is a null pointer. If that's the case, we shouldn't try to use
it.
Richard Russon [Fri, 2 Sep 2016 13:33:01 +0000 (14:33 +0100)]
proposed fix for clearing labels
Debian bug #832971 -- The use claimed he couldn't reset labels.
I couldn't repeat the problem using his config. He offered a patch that
he claimed fixed his problem. Only one part of the patch actually did
anything (and only in a section of code dealing with SETTING labels).
Richard Russon [Wed, 7 Sep 2016 15:21:08 +0000 (16:21 +0100)]
notmuch: sync vfolder_format to folder_format
The expandos used by NotMuch's vfolder_format didn't match those of
Mutt's folder_format. This caused confusion.
vfolder_format expandos:
%C current file number
%f folder name (description)
%m number of messages in the mailbox *
%n number of unread messages in the mailbox *
%N N if mailbox has new mail, blank otherwise
Default setting:
set vfolder_format = "%2C %N %?n?%4n/& ?%4m %f"
Guillaume Brogi [Sat, 20 Aug 2016 13:51:50 +0000 (15:51 +0200)]
Add support for colouring attachments with regexp
Attachments can now be coloured in the same way as the body using
`attach_regexp`. The `attachment` colour can still be defined and is
used when no regexp match.
Richard Russon [Wed, 7 Sep 2016 11:45:05 +0000 (12:45 +0100)]
merge: sensible-browser
* sensible browser patch
* Whatever the sort method, .. is always on the top
* Reset menu->current when one re-sort the browser
* Folder tracking enabled only with SORT_(SUBJECT|DESC)
* Some documentation on sensible-browser patches
* tweak the behaviour of the sensible-browser code
* sort mailboxes, with incomplete info, last
* docs: try to explain the behaviour of sensible-browser
Kevin McCarthy [Mon, 5 Sep 2016 19:35:19 +0000 (12:35 -0700)]
Stub out getdnsdomainname() unless HAVE_GETADDRINFO.
It seems unlikely there are systems without it (given that this
mistake has been in since 1.6.0), but for correctness we should stub
out the function for those without it.
Stefan Assmann [Mon, 8 Aug 2016 12:41:44 +0000 (14:41 +0200)]
check for new mail while in pager when idle
Currently, when the pager is open and mutt is idle the mailboxes aren't
checked for new mails. Change the behaviour to get notified of newly
arrived mail.
Closes #19 - new-mail doesn't fire if pager open
Closes #100 - check for new mail while in pager when idle
Kevin McCarthy [Sat, 3 Sep 2016 02:32:39 +0000 (19:32 -0700)]
Disable ~X when message scoring. (closes #3861)
mutt_score_message() purposely passes a NULL context to
mutt_pattern_exec(). The idea was to block slow patterns, and the
scoring documentation notes this by saying:
"For efficiency reasons, patterns which scan information not
available in the index, such as ~b, ~B or ~h, may not be used"
~X needs the context to parse the messages (during message scoring at
least), and thus isn't suitable for message scoring either.
Block ~X from being used when the context is NULL. Add ~X to the list
of patterns noted as unusable in the message scoring documentation.
Adds a reply_with_xorig boolean parameter. When set, it allows to
reply to emails using X-Original-To: header email address. This will
work provided reverse_realname is not active or failed to find an
appropriate From: to provide. The option, if fast_reply is disabled,
also provides a From: prompt when hitting reply. By default it'll be
filled with the extracted address.
Darshit Shah [Wed, 24 Aug 2016 13:34:05 +0000 (15:34 +0200)]
Fix the NeoMutt version string
The original Mutt version string came with only a version number.
However, in NeoMutt, the versioning is done solely on the release date.
Hence, change how the version string is printed to reflect this change.
As part of the version string, print the base version of Mutt being used
as well
Darshit Shah [Sun, 14 Aug 2016 15:52:27 +0000 (17:52 +0200)]
Allow creating Distribution Tarballs with autogen sources
With this commit `make dist` works again. The following changes were
made:
* Change how versioning is done. We now use the `git-version-gen`
script from gnulib to generate a tarball version based on the latest
git tag.
* Ignored files in distribution: Some autogenerated files don't need
to be in the distribution tarball:
* hcachever.sh
* mkchangelog.sh
* prepare (Doesn't need to be since tarballs don't use it)
* BEWARE (Is to scare developers, not users)
* check_sec.sh (For devs to test)
* README.notmuch (Installed as a generated file with other READMEs)
* Added files to the tarball:
* README.md
* README.neomutt
* ChangeLog.neomutt
* .version
* Fixed various issues preventing `make dist` from completing
Darshit Shah [Wed, 22 Jun 2016 03:36:49 +0000 (05:36 +0200)]
Overhaul configure.ac
* Add basic configure summary
* Clean up GPGME configure
* Clean up PGP configure option
* More cleanup for GPGME
* Need to explicitly set values for configure summary
* Clean up SMIME
* Explicitly set GPGME vars
* clean up sidebar configure
* Clean up Notmuch. More work needed
* Clean up compressed folders configure
* Update AC_INIT macro
* M4-ify GPGME
* Ensure C compiler supports C99
* Add configure summary for Header Cache database
* Cleaner configure summary output for header cache