[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: |
Lars Ingebrigtsen |
Subject: |
bug#47566: 28.0.50; diff-hl should use `repeat-mode' ... and not `smartrep' |
Date: |
Mon, 15 Nov 2021 06:26:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> What would be a general rule when repeating should be disabled?
> Looks like the most relevant event is when the minibuffer pops up
> in the middle of repeating sequence.
I think that sounds correct.
> What I'm going to try is a combination of minibuffer-depth and
> current-minibuffer-command. Then in pre-command-hook,
> current-minibuffer-command is 'execute-extended-command',
> but in post-command-hook it's 'hl-test'.
Sounds promising.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no