From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: compile.el, using grep-find when find-program is not "find" Date: Sat, 08 Nov 2003 21:05:27 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <000501c3a3eb$31b31d90$8111ba50@LTMAP> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1068344198 19876 80.91.224.253 (9 Nov 2003 02:16:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2003 02:16:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 09 03:16:35 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AIf7z-0006jP-00 for ; Sun, 09 Nov 2003 03:16:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AIf7z-0002ax-00 for ; Sun, 09 Nov 2003 03:16:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIg48-0005bO-8h for emacs-devel@quimby.gnus.org; Sat, 08 Nov 2003 22:16:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIg1d-00053K-Qx for emacs-devel@gnu.org; Sat, 08 Nov 2003 22:14:05 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIg17-0004w8-Qt for emacs-devel@gnu.org; Sat, 08 Nov 2003 22:14:04 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIg16-0004vp-Vx for emacs-devel@gnu.org; Sat, 08 Nov 2003 22:13:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AIexD-0008Es-VM; Sat, 08 Nov 2003 21:05:27 -0500 Original-To: "Marcus Picasso" In-reply-to: <000501c3a3eb$31b31d90$8111ba50@LTMAP> (marcus.picasso@kolumbus.fi) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17729 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17729 Does this patch give correct behavior? *** compile.el.~1.281.~ Fri Oct 10 00:22:02 2003 --- compile.el Sat Nov 8 16:53:54 2003 *************** *** 752,760 **** (grep-find-use-xargs (format "%s . -type f -print | xargs %s" find-program grep-command)) ! (t (cons (format "%s . -type f -exec %s {} %s \\;" ! find-program grep-command null-device) ! (+ 22 (length grep-command))))))) (unless grep-tree-command (setq grep-tree-command (let* ((glen (length grep-program)) --- 752,765 ---- (grep-find-use-xargs (format "%s . -type f -print | xargs %s" find-program grep-command)) ! (t (let ((beginning ! (format "%s . -type f -exec " find-program)) ! (end ! (format "%s {} %s \\;" ! grep-command null-device))) ! (cons ! (concat beginning end) ! (length beginning))))))) (unless grep-tree-command (setq grep-tree-command (let* ((glen (length grep-program))