In my init file, I have these bindings:
(global-set-key (kbd "C-x S-SPC") (kbd ")")) (global-set-key (kbd "S-SPC") (kbd "("))
Now, starting with empty buffer, if I define this keyboard macro:
S-SPC f o o C-x S-SPC RET
Command: last-kbd-macro Key: none Macro: S-SPC (foo ;; self-insert-command * 4 C-x S-SPC ) ;; self-insert-command RET ;; newline
Then when I repeat my macro, I end up with the following buffer contents:
Obviously I want the second line to be exactly like the first one, how can I fix it?