1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-11-04 15:52:35 +01:00
aerc/app
Terrance 1dd2508124 config: add contextual viewer configuration
This allows setting viewer options for specific message senders or
subjects via conditional `viewer` blocks in the main configuration file,
similar to contextual UI configuration.  Each block can target the
envelope sender and the From/Subject headers, as either an exact match
with `=` (on the email address for sender/from) or a regex with `~` (on
the full "$name <$email>" string representation).

For example, some senders like to include a useless plain text part in
their alternatives, telling you that your client doesn't support HTML.
The documented example would prefer plain text where present by default,
but switch to the HTML part for such senders.

Signed-off-by: Terrance <git@terrance.allofti.me>
Reviewed-by: Julio B <julio.bacel@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-10-30 21:17:44 +01:00
..
account-wizard.go
account.go
aerc.go reload: fix crash when reloading via IPC 2025-09-23 14:02:37 +02:00
app.go
authinfo.go
compose.go
dialog.go
dirlist.go
dirtree.go
exline.go
getpasswd.go
headerlayout.go
listbox.go listbox: fix crash scrolling within empty selection 2025-10-30 21:10:09 +01:00
msglist.go
msgviewer.go config: add contextual viewer configuration 2025-10-30 21:17:44 +01:00
partswitcher.go config: add contextual viewer configuration 2025-10-30 21:17:44 +01:00
pgpinfo.go
providesmessage.go
quake.go
scrollable.go chore: switch to using stdlib helper functions 2025-08-04 12:47:05 +02:00
selector.go
spinner.go
status.go
terminal.go