bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49208: 28.0.50; project-find-regexp's xref-mode result buffer is not


From: Robert Pluim
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

>>>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]