repeat-mode
is completely failing to operate as advertised. I get the message saying it's enabled, and thereafter Emacs carries on exactly as if it has not been enabled, with supposed command-repeating keys instead being inserted into the buffer. In other words, I have never seen repeat mode work. No error messages appear. How might I go about debugging this?
Example sequence:
- Split a frame into two or more windows
M-x repeat-mode
(I have it onC-R
). The "mode enabled" message appears.C-x o
switches buffer as expected.o
(or uppercaseO
) is inserted instead of repeatingswitch-buffer
. No error, no debugger withtoggle-debug-on-error
.M-x repeat-mode
. The "mode disabled" message appears.
Ditto for the window-resizing suite of commands.
M-x describe-repeat-maps
shows the window movement and resizing suites plus several others as expected. But no!
Emacs 28.1 with native comp, Manjaro, StumpWM.
Repeat mode is enabled for 23 commands and 9 keymaps; see ‘describe-repeat-maps’
. Try doingM-x describe-repeat-maps
and seeing ifother-window
is in there? Emacs 29.0.50 built about two months ago from git.emacs -Q
? If not, try that. If no problem that way, then bisect your init file to find the culprit.emacs -Q
, blast it. Unfortunately my config is simply too complex to bisect, a web of interlocking autoloads in 96 files. Anyway, it's obviously my problem to solve alone. I was hoping somebody knew the mechanism thatrepeat-mode
uses to intercept keystrokes. Thanks for your help anyway guys. I'll leave this up for a while in case I come up with a solution. In the meantime, it's back toC-x z
for me.repeat-mode
works. Surely you can load some subset of your setup and check that, to at least narrow the search space somewhat. Anyway, good luck.