* Text search from emacs
@ 2024-12-14 0:14 Heime via Users list for the GNU Emacs text editor
2024-12-14 6:06 ` Jean Louis
0 siblings, 1 reply; 4+ messages in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-12-14 0:14 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
How can I do a search for some text in some directory from emacs?
Perhaps one can write an elisp function to conveniently do this?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Text search from emacs
2024-12-14 0:14 Text search from emacs Heime via Users list for the GNU Emacs text editor
@ 2024-12-14 6:06 ` Jean Louis
2024-12-14 7:26 ` expand-region for =org emphasis= Samuel Wales
0 siblings, 1 reply; 4+ messages in thread
From: Jean Louis @ 2024-12-14 6:06 UTC (permalink / raw)
To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor
* Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2024-12-14 03:16]:
>
> How can I do a search for some text in some directory from emacs?
> Perhaps one can write an elisp function to conveniently do this?
You can use the `rgrep` command in Emacs to search for text in a
directory and its subdirectories.
- Type `M-x rgrep` and press RET, follow prompts
This function uses the `rgrep` command, which uses `grep` under the
hood.
Though there are other ways, like `M-x grep` or even `M-x find-dired`
You have it under Menu Tools, look there.
--
Jean Louis
Emacs is so customizable that you can spend hours tweaking it and still not have written a single line of code 🤣.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-14 9:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-14 0:14 Text search from emacs Heime via Users list for the GNU Emacs text editor
2024-12-14 6:06 ` Jean Louis
2024-12-14 7:26 ` expand-region for =org emphasis= Samuel Wales
2024-12-14 9:09 ` Jean Louis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).