[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.)
- Is it possible to run rgrep in emacs on Win32?, Steinar Bang, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Tassilo Horn, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Eli Zaretskii, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Stefan Vollmar, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Thierry Volpiatto, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Steinar Bang, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Eli Zaretskii, 2012/04/12
- Re: Is it possible to run rgrep in emacs on Win32?, Steinar Bang, 2012/04/13
- Re: Is it possible to run rgrep in emacs on Win32?,
Eli Zaretskii <=
- Re: Is it possible to run rgrep in emacs on Win32?, Evgeniy Dolzhenko, 2012/04/13
- Re: Is it possible to run rgrep in emacs on Win32?, Eli Zaretskii, 2012/04/13
- Re: Is it possible to run rgrep in emacs on Win32?, Stefan Vollmar, 2012/04/14
- Re: Is it possible to run rgrep in emacs on Win32?, Steinar Bang, 2012/04/14
- Re: Is it possible to run rgrep in emacs on Win32?, Eli Zaretskii, 2012/04/14
- RE: Is it possible to run rgrep in emacs on Win32?, Ludwig, Mark, 2012/04/16
Re: Is it possible to run rgrep in emacs on Win32?, Evgeniy Dolzhenko, 2012/04/12