From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#7785: rgrep is broken on woe32 Date: Wed, 5 Jan 2011 18:49:54 -0500 Message-ID: References: <87d3oc17oo.fsf@telefonica.net> <83ipy3m4jv.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1294271654 10028 80.91.229.12 (5 Jan 2011 23:54:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 23:54:14 +0000 (UTC) Cc: ofv@wanadoo.es, 7785@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 06 00:54:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PadB8-0007lB-82 for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jan 2011 00:54:06 +0100 Original-Received: from localhost ([127.0.0.1]:53339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PadB7-0005hP-8T for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 18:54:05 -0500 Original-Received: from [140.186.70.92] (port=47001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PadAw-0005gV-KI for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PadAt-0001fx-FK for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:53:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PadAt-0001fk-Db for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:53:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pad0P-0007Mu-Mn; Wed, 05 Jan 2011 18:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jan 2011 23:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7785-submit@debbugs.gnu.org id=B7785.129427096528299 (code B ref 7785); Wed, 05 Jan 2011 23:43:01 +0000 Original-Received: (at 7785) by debbugs.gnu.org; 5 Jan 2011 23:42:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pad08-0007MN-Cd for submit@debbugs.gnu.org; Wed, 05 Jan 2011 18:42:44 -0500 Original-Received: from mail-ey0-f196.google.com ([209.85.215.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pad06-0007MC-IA for 7785@debbugs.gnu.org; Wed, 05 Jan 2011 18:42:43 -0500 Original-Received: by eyd10 with SMTP id 10so1930827eyd.3 for <7785@debbugs.gnu.org>; Wed, 05 Jan 2011 15:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=CHfrvboE+wYerLHT7Vcb7m//PQf/fslkllAnC34E4WM=; b=SMir4XusoCL5KjZP8Spoz3hFdolHFJyV2b9ruH1NhiwmHMjYGOdQIFJGPyQusnNr5T 0ekNi0999yYTTVT7huzGwj8DH7Ev+NWIj9S2rDoZs0k4OadG8WwNhlGhb2XR47RUl1DI ubhQQ+RKQGHYcNfehBYKPGVWQ8N2mLXW9T07E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=nxIAPLgzQ8B5dQ3x4ttP+54ftBYEVsQzqkWkUQDeoTnOSQeCb2dUYzo2ADUo/hPfgm Zg7jOC7A54tbaKIGyCy5lRTPvcpoJ9C6etwSljd98Z3p/74UvWRPHc3iVip0odK9Jt6S iSDfriVPbmPu2xNb7hF0aINJz6e8aXliQDB3M= Original-Received: by 10.14.126.141 with SMTP id b13mr691634eei.47.1294271394383; Wed, 05 Jan 2011 15:49:54 -0800 (PST) Original-Received: by 10.14.127.207 with HTTP; Wed, 5 Jan 2011 15:49:54 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: XVyJudCwKF4Fp2Trq0R4tRw18vY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Jan 2011 18:43:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43132 Archived-At: additional points of information: exec-path is not always used for subprocesses (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7793) so I have to modify process-environment too: after fixing exec-path: (let ((tail process-environment)) (while tail (when (string-match "^PATH=" (car tail)) (setcar tail (concat "PATH=" (mapconcat (lambda (s) (subst-char-in-string ?/ ?\\ s)) exec-path ";"))) (setq tail nil)) ; done (setq tail (cdr tail)))) now: ========================================================== -*- mode: grep; default-directory: "c:/" -*- Grep started at Wed Jan 05 18:44:10 find . \( -path -o -path \*/attic -o -path \*/junk -o -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path \*/MCVS -o -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr -o -path \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} \) -prune -o \( -name .\#\* -o -name \*.bc -o -name \*.exe -o -name \*.cmxa -o -name \*.cmx -o -name \*.cmo -o -name \*.cmi -o -name \*.cma -o -name \*.spit -o -name \*.spot -o -name \*.omc -o -name \*.data -o -name \*.old -o -name \*.tmp -o -name \*.annot -o -name \*.p -o -name \*.err -o -name \*.o -o -name \*\~ -o -name \*.bin -o -name \*.bak -o -name \*.obj -o -name \*.map -o -name \*.ico -o -name \*.pif -o -name \*.lnk -o -name \*.a -o -name \*.ln -o -name \*.blg -o -name \*.bbl -o -name \*.dll -o -name \*.drv -o -name \*.vxd -o -name \*.386 -o -name \*.elc -o -name \*.lof -o -name \*.glo -o -name \*.idx -o -name \*.lot -o -name \*.fmt -o -name \*.tfm -o -name \*.class -o -name \*.fas -o -name \*.lib -o -name \*.mem -o -name \*.x86f -o -name \*.sparcf -o -name \*.fasl -o -name \*.ufsl -o -name \*.fsl -o -name \*.dxl -o -name \*.pfsl -o -name \*.dfsl -o -name \*.p64fsl -o -name \*.d64fsl -o -name \*.dx64fsl -o -name \*.lo -o -name \*.la -o -name \*.gmo -o -name \*.mo -o -name \*.toc -o -name \*.aux -o -name \*.cp -o -name \*.fn -o -name \*.ky -o -name \*.pg -o -name \*.tp -o -name \*.vr -o -name \*.cps -o -name \*.fns -o -name \*.kys -o -name \*.pgs -o -name \*.tps -o -name \*.vrs -o -name \*.pyc -o -name \*.pyo \) -prune -o -type f \( -iname \*.el \) -print0 | xargs -0 -e grep -i -nH gnu.org find: paths must precede expression Usage: find [-H] [-L] [-P] [path...] [expression] Grep finished (matches found) at Wed Jan 05 18:44:10 ========================================================== the error message is obviously from gnu find, but I don't see what is wrong with the command line.