Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does F3 work inside a macro? #30

Open
Ypot opened this issue Apr 20, 2022 · 1 comment
Open

Does F3 work inside a macro? #30

Ypot opened this issue Apr 20, 2022 · 1 comment

Comments

@Ypot
Copy link

Ypot commented Apr 20, 2022

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))

@Silex
Copy link
Owner

Silex commented Apr 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants