all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 49208@debbugs.gnu.org, Christian Tietze <me@christiantietze.de>
Subject: bug#49208: 28.0.50; project-find-regexp's xref-mode result buffer is not editable
Date: Thu, 24 Jun 2021 18:29:24 +0200	[thread overview]
Message-ID: <87im23ql97.fsf@gmail.com> (raw)
In-Reply-To: <87wnqji6z9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 24 Jun 2021 18:04:58 +0200")

>>>>> On Thu, 24 Jun 2021 18:04:58 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:

    Lars> "Christian Tietze" <me@christiantietze.de> writes:
    >> TL;DR: The `xref-mode' results of `project-find-regexp' are not editable. Something like `occur-edit-mode' is missing. 
    >> 
    >> 1) Open a project via C-x p p
    >> 2) Select 'g' to find in project (project-find-regexp)
    >> 3) Search for a phrase that produces results
    >> 4) In the resulting Xref buffer, try to edit the results

    Lars> Like grep, occur and many other similar commands, xref-mode is a
    Lars> special-mode buffer, and those buffers seldom allow any sort of
    Lars> editing.  But if you want to, you can hit `C-x C-q' and then edit
    Lars> however much you want (in any of these modes).

    Lars> So I'm not sure I quite understand the feature request.

You want to edit the buffer so that when you 'apply' the resulting
changed buffer, emacs reflects those changes in the original files.

See eg wgrep:

    ## Summary:

    wgrep allows you to edit a grep buffer and apply those changes to
    the file buffer like `sed` interactively. No need to learn sed
    script, just learn Emacs.

Robert
-- 





  reply	other threads:[~2021-06-24 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 13:49 bug#49208: 28.0.50; project-find-regexp's xref-mode result buffer is not editable Christian Tietze
2021-06-24 16:04 ` Lars Ingebrigtsen
2021-06-24 16:29   ` Robert Pluim [this message]
2021-06-24 16:56     ` Lars Ingebrigtsen
2021-06-24 19:40       ` Christian Tietze
2021-06-24 20:52         ` Juri Linkov

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

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

  git send-email \
    --in-reply-to=87im23ql97.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=49208@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=me@christiantietze.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.