David Kastrup <[email protected]> writes:

> With regard to functions: instead of using keyboard macros, you can
> first call some complex command like query-replace-regexp, then use
>
> C-x ESC ESC (translated from C-x <escape> <escape>) runs the command
> repeat-complex-command (found in global-map), which is an interactive
> compiled Lisp function in ‘simple.el’.
>
> It is bound to <again>, <redo>, C-x M-:, C-x M-ESC.
>
> (repeat-complex-command ARG)
>
> Edit and re-evaluate last complex command, or ARGth from last.
> A complex command is one which used the minibuffer.
> The command is placed in the minibuffer as a Lisp form for editing.
> The result is executed, repeating the command as changed.
> If the command has been changed or is not the most recent previous
> command it is added to the front of the command history.
> You can use the minibuffer history commands M-n and M-p
> to get different commands to edit and resubmit.
>
> [back]
>
> in order to get "a Lisp form for editing" which you can copy and paste
> into a function definition.


Is it possible to have the same thing for any command previously given, not
only the complex ones...?  Also `M-a', `C-f'...?

Rodolfo


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to