Fork of the aerc email client (https://sr.ht/~rjarry/aerc)
Find a file
Reto Brunner 3e7e236f50 notmuch: avoid stale DBs
Opening a notmuch DB gives you a snapshot of the stage at that specific time.
Prior to this, we only reopened the DB upon writing.
However, if say a mail sync program like offlineimap is fetching new mail,
we would never pick it up.

This commit caches a db for a while, so that we don't generate too much overhead
and does a reconnect cycle after that.

I hardcoded a value as I don't think that having an option would be beneficial.
Any write operation (meaning reading mail) anyhow flushes the DB by necessity.
(we need to close to commit tag changes, which changing the read state is)
2020-02-16 10:41:10 -05:00
commands msgview/open: remove manual decoding 2020-01-20 09:21:29 -05:00
completer Strip trailing newline from address book entries without names 2020-01-09 14:32:22 -05:00
config config: Strongly type context type 2020-01-24 12:25:59 -05:00
doc Fix typo in message view section 2020-02-12 11:51:50 -05:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib lib: fix an out of bounds panic in the server 2020-02-13 10:26:12 -05:00
models add .OriginalMIMEType variable to reply template 2020-01-09 14:31:19 -05:00
templates Correct capitalization in quoted_reply 2019-11-10 13:36:25 -05:00
widgets Ensure we aren't selecting negative directories 2020-02-07 10:40:37 -05:00
worker notmuch: avoid stale DBs 2020-02-16 10:41:10 -05:00
.build.yml Add .build.yml 2019-07-07 18:51:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
aerc.go Don't use current input as a possible completion 2019-12-21 09:23:22 -05:00
go.mod Contextual UI Configuration 2020-01-24 10:50:21 -05:00
go.sum Contextual UI Configuration 2020-01-24 10:50:21 -05:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile Add missing man pages to uninstall target in Makefile 2019-12-24 23:55:00 +01:00
README.md Add link to scdoc 2020-02-02 11:10:38 +01:00

aerc

aerc is an email client for your terminal.

Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.

Building

Install the dependencies:

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 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