22 Commits

Author SHA1 Message Date
Erin John
f0769d3309 compose: read VISUAL before EDITOR
Historically UNIX programs read VISUAL before EDITOR. The former
is to be set to a screen editor like 'vi' and the latter to a line
editor like 'ed'.

Aerc should correctly read VISUAL first if both are defined.

Signed-off-by: Erin John <unrealapex@disroot.org>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-08-04 12:47:07 +02:00
Robin Jarry
0d37fd74ce filters: remove hard dependency on socksify
Use the more common unshare from util-linux if available. Otherwise try
to fallback on socksify if installed. If both failed, force use an
invalid http proxy so that the rendering cannot access the network.

Make the html-unsafe filter a symlink to html only disabling network
isolation.

Use cp -af to install filters in order to preserve symlinks. install
cannot do that.

Changelog-changed: The `html` filter is now enabled by default, making
 `w3m` a weak runtime dependency. If it is not installed, viewing HTML
 emails will fail with an explicit error.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
2024-12-26 11:44:19 +01:00
Robin Jarry
ff933b5664 doc: fix typo in aerc-tutorial
There's no colorized filter.

Fixes: c56e938f9c ("doc: proofreading")
Signed-off-by: Robin Jarry <robin@jarry.cc>
2024-01-06 22:06:06 +01:00
Koni Marti
60c1c7347a contrib: fix check-docs for subcommands
Fix check-docs linter for subcommands, i.e. where spaces are between the
root command and the subcommands such as in ":patch init".

Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2023-12-30 15:42:09 +01:00
Robin Jarry
cf2f750499 doc: strip email addresses in authors section
Let's not encourage users to send us personal emails. The referenced URL
https://sr.ht/~rjarry/aerc/ should have all necessary information.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2023-08-11 21:13:39 +02:00
Robin Jarry
af63bd0188 doc: homogenize scdoc markup
For consistent rendering, it is best if every man page uses the same
conventions. These are completely arbitrary and I only did some trial
& error until I found something that looked visually OK.

Update CONTRIBUTING.md with guidelines for scdoc markup conventions.

Update all man pages according to these guidelines.

Suggested-by: Inwit <inwit@sindominio.net>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Inwit <inwit@sindominio.net>
2022-11-24 19:19:10 +01:00
Robin Jarry
c8ff23275a doc: use uppercase man page titles
Apparently the canon dictates that the program name be capitalized at
the top of each man page. The same doctrine seems to apply to section
headings as well.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
2022-11-24 19:19:10 +01:00
Inwit
c56e938f9c doc: proofreading
- Add missing periods at the end of sentences.
- Add missing setting names before examples.
- Remove double spaces after periods.
- Fix sendmail default path.
- Add missing [filters] examples in aerc-config(5).
- Add missing log-file config hint in aerc(1).
- Fix title and default filters in aerc-tutorial(7).
- Add missing empty lines after section headings.
- Fix various typos.
- Remove duplicate section in aerc-search(1).

Signed-off-by: Inwit <inwit@sindominio.net>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
2022-11-24 19:19:10 +01:00
Ariel Costas
7c945149a6 doc: correct typo in man-pages
Fix a typo in the man page where it reads "maintained by by Robin"
instead of "maintained by Robin"

Signed-off-by: Ariel Costas <ariel@costas.dev>
2022-01-26 19:23:29 +01:00
Robin Jarry
44ad5f9a25 doc: update authors
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-11-09 20:11:42 +01:00
Robin Jarry
0d645bcebd go.mod: change base git url
I'm not sure what are the implications but it seems required.

Link: https://github.com/golang/go/issues/20883
Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-11-05 10:21:45 +01:00
Reto Brunner
432d2b1592 remove mention of header addition via the editor from tutorial 2020-04-24 23:51:47 +02:00
Erazem Kokot
a82fa2bf23 Fix typo in message view section 2020-02-12 11:51:50 -05:00
Drew DeVault
14d58c2f7b Reword aerc-tutorial with revised constraints
This document used to specify some constraints on the receipient
address, but this has since been corrected in aerc.
2020-01-05 16:01:58 -05:00
Ronan Pigott
b73fcaae32 doc: Fix missing '\' in aerc-tutorial man page. 2019-07-29 18:24:05 -04:00
Drew DeVault
85bb0b1f98 aerc-tutorial(7): add searching and expand viewer 2019-07-29 17:07:31 -04:00
Drew DeVault
df1209b60e Update docs per filters rewrite 2019-06-07 11:56:48 -04:00
Francis Dinh
58a0f438df Update aerc-tutorial(7) to reflect changes to reply bindings
As of commit 11a569f6, the functions of rr/Rr and rq/Rq are switched,
but this wasn't reflected in the manpage until now.
2019-06-03 20:55:51 -04:00
Drew DeVault
c4c8648cc7 Change ex command to C-x when using terminal 2019-05-24 12:45:48 -04:00
Drew DeVault
c295508352 Mention custom headers in aerc-tutorial(7) 2019-05-22 16:50:00 -04:00
Drew DeVault
062f00ebe9 Minor improvements to aerc-tutorial 2019-05-22 12:36:09 -04:00
Drew DeVault
58bc15b472 Implement opening tutorial after account wizard 2019-05-22 11:13:55 -04:00