From: Ferdinand <Ferdinand.Gruebler@gmx.de>
To: "John Wiegley" <johnw@newartisans.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: how to edit already defined macros
Date: Thu, 2 Aug 2012 13:22:13 +0200 [thread overview]
Message-ID: <4AC6D107-A92C-4D8D-9530-C44F7472F8AA@gmx.de> (raw)
In-Reply-To: <m21ujqhscy.fsf@newartisans.com>
On Aug 2, 2012, at 5:42 AM, "John Wiegley" <johnw@newartisans.com> wrote:
>>>>>> Ferdinand <Ferdinand.Gruebler@gmx.de> writes:
>
>> I made a macro, gave it a name and inserted it as lisp-code (M-x
>> insert-kbd-macro) in the .emacs file (so that it gets loaded on startup).
>
>> But now, what do I do if I made a slight mistake and want to change
>> something in the macro?
>
> C-x C-k RET. And be amazed.
>
> John
>
Hi John,
ok, that brings me to the edit macro-buffer. And of course I can change things there.
But these changes only persist for one session (as far as I know).
In my .emacs file is still the old lisp-code that is not affected by changes in the macro-buffer and that will get loaded again the next time I open emacs.
So, how can I for instance transform the (changed) macro-buffer into lisp code, so that I can replace my original lisp code?
next prev parent reply other threads:[~2012-08-02 11:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 22:45 how to edit already defined macros Ferdinand
2012-08-02 3:42 ` John Wiegley
2012-08-02 11:22 ` Ferdinand [this message]
2012-08-02 12:40 ` Doug Lewan
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=4AC6D107-A92C-4D8D-9530-C44F7472F8AA@gmx.de \
--to=ferdinand.gruebler@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=johnw@newartisans.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).