Re:The single most useful Emacs feature
by RockyMcNuts on Tuesday December 06, 2011 @05:15PM
(#3321341)
record and play macro (someone had to mention)
(play macro 99 times)
[ Parent
| on HN ]
Also note that
C-u 0 C-x e
plays the macro until it rings the bell (e.g. runs out of buffer space or tries to forward-search for a name that doesn't exist. This is great when you don't know how many times it needs to be run.
Re:The single most useful Emacs feature
by vedang on Wednesday December 07, 2011 @02:45AM
(#3322950)
^ This. super-useful under appreciated keyboard macro feature.
Re:The single most useful Emacs feature
by jrockway on Thursday December 08, 2011 @01:42AM
(#3328041)
M-x 99 C-x e (play macro 99 times)
Actually, that would be M-9 M-9 C-x e or C-u 99 C-x e.
Re:The single most useful Emacs feature
by RockyMcNuts on Friday December 16, 2011 @01:43PM
(#3361710)
oops... yes, what you said. ie Esc 9 9 C-x e