Re: Windows 29.1 error - xargs MIA

Joel Reicher <[email protected]> Thu, 30 Nov 2023 08:27:13 +1100
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
JF <[email protected]> writes:

> I did that, and included the "bin" folder in my PATH.
> Now I get "search failed with status 0: xargs: grep: no such file or dire=
ctory" which my Google search suggests may have something to do with having
> filenames with embedded blanks??
> John

You're still missing some things.

One of the ways I've found to get almost all the helper utils emacs needs i=
n one hit is to install Git for Windows and do something like

(setenv "PATH" (concat "C:\\Program Files\\Git\\usr\\bin;" (getenv "PATH")))
(push "C:/Program Files/Git/usr/bin" exec-path)

at the start of .emacs (or site customisation files).

The main thing I miss are the man pages. The only actual util I sometimes u=
se that isn't in there is a spell checker.

Cheers,

        - Joel

> On Tue, Nov 21, 2023 at 11:31=E2=80=AFPM Eli Zaretskii <[email protected]> wro=
te:
>
>  > From: JF <[email protected]>
>  > Date: Tue, 21 Nov 2023 17:51:35 -0400
>  >=20
>  > Using GNU Emacs 29.1 (newly installed) on Windows 10 Pro
>  > Trying dired mode for the first time and marked several files, then hi=
t "Q" for regexp query search and
>  > replace. I specify the search and replace strings, hit Enter, and it s=
ays "Searching ..." and then:
>  > xref-matches-in-files: Search failed with status 1: 'xargs' is not rec=
ognized as an internal or
>  > external command,
>  > from which I infer there's a path to some xargs analog that's part of =
the install but it can't find???
>
>  You need to install GNU Findutils.  These programs don't come with
>  Windows out of the box.