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


View this message in rfc822 format

From: Ramesh Nedunchezian <rameshnedunchezian <at> outlook.com>
To: 60353 <at> debbugs.gnu.org
Cc: Juri Linkov <juri <at> linkov.net>
Subject: bug#60353: 30.0.50; Make `repeat-echo-function` as a LIST of functions
Date: Tue, 27 Dec 2022 15:42:29 +0530
I need some visual cues for when I am in "repeat-mode".

For example, down below I change the cursor shape and colour depending



Right now `repeat-echo-function` is NOT a list.  This means that I
LOSE the ability to see the repeatabe keys in the echo area.

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.

(setq 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)))))











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

Previous Next


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