Comment by Karrot_Kream

4 days ago

emacs macros aren't the same. You need to look at the file, observe a pattern, then start recording the macro and hope the pattern holds. An LLM can just do this.

And that's why I mentionned grep-mode, and such other tools. Here is some videos about what I'm talking about

https://youtu.be/f2mQXNnChwc?t=2135

https://youtu.be/zxS3zXwV0PU

And for Vim

https://youtu.be/wOdL2T4hANk

Standard search and replace in other tools pales in comparison.

  • I am familiar with grep-mode and have used that and macro recording for years. I've been using emacs for 20 years. grep-mode (these days I use rg) just brings up all the matches which lets me use a macro that I recorded. That's not the same as telling Claude Code to just make the change. Macros aren't table stakes but find-replace across projects is table stakes in pretty much any post-emacs/vim code editor (and both emacs and vimlikes obviously have plenty of support for this.)