Hello, There weren't any tests for kmacro.el, so I have written some. Two things that may yet need to be done: 1. These tests make extensive use of two macros, called kmacro-tests-should-call and kmacro-tests-should-not-call. They are context-creating macros which add advice to named functions for the duration of a test. I think that these two macros would be a useful addition to ERT, and I'll submit that idea as a separate patch. 2. I found several minor bugs in the process of writing these, leading to tests marked as :expected-result :failed. One is a way to create an empty keyboard macro using the mouse and the rest are ways to get kmacro-step-edit-macro to behave oddly. I haven't sent them to bug-gnu-emacs yet. When I do so would it be better to send them individually or put all the step-edit ones in one report? My copyright assignment paperwork was finished as of Nov 2.