Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I created a new macro and saved to .emacs/init.el:
[?f ?o ?o return ?b ?a ?r return])
How can I use this macro after restarting emacs?
You run that macro with M-x foobar.