purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.82k stars 2.04k forks source link

presses one key to turn into many keys #830

Closed cntommy closed 1 year ago

cntommy commented 1 year ago

hello @purcell in my Emacs@28.2 (9.0), sometimes I presses one key to turn into many keys(e.g. press a print afff), but I don't know how to troubleshoot I wonder if some configs conflict? thanks for your help!

purcell commented 1 year ago

Hmm, not sure, sorry. Perhaps after it happens you can try something like M-x view-lossage and then see if there's a repeatable sequence of actions you can use to reproduce the issue.

suliveevil commented 1 year ago

This may help.

https://github.com/lastquestion/explain-pause-mode

cntommy commented 1 year ago

Hmm, not sure, sorry. Perhaps after it happens you can try something like M-x view-lossage and then see if there's a repeatable sequence of actions you can use to reproduce the issue.

I came across this problem just now again, when I press "abcdefg", it print "jajbjcjdjejfjg", and I try M-x view-lossage ,the screenshot is as follows

image
cntommy commented 1 year ago

This may help.

https://github.com/lastquestion/explain-pause-mode

thanks, I'll try later

purcell commented 1 year ago

Another thing to try would be, when a key is repeating, hit C-h k ("describe-key") and then press the key again. It might show exactly what command is being run, and also whether there is some strange advice enabled.

cntommy commented 1 year ago

Another thing to try would be, when a key is repeating, hit C-h k ("describe-key") and then press the key again. It might show exactly what command is being run, and also whether there is some strange advice enabled.

this time I press "a", it prints "ma", and I use C-h k, it shows:

image

seems an extra "m" will always be printed before whicherver key I press.

ps:after google, i found the problem might caused by chinese input method

purcell commented 1 year ago

ps:after google, i found the problem might caused by chinese input method

Ah, okay, that would make sense.