[Top][All Lists]

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

Re: Editing keyboard macros

From: Kim F. Storm
Subject: Re: Editing keyboard macros
Date: Thu, 30 Sep 2004 01:33:47 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Jay Belanger <address@hidden> writes:

> When a keyboard macro is edited, it is assumed that the macro is an
> array.  However, `kmacro-name-last-macro' and 'kmacro-bind-to-key' now
> put the macro in a lambda expression, and so `edit-kbd-macro' gives an
> error if you try to edit a named macro.  Should the naming of macros
> be reverted to storing them as arrays?  

There are good reasons for the change to lambda forms (to handle
per-macro counter and counter format), so that is not an option.

> (`edit-kbd-macro' could be partially rewritten, I suppose, but that
> would be more work.  I assume that the named keyboard macros are
> stored as lambda expressions so they can be called from lisp (which
> would make the docstrings out of date).  But the ability to edit a
> keyboard macro seems like too much to lose.)

I will fix edit-kbd-macro to handle kmacro generated lambda forms.

Thanks for reporting the problem.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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