1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Richard M. Stallman
4231e11f43 (kmacro-end-and-call-macro): Doc fix. 2003-04-03 23:01:45 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Kim F. Storm
5190c95ed4 (kmacro-step-edit-query): Use RET to execute rest of
macro and terminate editing.
(kmacro-step-edit-macro): Push previous macro onto ring if changed
by step editing.
2002-09-20 20:38:18 +00:00
Kim F. Storm
7fdc0c130e (kmacro-start-macro): Doc fix. 2002-09-13 07:18:27 +00:00
Kim F. Storm
28241c47e7 (kmacro-keymap): Changed bindings:
C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
2002-09-12 21:52:26 +00:00
Kim F. Storm
482b44d88e *** empty log message *** 2002-09-10 22:19:39 +00:00
Kim F. Storm
1c59ca7881 (kmacro-call-macro): Rephrase repeat prompt.
(kmacro-step-edit-map): Bind "A" to `append-end'.
(kmacro-step-edit-prompt): Fix prompt.
(kmacro-step-edit-query): Handle `append-end' response.
(kmacro-step-edit-pre-command): Activate `append-end' at end of
macro when required.
2002-09-10 22:08:45 +00:00
Miles Bader
1698f7888a (kmacro-call-macro): Deal with a non-numeric prefix arg. 2002-09-10 01:23:22 +00:00
Kim F. Storm
723d6a64c0 (kmacro-end-and-call-macro): New command to end and
call keyboard macro in one step. Bind it to C-x e by default.
(kmacro-call-macro): Use format-kbd-macro.
(kmacro-step-edit-macro): New command to interactively step edit
and execute last keyboard macro.
(kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
(kmacro-step-edit-mini-window-height): New custom var.
(kmacro-step-edit-map): New keymap (parent is query-replace-map).
(kmacro-step-edit-prefix-commands): New var.
(kmacro-step-edit-prompt, kmacro-step-edit-query)
(kmacro-step-edit-insert, kmacro-step-edit-pre-command)
(kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
New aux functions for step editing keyboard macros.
2002-09-08 20:38:04 +00:00
Kim F. Storm
c8bf445eb5 Changed default bindings from F7/F8 to F3/F4.
Changed default binding of C-x e to kmacro-end-or-call-macro.
(kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
variables.
(kmacro-get-prefix-arg): New function.
(kmacro-repeat-on-last-key): Renamed from kmacro-repeat-loop and improved.
Callers changed.
(kmacro-call-macro): Repeat macro by repeating last key or
key defined in kmacro-call-repeat-key.  New third arg non-nil
means to end current macro.
(kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
to get repeat last key functionality.
(kmacro-start-macro-or-insert-counter): Improve doc string.
2002-08-29 13:06:26 +00:00
Andreas Schwab
63b833de37 (kmacro-start-macro): Doc fix. 2002-08-27 15:06:13 +00:00
Kim F. Storm
bcaf8c79fb Bind C-x C-k r to apply-macro-to-region-lines. 2002-08-20 10:07:40 +00:00
Kim F. Storm
1fa13bd434 Major rework based on discussions with RMS.
Most important change is that C-x C-k is now bound to a keymap
with keyboard macro related commands.  The original binding on
C-x C-k is moved to C-x C-k e.
2002-08-19 23:05:29 +00:00
Stefan Monnier
7e30f58e10 Passed it through checkdoc. Moved `provide' to the end, where it belongs. 2002-06-29 20:43:59 +00:00
Kim F. Storm
306d2bb32f Fixed copyright and keywords. 2002-06-28 22:45:16 +00:00
Kim F. Storm
c30c4abe71 New file. 2002-06-28 22:37:18 +00:00