I'm using wgrep quite often for refactoring and generally it performs quite well. However, there are some minor annoyances which I hope can be resolved:
After doing an
rgrepsearch, changing towgrepand performing the changes in thergrepbuffer,wgrepwill open all files that are to be changed and executes the modifications. However, when doing so, the files are opened normally in emacs, thus they will undergo the normal mode-loading stuff, which can take quite some time if this action involves large source files which are parsed.Is it possible modify wgrep such that it opens the files in the most basic mode (I guess fundamental-mode
normal-mode) instead?After executing the changes,
wgrepwill not close any newly opened buffers.Is it possible to change wgrep such that it will automatically close any buffers that were opened during the execution phase (i.e. buffers which were not opened before the wgrep procedure started).
Finally, the meta question: Is this rather an issue to be posted to the issue tracker of the wgrep developer or is it a proper StackOverflow question?