]> git.neil.brown.name Git - edlib.git/commitdiff
notmuch: disable word-wrap on To: and Cc: lines
authorNeilBrown <neil@brown.name>
Tue, 29 Aug 2023 09:52:56 +0000 (19:52 +1000)
committerNeilBrown <neil@brown.name>
Tue, 29 Aug 2023 09:52:56 +0000 (19:52 +1000)
The header-list wrap on ',' should be enough, wrapping on spaces as well
looks wrong.

Signed-off-by: NeilBrown <neil@brown.name>
python/module-notmuch.py

index 6a11461bdb23f9541598482860e4d3fb506efbdc..148bee600365e6f1d3a73c0e4b711c0e90bc581b 100644 (file)
@@ -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)