help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to run rgrep in emacs on Win32?


From: Eli Zaretskii
Subject: Re: Is it possible to run rgrep in emacs on Win32?
Date: Fri, 13 Apr 2012 15:12:34 +0300

> From: Steinar Bang <sb@dod.no>
> Date: Fri, 13 Apr 2012 13:34:09 +0200
> 
> So in summary:
>  - Use emacs 23.4
>  - Install FindUtils and grep from GnuWin32 http://gnuwin32.sourceforge.net/
>  - Set variables in .emacs to whereever you installed the GnuWin32
>    binaries:
>     ;; Make rgrep find the GnuWin32 executables it needs
>     (setq find-program "C:\\ProgramFiles\\GnuWin32\\bin\\find")
>     (setq xargs-program "C:\\ProgramFiles\\GnuWin32\\bin\\xargs")
>     (setq grep-program "C:\\ProgramFiles\\GnuWin32\\bin\\grep")

You will be much better off, including with other ports of GNU/Unix
software, if you just put them all on PATH.  I see no good reason for
keeping them in a directory that is not on PATH.  Not every program
called by Emacs has a user option that allows you to spell out its
full absolute file name.

(FWIW, I have a single `bin' directory into which I put _all_ the
programs and DLLs that do not come with Windows out of the box, and
that directory is very near the beginning of PATH.  I have yet to see
a single use case where this arrangement failed me, be it in Emacs or
elsewhere.  So this is what I recommend to others, unless there are
_very_ good reasons not to use this setup.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]