From: Skip Montanaro <skip.montanaro@gmail.com>
To: jonetsu <jonetsu@teksavvy.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Saving macros defined on-the-fly (F3, F4)
Date: Tue, 22 Jan 2019 16:31:03 -0600 [thread overview]
Message-ID: <CANc-5UxA4idk30nEzq=35t5XUpvzm95MtcYm0tb2t=Lz3uq0LQ@mail.gmail.com> (raw)
In-Reply-To: <20190122162749.34f1ba3c@mevla>
> On Linux systems, is it possible to save a macro quickly defined using
> F3 and F4 and have it recalled at a later time and run by pressing
> F4 ?
Been awhile since I wanted to save (or even name) a keyboard macro, but try
C-x C-k n
to give it a name, or
C-x C-k b
to bind it to a key sequence. Once named, you can save its definition
across sessions with
M-x insert-kbd-macro RET
to insert it in the current buffer (typically one visiting ~/.emacs).
Not sure about the F3/F4 business. Those two keys have nothing to do
with macros in my world. I still use C-x ( and C-X ) (old habits die
hard). I presume somewhere in your setup you bound F3 and F4 to
commands which start and end macro definitions. At any rate, you can
read all about messing with macros here:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Keyboard-Macros.html#Keyboard-Macros
Skip
next prev parent reply other threads:[~2019-01-22 22:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-22 21:27 Saving macros defined on-the-fly (F3, F4) jonetsu
2019-01-22 22:31 ` Skip Montanaro [this message]
2019-01-23 9:02 ` Gregor Zattler
-- strict thread matches above, loose matches on Subject: below --
2019-01-27 7:39 Van L
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANc-5UxA4idk30nEzq=35t5XUpvzm95MtcYm0tb2t=Lz3uq0LQ@mail.gmail.com' \
--to=skip.montanaro@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=jonetsu@teksavvy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).