Comment on Learn Emacs: Keyboard MacrosparentComments−yuan14yOr just learn a little bit of Elisp, and do this: M-: (loop for i from ?a for j below 12 do (insert (format "#define %c %d\n" i j)))−jlarocco14yYeah, I considered that, but the situation comes up so infrequently I'd never remember the syntax. I use Python everyday anyway, so it almost comes naturally.
Comments
Or just learn a little bit of Elisp, and do this:
Yeah, I considered that, but the situation comes up so infrequently I'd never remember the syntax. I use Python everyday anyway, so it almost comes naturally.