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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.emacs') diff --git a/.emacs b/.emacs index 18f4de5..b126177 100644 --- a/.emacs +++ b/.emacs @@ -874,6 +874,12 @@ (setq shell-font-lock-keywords nil) (add-hook 'shell-mode-hook 'my/shell-hook)) +(use-package shr + :custom + ;; Prefer visual-line-mode, which refills text automatically when + ;; the window width changes. + (shr-fill-text nil)) + (use-package which-key :custom (which-key-idle-delay 0.5) -- cgit v1.2.3