f1a0fd20d6
If a message date would fail to parse, the worker would never receive the MessageInfo it asked for, and so it wouldn't display the message. The problem is the spec for date formats is too lax, so trying to ensure we can parse every weird date format out there is not a strategy we want to pursue. On the other hand, preventing the user from reading and working with a message due to the error format is also not a solution. The maildir and notmuch workers will now fallback to the internal date, which is based on the received header if we can't parse the format of the Date header. The UI will also fallback to the received header whenever the date header can't be parsed. This patch is based on the work done by Lyudmil Angelov <lyudmilangelov@gmail.com> But tries to handle a parsing error a bit more gracefully instead of just returning the zero date. |
||
---|---|---|
commands | ||
completer | ||
config | ||
contrib | ||
doc | ||
filters | ||
lib | ||
models | ||
templates | ||
widgets | ||
worker | ||
.build.yml | ||
.gitignore | ||
aerc.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md |
aerc
aerc is an email client for your terminal.
A short demonstration can be found on https://aerc-mail.org/
Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.
Building
Install the dependencies:
- go (>=1.13)
- scdoc
Then compile aerc:
$ make
aerc optionally supports notmuch. To enable it, you need to have a recent version of notmuch, including the header files (notmuch.h). Then compile aerc with the necessary build tags:
$ GOFLAGS=-tags=notmuch make
Installation
# make install
$ aerc
On its first run, aerc will copy the default config files to ~/.config/aerc
on Linux or ~/Library/Preferences/aerc
on MacOS and show the account
configuration wizard.
If you redirect stdout to a file, logging output will be written to that file:
$ aerc > log
Resources
Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.
Subscribe to release announcements on ~sircmpwn/aerc-announce
Bugs & todo here: ~sircmpwn/aerc2