GNU bug report logs - #60353
30.0.50; Make `repeat-echo-function` as a LIST of functions

Previous Next

Package: emacs;

Reported by: Ramesh Nedunchezian <rameshnedunchezian <at> outlook.com>

Date: Tue, 27 Dec 2022 10:19:01 UTC

Severity: normal

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Ramesh Nedunchezian <rameshnedunchezian <at> outlook.com>
Cc: 60353 <at> debbugs.gnu.org
Subject: Re: bug#60353: 30.0.50; Make `repeat-echo-function` as a LIST of
 functions
Date: Wed, 28 Dec 2022 19:59:13 +0200
close 60353 30.0.50
thanks

>> If `repeat-echo-function` is SOMEHOW repelaced with a list of
>> functions, I can have BOTH the cues for repeatable state--the echo
>> area message, and the cursor shape.
>
> A list of functions could be supported as well.
> Until it's implemented you could use `add-function`
> with something like this:
>
> (add-function
>  :after repeat-echo-function
>  (defun my-repeat-echo-function (keymap)
>    (cond
>     (keymap
>      (set-cursor-color "black")
>      (setq cursor-type '(hbar . 7)))
>     (t
>      (set-cursor-color "red")
>      (setq cursor-type t)))))

I added a hint that suggests to use `add-function`
in the docstring of `repeat-echo-function`.
So probably this report could closed now.
It could be reopened if you have more questions.




This bug report was last modified 2 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.