Questions tagged [rgrep]
The rgrep tag has no summary.
28 questions
1 vote
1 answer
112 views
Why does grep-apply-setting exist; why couldn't I just use setq
The documentation says that if I Want to update, for example, grep-find-command, I should use grep-apply-setting. There is no documentation on that function explaining why it exists. Looking at the ...
0 votes
0 answers
112 views
Is it possible to search for multiple terms with rgrep?
Here is a minimal example: File example.org has the following content: Music and Poetry After doing M-x rgrep, when prompted "search for", if I type: music and poetry, rgrep will find ...
0 votes
1 answer
312 views
How do I make `helm` save search results in a grep buffer?
I do helm-find-files (C-x c C-x C-f>), Tab, "Grep current directory with AG" (M-g a), enter pattern, Tab, "Save results in grep buffer" (F3). Now, how do I make M-g M-n/M-g M-p ...
3 votes
1 answer
50 views
How use rgrep for only org AND java files?
Linux Mint 20 Emacs 27.2 I want to find text end in the org files in my folder (recursively). So I use rgrep M-x rgrep *.org Here steps: step 1: step 2: step 3 (result): Nice. As result I found ...
0 votes
1 answer
98 views
Custom made rgrep via ack stopped working
I used to use the function below to call ack as a fast, recursive grep, but for whatever reason it stopped working. More precisely it returns no result. It probably happened when I updated Emacs or ...
0 votes
2 answers
210 views
rgrep doesn't search in specified directory
According to the documentation : (rgrep REGEXP &optional FILES DIR CONFIRM) Recursively grep for REGEXP in FILES in directory tree rooted at DIR. [...] But when I call it in some Elisp ...
0 votes
1 answer
352 views
How to do case-insensitive rgrep for cyrillics?
I tried to use rgrep to search in cyrillic files with UTF-8 encoding (M-x rgrep command with search query бонус), the resulting command name was /usr/bin/find . -type d ( -path */SCCS -o -path */RCS ...
1 vote
1 answer
458 views
color rgrep matching results in the rgrep results buffer
I am liking rgrep as it lets you choose a path and searches recursively. How is it possible to highlight the matches in the rgrep buffer?