From df1209b60eeefaf1ce1b2390b03981fdf9c26c4c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 7 Jun 2019 11:56:48 -0400 Subject: Update docs per filters rewrite --- README.md | 8 -------- doc/aerc-config.5.scd | 14 +++----------- doc/aerc-tutorial.7.scd | 4 ++++ 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index bdb626e..dac8848 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,6 @@ Install the dependencies: - go (>=1.12) - scdoc -aerc optionally depends on the following for display filters (you'll have to -change the default aerc.conf if you don't want these): - -- python (>=3.7) -- colorama -- w3m -- socksify (part of the dante or dante-utils package) - Then compile aerc: $ make diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 84a1c21..409e863 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -89,17 +89,9 @@ You can also match on non-mimetypes, by prefixing with the header to match against (non-case-sensitive) and a comma, e.g. subject,text will match a subject which contains "text". Use header,~regex to match against a regex. -Most aerc installations come with some useful filters, typically installed in -/usr/share/aerc/filters. Here is an example config which uses these filters: - -``` -subject,~^\[PATCH=/usr/share/aerc/filters/hldiff.py -text/html=/usr/share/aerc/filters/html -text/*=/usr/share/aerc/filters/plaintext.py -``` - -Note that the filters which are installed with aerc have additional -dependencies, such as Python, colorama, socksify, and w3m. +aerc ships with some default filters installed in the share directory (usually +_/usr/share/aerc/filters_). Note that these may have additional dependencies +that aerc does not have alone. # ACCOUNTS.CONF diff --git a/doc/aerc-tutorial.7.scd b/doc/aerc-tutorial.7.scd index 1b9bd53..67dd32f 100644 --- a/doc/aerc-tutorial.7.scd +++ b/doc/aerc-tutorial.7.scd @@ -50,6 +50,10 @@ alternative formats) show a part selector on the bottom of the message viewer. *q* Close the message viewer +To show HTML messages, comment out the *text/html* filter in your aerc.conf +file (which is probably in ~/.config/aerc/) and install its dependencies: w3m +and dante-utils. + # COMPOSING MESSAGES Return to the message list by pressing *q* to dismiss the message viewer. Once -- cgit 1.4.1-2-gfad0