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

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

Windows: exec-path not working?


From: Elena
Subject: Windows: exec-path not working?
Date: Wed, 29 Jul 2009 02:12:59 -0700 (PDT)
User-agent: G2/1.0

Hello,

I was trying to use the "M-x grep" under Windows, but it was failing
since "grep.exe" was missing. I downloaded GnuWin32's grep (it worked
under command line) and appended its directory to exec-path:

(setq exec-path (append exec-path (list "C:/gnuwin32/bin")))

and checked it. Anyway, running "M-x grep" still couldn't find "grep".

Then, I set Emacs' environment PATH by means of "setenv" and "grep"
got found.

Shouldn't be exec-path and PATH achieve the same goal under Emacs?

Thanks.



reply via email to

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