Questions tagged [find-dired]
The find-dired tag has no summary.
21 questions
0 votes
1 answer
326 views
How to use Emacs on MS Windows for UNIX-like commands?
I tried running find-name-dired from one of my dired buffers. I got this: find . "(" -iname "*.cc" ")" -exec ls -ld {} ";" File not found - "*.cc" ...
0 votes
0 answers
662 views
error in process sentinel: Wrong type argument: integer-or-marker-p, nil
I get this error when I search dired with M-x find-name-dired: error in process sentinel: Wrong type argument: integer-or-marker-p, nil The search finds the files then ends with this error. I'm not ...
1 vote
1 answer
167 views
How can I prevent ` running timer: (void-function vc-git-root)` error
vc-git-root walks up the tree until it finds the directory that contains the .git subdir and declares that to be the root of the repo. But if there is not .git folder in the root directory, (vc-git-...
0 votes
0 answers
141 views
syntax error near unexpected token `(' when running find-name-dired
find-name-dired is raising the following error. Is the format incorrect? M-x find-name-dired RET; Find-name (directory): ~/test RET; Find-name (filename wildcard): test.txt RET Result: /path/to/...
0 votes
0 answers
25 views
After query-replace using my-find-files, how to automatically delete-other-windows?
I am following answer for Using Emacs to recursively find and replace in text files not already open My setup: (defun my-find-files () (interactive) (find-dired "~/folder" "-name \\*...
2 votes
1 answer
192 views
Tramp `find-dired`: wrong type argument error
If i use find-dired in a remote directory (from Tramp) then I get a wrong type argument: processp, nil error. It works on a local dir. All I pass to find is '-iname "blah"'. /sftp:[email protected]:...
1 vote
1 answer
557 views
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 ...
0 votes
2 answers
936 views
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 ...