From c9370483b3beacc164438cd158f7e8b2965fbc42 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 17 Oct 2024 21:06:49 +0200 Subject: notifs: byline authors: help-echo remaining byline authors --- lisp/mastodon-notifications.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon-notifications.el') diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 6b63c3e..b5a0ff4 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -387,8 +387,12 @@ When DOMAIN, force inclusion of user's domain in their handle." nil ", ") (if (< accts total) (let ((diff (- total accts))) - ;; FIXME: help echo all remaining accounts? - (format " and %s other%s" diff (if (= 1 diff) "" "s"))))))) + (propertize ;; help-echo remaining notifs authors: + (format " and %s other%s" diff (if (= 1 diff) "" "s")) + 'help-echo (mapconcat (lambda (a) + (alist-get 'username a)) + (cddr accounts) ;; not first two + " "))))))) (defun mastodon-notifications--render (json) "Display grouped notifications in JSON." -- cgit v1.2.3