Subject: Re: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline

From: Eli Zaretskii <[email-masked]>
Date: Sun, 17 May 2020 19:42:49 +0300

> From: Arthur Miller <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sun, 17 May 2020 18:34:53 +0200
> 
> I have a technical question regarding this: is it possilbe to detect in
> elisp when pointer howers over part of a string, i.e. part of mode-name
> on a lighter, since a lighter is a button. Would this be quite involved
> or it can be implemented easily?

You need to define different help-echo strings for different parts of
the string, using text properties.  You can see how this is done in
bindings.el.