repeat-help icon indicating copy to clipboard operation
repeat-help copied to clipboard

[Feature request]: provide a user option for `repeat-echo-function`

Open younger-1 opened this issue 2 years ago • 1 comments

repeat-echo-function is set to #'ignore in repeat-help-mode. I would like to reserve the built-in repeat-mode hint in echo area, which is neat and indicates that I am in repeat state.

I have a workaround by using advice, but it's not that elegent:

(use-package repeat-help
  :hook (repeat-mode . repeat-help-mode)
  :config
  (advice-add 'repeat-help-mode :after (lambda () (setq repeat-echo-function #'repeat-echo-message))))

IMHO, a user option for set repeat-echo-function is good to have, defaults to #'ignore is ok to me. What do you think? Any feedback is more than welcome!

younger-1 avatar May 01 '23 02:05 younger-1

would allow users to easily customize the behavior of the repeat-mode hint and choose whether to use the built-in hint or a custom message.

Majboor avatar May 01 '23 03:05 Majboor