From f9226f2dd0cf05fe7ff69bfe1b2cefa516c8c4f5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 7 Jan 2024 23:37:00 +0100 Subject: Make Gnus leverage visual-line-mode Set shr-fill-text to nil; this automatically causes eww to enable visual-line-mode. For Gnus, the dance is a bit more involved. Not 100% happy with where I landed, but at least I gave myself an escape hatch by rebinding C-c d v in summary buffers. Also, * lift size restriction when fontifying citations: it mostly only ever causes fontification failures when people review big patches, * tweak header order slightly, * align shr heading faces with eighters-title-* faces. --- .emacs.d/eighters-theme.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.emacs.d/eighters-theme.el') diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el index fbd66e7..6d7c95d 100644 --- a/.emacs.d/eighters-theme.el +++ b/.emacs.d/eighters-theme.el @@ -430,6 +430,12 @@ `(shortdoc-heading ((t (:inherit eighters-title-1)))) `(show-paren-match ((t (:foreground ,fg-cyan :inverse-video t)))) `(show-paren-mismatch ((t (:foreground ,fg-red :inverse-video t)))) + `(shr-h1 ((t (:inherit eighters-title-1)))) + `(shr-h2 ((t (:inherit eighters-title-2)))) + `(shr-h3 ((t (:inherit eighters-title-3)))) + `(shr-h4 ((t (:inherit eighters-title-4)))) + `(shr-h5 ((t (:inherit eighters-title-5)))) + `(shr-h6 ((t (:inherit eighters-title-6)))) `(success ((t (:foreground ,fg-blue :weight bold)))) `(tab-bar ((t (:background ,bg-hl-dimmer :inherit eighters-ui)))) `(tab-bar-tab ((t (:weight bold :box (:style released-button) :inherit tab-bar)))) -- cgit v1.2.3