From: Christoph <cschol2112@googlemail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 6665@debbugs.gnu.org
Subject: bug#6665: 24.0.50; rgrep does not work on Windows
Date: Sun, 18 Jul 2010 22:00:16 -0600 [thread overview]
Message-ID: <4C43CDD0.10308@gmail.com> (raw)
In-Reply-To: <83eif0emqp.fsf@gnu.org>
On 7/18/2010 11:14 AM, Eli Zaretskii wrote:
>> rgrep does not work on Windows.
>
> Actually, it does; you just don't like the results ;-)
You know, I saw the title in the bug tracker and wondered if someone
would pick on that. ;)
>> In *scratch* buffer evaluate the following to point to GNU find and grep executables:
>> (setq find-program "\"C:/Program Files (x86)/GnuWin32/bin/find.exe\"")
>> (setq grep-program "\"C:/Program Files (x86)/GnuWin32/bin/grep.exe\"")
>
> Why do you need these? Doesn't Emacs find them?
No. I usually append the directory of the executables to PATH and set
the exec path accordingly in my .emacs. This is more portable than
adding it to the path permanently on every computer. The setqs above
were just to make it work with `emacs -Q'.
I need GNU find because otherwise Windows find complains about incorrect
parameter format (maybe a separate issue?).
> If you paste all this long command line to the shell window, does the
> program work then? (You may need to mirror the slashes for that.)
No. I pasted it into cmd.exe and it gives the exact same error.
> Also, does the problem go away if you replace "(" with "-(" and ")"
> with "-)"?
Same result.
> Does the problem go away if you copy the two programs to a directory
> whose name does not include blanks and parentheses, and invoke them
> from there?
No. The spaces are not the problem. I enclosed the path in quotes so it
finds the correct executable at this path (I omitted the quotes before
and it would only find C:\Program).
Christoph
next prev parent reply other threads:[~2010-07-19 4:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-18 14:32 bug#6665: 24.0.50; rgrep does not work on Windows Christoph
2010-07-18 17:14 ` Eli Zaretskii
2010-07-18 20:38 ` Óscar Fuentes
2010-07-19 4:00 ` Christoph [this message]
2010-07-19 18:02 ` Eli Zaretskii
2010-07-19 22:56 ` Christoph
2010-07-20 2:56 ` Eli Zaretskii
2010-11-17 12:26 ` bug#6665: " Colin Fraizer
2010-11-17 13:09 ` Andreas Schwab
2010-11-17 13:17 ` Lennart Borgman
2010-11-17 15:08 ` Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C43CDD0.10308@gmail.com \
--to=cschol2112@googlemail.com \
--cc=6665@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.