From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 10597c9: Don't use 'find-program' Date: Mon, 18 Apr 2016 21:45:56 +0300 Message-ID: <837ffuah7f.fsf@gnu.org> References: <20160411164301.22548.38008@vcs.savannah.gnu.org> <83potpbwbb.fsf@gnu.org> <83h9f1bcvd.fsf@gnu.org> <83poto9lu0.fsf@gnu.org> <0c8u0asxrp.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1461005183 10160 80.91.229.3 (18 Apr 2016 18:46:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2016 18:46:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 18 20:46:17 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1asEBc-0008JG-W4 for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 20:46:17 +0200 Original-Received: from localhost ([::1]:43592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asEBc-00037L-Hf for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 14:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asEBY-00034Y-Po for emacs-devel@gnu.org; Mon, 18 Apr 2016 14:46:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asEBV-0003tM-Go for emacs-devel@gnu.org; Mon, 18 Apr 2016 14:46:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asEBV-0003tI-DV for emacs-devel@gnu.org; Mon, 18 Apr 2016 14:46:09 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1883 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1asEBU-0000WP-F0; Mon, 18 Apr 2016 14:46:08 -0400 In-reply-to: <0c8u0asxrp.fsf@fencepost.gnu.org> (message from Glenn Morris on Mon, 18 Apr 2016 12:10:50 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203061 Archived-At: > From: Glenn Morris > Cc: emacs-devel@gnu.org > Date: Mon, 18 Apr 2016 12:10:50 -0400 > > Eli Zaretskii wrote: > > > Why are you assuming that any 'find' job would necessarily use -exec? > > I'm not, I'm giving it as an example. Your example made the issue look absurd because it used -exec in both cases. > Also eg check-declare-directory simply hard-codes -exec, and you changed > that one. Because it calls grep. > Please also note that the Emacs build process simply uses "find" > (which is part of POSIX), with both -exec and -print. I'm not talking about building Emacs, I'm talking about using it. > > Basically, imagine a system with several different ports of 'find', > > each port with its own advantages and bugs. > > I think a system where you have to think which version of find to invoke > depending on what you want to do is a mis-configured system. > I'd just install GNU find and get on with life. GNU Find ports are the broken ones I meant above. Plus, there's a find.exe on Windows that comes with the OS, and does something very different. That in itself is already a reason to rename GNU Find, at least once. > (Also, grep-xargs-program should just be called xargs-program again. > Hopefully you don't need two versions. :)) Actually, xargs ports are even more broken than those of Find.