Questions tagged [find]

11 questions
3
votes
2 answers

How can I run imenu in all project files?

Is there any package which will allow to run the imenu in all project files of a current mode? More specifically I have a Go project defined by projectile and I would like to search for a symbol in the whole project. I know about imenu-anywhere -…
Robert Zaremba
  • 211
  • 1
  • 6
2
votes
1 answer

Grep exited abnormally with code 2

Windows 10, Emacs 26.1 M-x shell grep here result: grep Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Nice. Now I want to find files in temp folder: rgrep Search for - empty Wild card - empty Base directory -…
a_subscriber
  • 3,854
  • 1
  • 17
  • 47
1
vote
1 answer

emacs on windows hangs when running rgrep

I am running emacs 27.2 on Windows 10. When I execute the rgrep function, after inserting my choices for REGEXP, FILES and DIR, it hangs. I have set the variable debug-on-entry and here's what I get: Debugger entered--Lisp error: (quit) …
Stefano
  • 91
  • 3
1
vote
1 answer

How do I find the init.el file on windows?

I'm currently stuck with not finding the init.el file, how do I find it on Windows and how do I load it?
Adrik Ivanov
  • 111
  • 1
1
vote
1 answer

find files containing "Emacs"

I employed find within the current directory to find files containing "emacs" $ find . -type f -iname "*emacs*" | nl | tail -3 34 ./sources/tech/20190916 The Emacs Series Exploring ts.el.md 35 ./sources/tech/20200311 What you need to know…
AbstProcDo
  • 1,231
  • 5
  • 15
0
votes
1 answer

How can I recursively find and replace text in case sensetive?

I am using combination of following solutions in order to find-and-replace matched text in all Python files: Using Emacs to recursively find and replace in text files not already open How can I recursively find and replace in the current git…
alper
  • 1,238
  • 11
  • 30
0
votes
1 answer

Searching in Dired for content in files while filtering files

From Dired, I'd like to be able to search for content pretty much like I do on my MAC Finder, while showing the files that match the criteria/regular expression (and no other files). I don't want the matching files to be marked, but rather filtered…
Adelita
  • 155
  • 7
0
votes
0 answers

How to use helm to search a buffer?

I would like to use the helm machinery to search "live" a buffer's lines. Is this possible? If not how would I go about figuring out how to implement this?
cammil
  • 509
  • 3
  • 12
0
votes
1 answer

How to find a file recursively on Microsoft Windows with findutils (gnu find) installed?

I'm trying to find file recursively from default-directory with helm-find (C-x c /). It works out of box in linux. I tried setting find-program like (I have git bash installed) (setq find-program "c:/Program\ Files/Git/usr/bin/find.exe") It didn't…
0
votes
2 answers

How can I do a regex search recursively from a directory?

Basically I want a command that can do the following: find /path/dir -type f -print0 | xargs -0 grep -l "foo" Is there an emacs command to do this? If not, then is there a convenient keybinding that I can make? I tried to do the…
Prikshet Sharma
  • 237
  • 1
  • 3
0
votes
1 answer

What best tool to find files with content?

Windows 10, Emacs 26.1. I need to find all files that content specific text ,e,g. ("hello"). I need to specify: is case sensitive is search also in all subfolders to find by some text and by regexp The result must show in separate buffer (e.g.…
a_subscriber
  • 3,854
  • 1
  • 17
  • 47