Skip to content

Conversation

@amosbird
Copy link

Since #560 has been merged, we can also export xref items into a grep buffer.

@Kaspazza
Copy link

Kaspazza commented Sep 11, 2024

@oantolin Will this make consult-xref to be able to be exported to wgrep? Because I'm missing that feature a lot

@minad
Copy link
Contributor

minad commented Oct 1, 2024

@Kaspazza I believe so. I haven't tested the feature though. Did you try it, if it works for your use case?

@Kaspazza
Copy link

Kaspazza commented Oct 16, 2024

@minad I've just tried it, and it doesn't work from find file search (SPC-SPC in doom emacs)
with message "embark category project-file doesn't support writable export"

I'm using doom emacs
GNU Emacs 28.2 (build 2, aarch64-apple-darwin23.4.0, NS appkit-2487.50 Version 14.4 (Build 23E214)) of 2024-03-22

I've set embark to this commit:
(package! embark
:pin "86fc40909ba9506676a28d35879f8c091018ac42"
:recipe (:host github :repo "amosbird/embark"))

And made sure to bump the package and run doom sync -u and reload.

BTW if someone is looking to make it work, an option is to do embark-export first (C-c C-;) and then export to writable buffer (C-c C-e) <- this makes it work

@vseguip
Copy link

vseguip commented Feb 11, 2025

I tested this by copy&pasting the functions into my config and setting the exporter and they work (I can create a grep buffer and switch it to wgrep). I would also like to see this merged as it's super useful for my workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants