Add configuration for grep-edit-mode - #944
Conversation
|
|
||
| ;; `wgrep' integration | ||
| (when (fboundp 'wgrep-setup) | ||
| (cond |
There was a problem hiding this comment.
Is it possible to use both wgrep and grep-edit-mode in the same emacs session?
There was a problem hiding this comment.
Technically yes, they implement a similar grep-mode <-> editable grep-mode behavior. But I believe the reason most people installed wgrep is for this editing grep result feature, which precedes grep-edit-mode by far (as it implements atomic updates, could be reverted, etc). The most benefit of grep-edit-mode is that it's built-in, so I consider it as a fallback as for now.
There was a problem hiding this comment.
Lets split them then. I use wgrep most with dired, not grep.
There was a problem hiding this comment.
Lets split them then. I use wgrep most with dired, not grep.
Maybe you're using wdired-mode
Brief summary of what the package does
grep-edit-mode is Emacs 31's built-in alternative to wgrep. Wgrep is more feature-complete, so I bind it as a fallback when wgrep is not available.
Direct link to the package repository
https://github.com/emacs-mirror/emacs/blob/emacs-31/lisp/progmodes/grep.el#L1125
Checklist
Assume you're working on
mpcmode:M-x checkdocis happy. Don't manually write(provide 'evil-collection-mpc),M-x checkdoccan do it automatically for youevil-collection-mpc-setupwithdefunevil-collection-mpc-mode-mapswithdefconstevil-collection-mpc-