Subject: Re: bug#52815: Editable grep buffer

From: Daniel Martín <[email-masked]>
Date: Mon, 27 Dec 2021 16:09:48 +0100

ndame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> Commands which produce a *grep* buffer (grep, grep-find) should allow the user to edit the results and apply them to the original locations like Occur does.
>
> There is the external package wgrep, but if Occur provides this, then the user logically expects that the similar *grep* results can also be edited in place out of the box.
>
> https://github.com/mhayashi1120/Emacs-wgrep

+1.  Emacs offers similar functionality for dired (wdired), which is
very popular.

This writable buffer package could also work on *xref* buffers.  I think
that the new package should be designed in a way where it delegates part
of its work to some "adapters" that convert between the buffer's
contents and the *grep* buffer's contents (which are stable over time).