Subject: Re: bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu

From: Eval EXEC <[email-masked]>
Date: Thu, 05 Sep 2024 16:23:33 +0800

Juri Linkov <[email-masked]> writes:

>>>> I'm using tab-bar-mode, and I've included `tab-bar-format-global` in
>>>> `tab-bar-format`.  This displays `global-mode-string` on the tab-bar.
>>>>
>>>> However, in `global-mode-string`, I have `mu4e`.  The tab-bar seems to
>>>> remove the hover and mouse click actions from `global-mode-string`.
>>>
>>> Please show your `global-mode-string` with `mu4e` in it.
>>
>> I execute describe-variable global-mode-string, it's:
>>
>> global-mode-string is a variable defined in xdisp.c.
>>
>> Value
>> ((:eval (mu4e--modeline-string)) (t (:eval (lsp--progress-status)))
>>  ((t lsp-java-progress-string)) (:eval (exec/git-mode-string))
>>  (:eval (exec/gc-mode-string)) flycheck-mode-line)
>
> Also please eval these calls and show their return values.

1. (mu4e--modeline-string) :

#(" 🌀0/0 " 1 2 (help-echo "mu4e favorite bookmark 'Unread messages':
	flag:unread

number of matches: 0
unread messages: 0
changes since baseline: +0
" mouse-face mode-line-highlight keymap (mode-line keymap (mouse-1 . mu4e-jump-to-favorite) (mouse-2 . mu4e-jump-to-favorite) (mouse-3 . mu4e-jump-to-favorite))) 2 3 (mouse-face mode-line-highlight keymap (mode-line keymap (mouse-1 . mu4e-jump-to-favorite) (mouse-2 . mu4e-jump-to-favorite) (mouse-3 . mu4e-jump-to-favorite)) face mu4e-header-key-face help-echo "mu4e favorite bookmark 'Unread messages':
	flag:unread

number of matches: 0
unread messages: 0
changes since baseline: +0
") 3 4 (help-echo "mu4e favorite bookmark 'Unread messages':
	flag:unread

number of matches: 0
unread messages: 0
changes since baseline: +0
" mouse-face mode-line-highlight keymap (mode-line keymap (mouse-1 . mu4e-jump-to-favorite) (mouse-2 . mu4e-jump-to-favorite) (mouse-3 . mu4e-jump-to-favorite))) 4 5 (mouse-face mode-line-highlight keymap (mode-line keymap (mouse-1 . mu4e-jump-to-favorite) (mouse-2 . mu4e-jump-to-favorite) (mouse-3 . mu4e-jump-to-favorite)) help-echo "mu4e favorite bookmark 'Unread messages':
	flag:unread

number of matches: 0
unread messages: 0
changes since baseline: +0
") 5 6 (help-echo "mu4e favorite bookmark 'Unread messages':
	flag:unread

number of matches: 0
unread messages: 0
changes since baseline: +0
" mouse-face mode-line-highlight keymap (mode-line keymap (mouse-1 . mu4e-jump-to-favorite) (mouse-2 . mu4e-jump-to-favorite) (mouse-3 . mu4e-jump-to-favorite))))
2. (lsp--progress-status)
;; it's empty string
3. lsp-java-progress-string
;; it's empty string too
4: (exec/git-mode-string)
it's nil
5:  (exec/gc-mode-string)
It's empty string
5. flycheck-mode-line
it's `(:eval (flycheck-status-emoji-mode-line-text))`

Addition, I eval (flycheck-status-emoji-mode-line-text) got:
(" " "😐")
--