Skip to content
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

embark-export: Support grep-use-headings #719

Open
minad opened this issue May 16, 2024 · 2 comments
Open

embark-export: Support grep-use-headings #719

minad opened this issue May 16, 2024 · 2 comments

Comments

@minad
Copy link
Contributor

minad commented May 16, 2024

I've just migrated to Emacs 30. There is a new option grep-use-headings which we could also support in Embark grep export.

@oantolin
Copy link
Owner

Sounds good, but I have zero clue what that option does. 😁

@minad
Copy link
Contributor Author

minad commented May 17, 2024

From the NEWS file:

*** New user option 'grep-use-headings'.
When non-nil, the output of Grep is split into sections, one for each
file, instead of having file names prefixed to each line.  It is
equivalent to the "--heading" option of some tools such as 'git grep'
and 'rg'.  The headings are displayed using the new 'grep-heading'
face.

The output looks a little bit like consult-grep in Vertico with the separator lines per file. I had somewhat hoped that grep-use-headings would just work automagically with the buffers export by Embark, but it does not seem like it.

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

No branches or pull requests

2 participants