iaw4
2013-12-20 00:42:08 UTC
dear emacs experts---is there a command that repeats a command or keyboard macro until the bell rings?
for example, I may have one macro that I named to 'search-for-xxx-and-transpose-word'. I now want to write another macro that applies this first macro to all the .tex files in my directory. Easy---do a dired on all .tex files, and create this macro. it should 'e' into the file, go to the beginning, invoke this macro a million times, save the file, quit the file, and go to the next .tex file. all good, except the bell will ring when there are fewer than a million xxx's in my file, and the macro will die.
I really need a replacement for c-u 9999999 c-x e .
easy?
/iaw
for example, I may have one macro that I named to 'search-for-xxx-and-transpose-word'. I now want to write another macro that applies this first macro to all the .tex files in my directory. Easy---do a dired on all .tex files, and create this macro. it should 'e' into the file, go to the beginning, invoke this macro a million times, save the file, quit the file, and go to the next .tex file. all good, except the bell will ring when there are fewer than a million xxx's in my file, and the macro will die.
I really need a replacement for c-u 9999999 c-x e .
easy?
/iaw