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 · May be fixed by #747
Open

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

minad opened this issue May 16, 2024 · 2 comments · May be fixed by #747

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.

minad added a commit to minad/embark that referenced this issue Jan 16, 2025
@minad minad linked a pull request Jan 16, 2025 that will close this issue
minad added a commit to minad/embark that referenced this issue Jan 16, 2025
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 a pull request may close this issue.

2 participants