elmacro icon indicating copy to clipboard operation
elmacro copied to clipboard

Does F3 work inside a macro?

Open Ypot opened this issue 3 years ago • 1 comments

Something is wrong. I got some time to try elmacro again, but if I use F3 inside a macro, it always shows "last-command-event" variable:

(defun last-macro2 () (interactive) (setq last-command-event 13) (org-return nil nil 1) (setq last-command-event 13))

Ypot avatar Apr 20 '22 07:04 Ypot

Good catch, it's because it calls kmacro-start-macro-or-insert-counter so I only take from the last one to kmacro-end-macro. I need to take the first one, but only starting from the end of the macro.

I need to think of a resilient algorithm to do that.

Silex avatar Apr 24 '22 14:04 Silex