From: NeilBrown Date: Tue, 29 Aug 2023 09:52:56 +0000 (+1000) Subject: notmuch: disable word-wrap on To: and Cc: lines X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=1d777d1af4af10909480b967f79ee3c09009716f;p=edlib.git notmuch: disable word-wrap on To: and Cc: lines The header-list wrap on ',' should be enough, wrapping on spaces as well looks wrong. Signed-off-by: NeilBrown --- diff --git a/python/module-notmuch.py b/python/module-notmuch.py index 6a11461b..148bee60 100644 --- a/python/module-notmuch.py +++ b/python/module-notmuch.py @@ -3469,7 +3469,10 @@ class notmuch_message_view(edlib.Pane): comm2("attr:callback", focus, 10000, mark, "fg:blue,bold", 120) return 1 if str == "render:rfc822header:to": - comm2("attr:callback", focus, 10000, mark, "fg:blue,bold", 120) + comm2("attr:callback", focus, 10000, mark, "word-wrap:0,fg:blue,bold", 120) + return 1 + if str == "render:rfc822header:cc": + comm2("attr:callback", focus, 10000, mark, "word-wrap:0", 120) return 1 if str == "render:hide": comm2("attr:callback", focus, 10000, mark, "hide", 100000)