severity 35486 minor tags 35486 + patch quit npostavs@gmail.com writes: > I think the kmacro-bind-to-key is important to preserve the way macro > counters work, but it seems like we should be able to add some special > casing to at least get something like this: > > (fset 'approve > (lambda (&optional arg) > "Keyboard macro." > (interactive "p") > (kmacro-exec-ring-item (quote ([?\M-x ?u ?n ?d ?i ?g ?e ?s ?t ?i ?f ?y return ?d ?d ?\C-x ?q ?d ?e ?\M-k] 0 "%d")) arg))) Following an existing FIXME, the following patch produces (fset 'approve (kmacro-lambda-form [?\M-x ?u ?n ?d ?i ?g ?e ?s ?t ?i ?f ?y return ?d ?d ?\C-x ?q ?d ?e ?\M-k] 0 "%d"))