summaryrefslogtreecommitdiff
path: root/lisp/kmacro.el
Commit message (Collapse)AuthorAgeFilesLines
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (kmacro-call-macro): Fix spellings in docstrings.Juanma Barranquero2005-06-101-1/+1
|
* Use executing-kbd-macro-index variable.Kim F. Storm2005-05-021-21/+21
|
* (kmacro-end-macro): Isearch may store this commandKim F. Storm2005-03-301-4/+7
| | | | into the macro -- so ignore it when executing keyboard macro.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-1/+1
| | | | Change development version from 21.3.50 to 22.0.50.
* (kmacro-default-counter-format): New var.Luc Teirlinck2004-12-021-9/+12
| | | | | | | (kmacro-set-format): Use it. Delete `(printf format)' from prompt. (kmacro-display): Remove `nil' from `and' form. Delete call to `format' inside `message'. (kmacro-start-macro): Use `kmacro-default-counter-format'.
* (group kmacro): Add :version.Kim F. Storm2004-11-011-2/+13
| | | | | | (kmacro-keyboard-quit): New function to cleanup on C-g. (kmacro-start-macro): Set defining-kbd-macro to append when appending to last macro.
* (kmacro-insert-counter, kmacro-add-counter): Use andKim F. Storm2004-10-111-13/+18
| | | | | | | reset kmacro-initial-counter-value if set. (kmacro-set-counter): Only set kmacro-counter if defining or executing macro. Set kmacro-initial-counter-value otherwise. Never set both. (kmacro-display): Show macro counter if non-zero.
* (kmacro-lambda-form, kmacro-extract-lambda): Add.Kim F. Storm2004-09-301-9/+26
| | | | (kmacro-bind-to-key, kmacro-name-last-macro): Use kmacro-lambda-form.
* (kmacro-step-edit-prompt): Add "%s" format to message.Kim F. Storm2004-09-121-1/+2
|
* (kmacro-bind-to-key): Associate dedicated macroKim F. Storm2004-09-091-8/+39
| | | | | | | | | | counter and format with binding. (kmacro-name-last-macro): New defun. Like name-last-kbd-macro, but the declared macro uses own macro counter and format. Give symbol kmacro property. (kmacro-keymap): Bind kmacro-name-last-macro to n. (kmacro-start-macro, kmacro-end-macro, kmacro-call-macro) (kmacro-end-and-call-macro): Doc fix.
* * kmacro.el (kmacro-call-macro): Fix docstring.Juri Linkov2004-03-251-1/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+2
|
* (kmacro-keymap): Group related bindings inKim F. Storm2003-08-171-36/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialization for clarity. Bind C-s to start macro. Remove C-r binding. (kmacro-initial-counter-value): New defvar to hold initial counter value in case we set the value before defining a macro. (kmacro-insert-counter): Clear kmacro-initial-counter-value.. (kmacro-set-counter): Set kmacro-initial-counter-value if we are not defining or executing macro. Doc fix. (kmacro-add-counter): Clear kmacro-initial-counter-value. (kmacro-view-last-item, kmacro-view-item-no): New defvars used to temporarily view older elements on the macro ring without cycling the ring. (kmacro-display): Doc fix. (kmacro-exec-ring-item): New helper function. (kmacro-call-ring-2nd): Use it. (kmacro-call-ring-2nd-repeat): Doc fix. (kmacro-start-macro): Use (and clear) kmacro-initial-counter-value. (kmacro-end-or-call-macro): Execute last viewed macro (using kmacro-exec-ring-item) from ring if this follows kmacro-view-macro. This allows us to find a macro on the ring with C-x C-k C-v C-v ... and execute it (with C-k) without cycling the ring to bring it to the head of the ring. (kmacro-bind-to-key): Doc fix (describe reserved bindings). Allow binding to reserved keys without specifying C-x C-k prefix. Ask for confirmation if entered key sequence is already bound to a non-macro command. (kmacro-view-macro): Repeating command will show older elements on the macro ring; C-k will execute the last viewed macro. (kmacro-view-macro-repeat): Doc fix. Change its kmacro-repeat property from 'ring to 'head.
* (kmacro-end-and-call-macro): Doc fix.Richard M. Stallman2003-04-031-1/+5
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-18/+18
|
* (kmacro-step-edit-query): Use RET to execute rest ofKim F. Storm2002-09-201-3/+7
| | | | | | macro and terminate editing. (kmacro-step-edit-macro): Push previous macro onto ring if changed by step editing.
* (kmacro-start-macro): Doc fix.Kim F. Storm2002-09-131-1/+1
|
* (kmacro-keymap): Changed bindings:Kim F. Storm2002-09-121-2/+2
| | | | C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
* *** empty log message ***Kim F. Storm2002-09-101-1/+2
|
* (kmacro-call-macro): Rephrase repeat prompt.Kim F. Storm2002-09-101-10/+23
| | | | | | | | (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.
* (kmacro-call-macro): Deal with a non-numeric prefix arg.Miles Bader2002-09-101-2/+7
|
* (kmacro-end-and-call-macro): New command to end andKim F. Storm2002-09-081-3/+362
| | | | | | | | | | | | | | | 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.
* Changed default bindings from F7/F8 to F3/F4.Kim F. Storm2002-08-291-94/+165
| | | | | | | | | | | | | | | 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.
* (kmacro-start-macro): Doc fix.Andreas Schwab2002-08-271-1/+1
|
* Bind C-x C-k r to apply-macro-to-region-lines.Kim F. Storm2002-08-201-0/+1
|
* Major rework based on discussions with RMS.Kim F. Storm2002-08-191-198/+490
| | | | | | 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.
* Passed it through checkdoc. Moved `provide' to the end, where it belongs.Stefan Monnier2002-06-291-16/+16
|
* Fixed copyright and keywords.Kim F. Storm2002-06-281-3/+2
|
* New file.Kim F. Storm2002-06-281-0/+358