emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On converting from kbd macro to elisp code


From: Richard Stallman
Subject: Re: On converting from kbd macro to elisp code
Date: Fri, 08 Sep 2006 07:56:00 -0400

    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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]