Package: aerc
Version: 0.16.0-1
Severity: normal

With

  [ui]
  styleset-name=dracula
  ...
  [filters]
  text/plain=colorize

text/plain emails are not colorized. This is reproducible outside
aerc. Where ~/tmp/thomas is a text/plain mail I dumped for testing,
For STYLE={solarized, default, blue}, the following works

  AERC_STYLESET=/usr/share/aerc/stylesets/$STYLE 
/usr/libexec/aerc/filters/colorize < ~/tmp/thomas

but for STYLE={nord, dracula}, it doesn't.

The issue is that those two have e.g.

  diff_add.fg=2
  diff_del.fg=1
  quote_*.fg=6

Whereas the ones that work use HTML e.g.

  quote_*.fg=#93a1a1 # bright cyan
  quote_1.fg=#268bd2 # blue
  quote_2.fg=#cb4b16 # bright red
  quote_3.fg=#d33682 # magenta
  quote_4.fg=#6c71c4 # bright magenta

My guess is they haven't been updated with some change to aerc.

-- System Information:
Debian Release: 12.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-15-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aerc depends on:
ii  libc6        2.36-9+deb12u3
ii  libnotmuch5  0.37-1+b1
ii  python3      3.11.2-1+b1

Versions of packages aerc recommends:
ii  dante-client  1.4.2+dfsg-7
ii  gnupg         2.2.40-1.1
ii  w3m           0.5.3+git20230121-2

Versions of packages aerc suggests:
ii  notmuch          0.37-1+b1
pn  python3-vobject  <none>

-- no debconf information

-- 
👱🏻      Jonathan Dowland
✎           j...@dow.land
🔗       https://jmtd.net

Reply via email to