[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52815: Editable grep buffer
From: |
Daniel Martín |
Subject: |
bug#52815: Editable grep buffer |
Date: |
Mon, 27 Dec 2021 16:09:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) |
ndame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> 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).