[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get keyboard macro that was just run?
From: |
Okamsn |
Subject: |
How to get keyboard macro that was just run? |
Date: |
Sun, 18 Jun 2023 14:28:56 +0000 |
Hello,
The package Meow has commands to play back a keyboard macro at multiple
locations, but these commands are limited to running the last defined
keyboard macro.
I am wondering whether there is a way that it could play back the
keyboard macro that was just run for the other locations by hooking into
or advising some feature. My hope is that it would then be able to work
automatically with commands like `consult-kmacro`, which allows one to
run a keyboard macro by selecting it using completion, without first
having to rotate the `kmacro-ring`.
I have tried checking the value of `executing-kbd-macro` in
`kbd-macro-termination-hook`, but the value was nil.
Does Emacs make this information available?
Thank you.
- How to get keyboard macro that was just run?,
Okamsn <=