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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 21 Sep 2024 21:15:02 +0300

> From: Juri Linkov <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sat, 21 Sep 2024 21:03:36 +0300
> 
> >> The problem is that the mode-line keymap can't be used without
> >> replacing the symbol 'mode-line' with 'tab-bar'.
> >
> > Should we close this bug with the above workaround?  Or would we like
> > to solve it in some other way?
> 
> Do you think it would be a good idea to inspect text properties
> on the mode-line strings when they are displayed on the tab-bar,
> and change the symbol 'mode-line' to 'tab-bar' in the 'keymap'
> property on the fly?

Sounds kludgey, TBH.  Besides, I'm not even sure this could be done
reliably, since mode-line-format could be very recursive.