summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-02 00:26:27 +0000
committerjao <jao@gnu.org>2025-11-02 00:26:27 +0000
commit46f7cd206124556a53965742cdf1f39fa05f37c7 (patch)
treec4de8cdaf801feeecb01ffa540b642a57b065242 /lib/net
parentcce9d312b1fa140afb365803d03329783660417d (diff)
downloadelibs-46f7cd206124556a53965742cdf1f39fa05f37c7.tar.gz
elibs-46f7cd206124556a53965742cdf1f39fa05f37c7.tar.bz2
notmuch geometry
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-notmuch.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el
index 2471dc7..73a736e 100644
--- a/lib/net/jao-notmuch.el
+++ b/lib/net/jao-notmuch.el
@@ -390,9 +390,10 @@
(seq-sort #'jao-notmuch-cmp-tags))))
(format-spec fmt `((?s . ,(mapconcat #'identity ts " "))))))
-(defun jao-notmuch-format-tree-and-subject (fmt msg)
+(defun jao-notmuch-format-tree-and-subject (_fmt msg)
(let ((tr (notmuch-tree-format-field "tree" " %s" msg))
- (sb (notmuch-tree-format-field "subject" " %s" msg)))
+ (sb (notmuch-tree-format-field "subject" " %s" msg))
+ (fmt (format "%%>-%ds" (- (window-width) 60))))
(format-spec fmt `((?s . ,(concat tr sb))))))
(defun jao-notmuch-format-msg-ticks (mails-rx msg)