[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartr
From: |
Juri Linkov |
Subject: |
bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep' |
Date: |
Wed, 14 Apr 2021 23:21:08 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Also, AFAICT the indication (whether in the mode-line or in the echo
>> area) only shows up once I start repeating a key (e.g. after C-x o o),
>> not when I first hit a repeatable key (e.g. after C-x o).
>
> Strange, I see it immediately after C-x o.
Could you please try to move 'force-mode-line-update' out of condition,
so it updates the mode-line on activating the repeat map as well:
#+begin_src emacs-lisp
(defun repeat-echo-mode-line (map)
"Display the repeat indicator in the mode line."
(if map
(unless (assq 'repeat-in-progress mode-line-modes)
(add-to-list 'mode-line-modes (list 'repeat-in-progress
repeat-echo-mode-line-string))))
(force-mode-line-update t))
#+end_src
Maybe your mode-line is not updated immediately?
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', (continued)
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/11
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/12
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/10
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Dmitry Gutov, 2021/04/10
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/12
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Dmitry Gutov, 2021/04/13
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Kévin Le Gouguec, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Kévin Le Gouguec, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep',
Juri Linkov <=
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Kévin Le Gouguec, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Juri Linkov, 2021/04/14
- bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep', Dmitry Gutov, 2021/04/14