GNU bug report logs - #10074
23.2; emacs rgrep on Windows/Cygwin: FIND: Parameter format not correct

Previous Next

Package: emacs;

Reported by: xahlee <at> gmail.com

Date: Sat, 19 Nov 2011 06:39:02 UTC

Severity: normal

Tags: notabug

Found in version 23.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 10074-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: xahlee <at> gmail.com
Cc: 10074-done <at> debbugs.gnu.org
Subject: Re: bug#10074: 23.2;
	emacs rgrep on Windows/Cygwin: FIND: Parameter format not correct
Date: Sat, 19 Nov 2011 13:58:04 +0200
> Date: Fri, 18 Nov 2011 22:36:55 -0800
> From: Xah Lee <xahlee <at> gmail.com>
> 
> FIND: Parameter format not correct

This is Windows find.exe, which is a completely different program,
getting confused over the way Emacs calls it.

You need to change your Path to have the ported GNU find.exe earlier
on Path than C:\WINDOWS\system32 (or wherever the Windows program
lives), or rename the GNU find.exe to something like gfind.exe and
customize Emacs to call that instead.

I'm closing this bug, because its reason is your system
configuration.  Emacs cannot do anything about that, it just calls the
first find.exe it finds along your Path.

> It appears, that the problem is because emacs is calling cmd.exe's
> grep, not cygwin.

The problem is with `find', not with `grep'.

> Perhaps `grep-compute-defaults' should know about it.

grep-compute-defaults has nothing to do with the problem, so it cannot
fix it.




This bug report was last modified 13 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.