From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: On converting from kbd macro to elisp code
Date: Fri, 08 Sep 2006 07:56:00 -0400 [thread overview]
Message-ID: <E1GLexk-0007Ly-JI@fencepost.gnu.org> (raw)
In-Reply-To: <BAY112-F876AB67CDD42514CC0736DA360@phx.gbl> (herberteuler@hotmail.com)
1. If keybindings are changed, the same keyboard macro may mean
different operations. Shall it be correct to convert a keyboard
macro to Lisp code that does exactly the same things as in the old
keybindings, or to convert a keyboard according to new keybindings?
It should convert based on the current key bindings.
So if you typed C-f, it should call forward-char.
2. Even if keybindings are not changed, the same keyboard macro may
mean different operations for different major modes and/or minor
modes. Does each mode need a conversion?
Again, it should operate based on the current bindings.
The point is to produce nice-looking Lisp code
that could be a good start for hand-editing.
next prev parent reply other threads:[~2006-09-08 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-07 10:29 On converting from kbd macro to elisp code Herbert Euler
2006-09-07 11:25 ` tomas
2006-09-08 11:56 ` Richard Stallman [this message]
2006-10-04 16:37 ` Stuart D. Herring
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=E1GLexk-0007Ly-JI@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).