]> git.eshelyaron.com Git - emacs.git/commit
Make using Edmacro easier for long sequences of keys
authorEarl Hyatt <okamsn@protonmail.com>
Sat, 19 Aug 2023 22:26:45 +0000 (18:26 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Sep 2023 09:50:51 +0000 (12:50 +0300)
commitf25cd560654e25b1fb1b65a571a5d93059b46a9d
tree62ad89221569417dff4cd650f47c3580a86338fa
parentd9efc9aa0febda17bfcb3d0c1a1f1ee36582d9e4
Make using Edmacro easier for long sequences of keys

* lisp/edmacro.el (edmacro-set-macro-to-region-lines)
(edmacro-reverse-key-order): New command and user option to
make working with longer lists of keys, such as from
'kmacro-edit-lossage', easier.
(edit-kbd-macro): Move regexps used to identify parts of
buffer to internal variables.
(edmacro--macro-lines-regexp, edmacro-mode-font-lock-keywords):
Allow noting whether the most recent line of keys is displayed
first.
(edmacro-mode-map): Bind the new command to 'C-c C-r'.
(edmacro-mode): Describe the new command in the mode
documentation string.

* doc/emacs/kmacro.texi (Edit Keyboard Macro): Mention
'edmacro-insert-key' and the newly added
'edmacro-set-macro-to-region-lines' and
'edmacro-reverse-key-line-order'.

* etc/NEWS (Edmacro): Add section describing the new features.

(Bug#65605)
doc/emacs/kmacro.texi
etc/NEWS
lisp/edmacro.el