[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: |
Mon, 15 Nov 2021 19:40:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> 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.
So the fix is pushed now.