Subject: bug#77224: [PATCH] New minor mode 'cursor-indicators-mode'

From: Eli Zaretskii <[email-masked]>
Date: Thu, 27 Mar 2025 18:02:36 +0200

> From: Elijah Gabe Pérez <[email-masked]>
> Date: Thu, 27 Mar 2025 08:53:25 -0600
> Cc: [email-masked], [email-masked], 
> 	Juri Linkov <[email-masked]>
> 
> Eli Zaretskii <[email-masked]> writes:
> 
>  Btw, a possibly even better way is to modify the cursor looks from the
>  hooks of the relevant commands, like overwrite-mode.  If some of them
>  don't have a hook, we could add a hook.  This is better because it
>  doesn't unnecessarily "punish" Emacs anywhere else, only the commands
>  that could affect the cursor.
> 
> But what if user prefer using a lambda instead a function? For example for a specific mode or action from a
> key binding package such as evil or meow

Sorry, I don't understand: what lambda?  Aren't all the modes you want
to catch normal minor modes with a hook?

> also i don't know if buffer-read-only have a proper hook.

read-only-mode does have a hook.