unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 52815@debbugs.gnu.org
Subject: bug#52815: Editable grep buffer
Date: Wed, 29 Dec 2021 06:31:48 +0000	[thread overview]
Message-ID: <R3lZX5UP0sKjZRAJFv5zaH5pWOpWpNg_B2Y2KXc30x-Q2hD4fqnJQ2TEv8vKeoYB3bPTdB8-nbRV7fg-kJ1a0IF3PCffX5nSXoYxKOoSj6U=@protonmail.com> (raw)
In-Reply-To: <CADwFkmnB2LGrWu=UDL5dMFviCEMaQ6aHrE2Zw_Qc7WdqHUH7KA@mail.gmail.com>


> The alternative is to rewrite wgrep.el.

Haven't checked the code in occur, but  if propagating the
changes back to the original location is implemented there,
then I'd think the same code would work for grep too by adding
switching to the relevant file before applying the changes.

Maybe that code could be extracted and emacs could have a generic
mechanism for showing lines from other files in a buffer and
propagating changes there back to the original location.





  reply	other threads:[~2021-12-29  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 10:02 bug#52815: Editable grep buffer ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-27 15:09 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-29  0:29 ` Stefan Kangas
2021-12-29  6:31   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-12-29 16:01   ` Richard Stallman
2021-12-29 20:51     ` Stefan Kangas
2021-12-31  4:24       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='R3lZX5UP0sKjZRAJFv5zaH5pWOpWpNg_B2Y2KXc30x-Q2hD4fqnJQ2TEv8vKeoYB3bPTdB8-nbRV7fg-kJ1a0IF3PCffX5nSXoYxKOoSj6U=@protonmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52815@debbugs.gnu.org \
    --cc=laszlomail@protonmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).