Windows 10, Emacs 25.1, Dired+
I want in Dired to find all files that contain text "UserOptions".
M-x find-grep-dired
- In folder
ca
UserOptions
And here result:
find exited abnormally with code 1 at Sat Dec 2 20:57:13
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityYou need to use cygwin's or msys find
command. The error messages shown above seem to come from the windows find
command that is incompatible with emacs.
See "Using grep' and
find' on MS Windows" on emacswiki.org
find
command that is issued in your Emacsis different from what I see using libraryfind-dired+.el
. What I see is this:find . \( -type f -exec grep -q -e UserOptions \{\} \; \) -exec ls -ld \{\} \;
. (I also don't have a problem with it, but that's likely because of what @p_wiersig's answer says.)