Just a quickie. I was browsing around in Aaron Hawley's Giant Emacs Reference Sheet when I came across this little ditty:
C-x d *.c RET Q int RET long
It was described as “replace ‘long’ for ‘int’ in .c files.” I thought, “Boy, that's really handy” and then I realized that it's just
diredand list all the .c files
- Do a query replace substituting
something that I've probably blogged about in the past.
Still, it does seem to gain power when you think of it as one command. And, if for only a moment, I thought I'd found something new and wonderful.