When I define keyboard macro with some input method enabled (lets say, english-dvorak), self-insert commands are repeated twice.

For example, if I define macro like this: F3insert chars asdfF4 and then hit F4, I will get the following line:

insert chars asdf

But if I'll use some input method: F3insert charsC-\asdfF4 , I will get:

insert chars aaooeeuu

Characters that were typed with english-dvorak input method enabled are repeated twice when macro is called. This happens with all input methods.

How can I fix this?

  • 1
    Not sure, but perhaps there's a bug here. Consider reporting it (M-x report-emacs-bug), if you don't get a helpful answer here. The Emacs developers will let you know if it is, in fact, a bug. – Drew Apr 28 '20 at 20:35
  • Turns out that it is a bug and it's fixed in Emacs 27. debbugs.gnu.org/cgi/bugreport.cgi?bug=40988 – Sergey May 1 '20 at 20:08
  • Thanks for reporting it. Please consider adding that as an answer here, to help others. (You can accept your own answer.) – Drew May 1 '20 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.