mirror of
https://github.com/vale981/ement.el
synced 2025-03-06 01:31:41 -05:00
WIP: Add highlight face to unread, tidy
This commit is contained in:
parent
e9a8bf6ceb
commit
9a0740fc39
1 changed files with 6 additions and 3 deletions
|
@ -215,12 +215,15 @@
|
||||||
(and (equal 0 notification_count)
|
(and (equal 0 notification_count)
|
||||||
(equal 0 highlight_count)))
|
(equal 0 highlight_count)))
|
||||||
""
|
""
|
||||||
(format #("%s:%s" 0 5 (help-echo "Notifications:Highlights"))
|
(propertize (format #("%s:%s" 0 5 (help-echo "Notifications:Highlights"))
|
||||||
notification_count highlight_count))))
|
notification_count highlight_count)
|
||||||
|
'face 'highlight))))
|
||||||
|
|
||||||
(ement-taxy-define-column #("B" 0 1 (help-echo "Buffer exists for room")) ()
|
(ement-taxy-define-column #("B" 0 1 (help-echo "Buffer exists for room")) ()
|
||||||
(pcase-let ((`[,(cl-struct ement-room (local (map buffer))) ,_session] item))
|
(pcase-let ((`[,(cl-struct ement-room (local (map buffer))) ,_session] item))
|
||||||
(if buffer #("B" 0 1 (help-echo "Buffer exists for room")) " ")))
|
(if buffer
|
||||||
|
#("B" 0 1 (help-echo "Buffer exists for room"))
|
||||||
|
" ")))
|
||||||
|
|
||||||
(ement-taxy-define-column "Session" ()
|
(ement-taxy-define-column "Session" ()
|
||||||
(pcase-let ((`[,_room ,(cl-struct ement-session (user (cl-struct ement-user id)))] item))
|
(pcase-let ((`[,_room ,(cl-struct ement-session (user (cl-struct ement-user id)))] item))
|
||||||
|
|
Loading…
Add table
Reference in a new issue