unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to get keyboard macro that was just run?
@ 2023-06-18 14:28 Okamsn
  2023-06-18 15:53 ` Eduardo Ochs
  0 siblings, 1 reply; 7+ messages in thread
From: Okamsn @ 2023-06-18 14:28 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-01 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-18 14:28 How to get keyboard macro that was just run? Okamsn
2023-06-18 15:53 ` Eduardo Ochs
2023-06-18 17:05   ` Okamsn
2023-06-18 17:13     ` [External] : " Drew Adams
2023-06-18 17:50       ` Okamsn
2023-07-01 21:07         ` Okamsn
2023-06-18 17:13     ` Okamsn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).