I have a named-and-saved keyboard macro that I want to apply to all regular expression matches. How to do that?
(Related: I found this stackoverflow post: Running a macro till the end of text file in Emacs. It kind of works for now, but it is not satisfactory for the following reasons:
- Not aesthetically pleasing: why run for all lines when you want to run for all matches?
- Error messages: because the macro is supposed to be run for all matches and not for all lines.)
elisp-macros
. Elisp macros have nothing to do with keyboard macros.