-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Make "*Embark Occur*" supporting wgrep for some special command #47
Comments
I wouldn't want to reinvent |
it’s ok for me |
I second @jixiuf enthusiasm on this. :) |
With this code, "Embark Occur" should support wgrep for Edit: still has bug, and need wgrep change something in https://github.com/mhayashi1120/Emacs-wgrep/blob/master/wgrep.el#L416 |
Thanks, but I am not able to save the changes with it. I can edit the Embark Occur buffer, replace something in it with |
I'm sorry I took so long, this turned out to be trivial to do! I added an exporter for grep mode results, and I associated it to category Once you've done that, running |
Oh, I spoke too soon. The grep mode buffers produced by export seem to work fine as grep buffers (pressing |
OK, I inserted a fake header into the exported buffer, and now wgrep works. If wgrep accepts your pull request, @jixiuf, then we could remove this fake header. |
Please test, and reopen or file another issue if there is any problem. |
@jixiuf, I noticed that Emacs 28 will report |
Quick update: Embark now uses the grep exporter for the |
Xref provides helpful commands for code navigation and discovery, such as
xref-find-definitions
andproject-find-regexp
,andproject-find-regexp
supportripgrep
now( on emacs master) .When a xref query hits multiple candidates Emacs shows a Xref
buffer with the various candidates and their location.
On emacs master, it support using
completing-read
showing the multiple candidates now withxref--show-defs-minibuffer
https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00707.html
this is a screenshot of
project-find-regexp
in minibufferAnd I can export the result to "Embark Occur" with
embark-occur
So I think it is great for "Embark Occur" support
wgrep
like ivy-occur/grep,I think minad/consult#46 can benefit from it too, once consult-rg/ag is implemented.
The text was updated successfully, but these errors were encountered: