From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 10597c9: Don't use 'find-program' Date: Mon, 18 Apr 2016 12:10:50 -0400 Message-ID: <0c8u0asxrp.fsf@fencepost.gnu.org> References: <20160411164301.22548.38008@vcs.savannah.gnu.org> <83potpbwbb.fsf@gnu.org> <83h9f1bcvd.fsf@gnu.org> <83poto9lu0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460995893 18509 80.91.229.3 (18 Apr 2016 16:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2016 16:11:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 18 18:11:30 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 1asBlo-0007S0-0A for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 18:11:28 +0200 Original-Received: from localhost ([::1]:40450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBln-0001Vo-BV for ged-emacs-devel@m.gmane.org; Mon, 18 Apr 2016 12:11:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBlE-0001Qr-Lz for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:10:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asBlD-0006vD-QN for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:10:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asBlD-0006v7-BV for emacs-devel@gnu.org; Mon, 18 Apr 2016 12:10:51 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1asBlC-0001A8-J1; Mon, 18 Apr 2016 12:10:50 -0400 X-Spook: Arellano-Felix Industrial spill subversive Homeland X-Ran: "2TP>b(DZ0>WDHBo;LL7MRy,/f$??m=0CCqy$"e[IB/<_-rLiH>OkH5ud|^EJx[mx0t%?M X-Hue: red X-Attribution: GM In-Reply-To: <83poto9lu0.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Apr 2016 20:39:03 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:203054 Archived-At: 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. You've said that find-dired and grep have different needs, and both may (or may not) use -exec. I found it really hard to understand what point you were getting at. Also eg check-declare-directory simply hard-codes -exec, and you changed that one. > Did you ever need to customize this variable, on any system? No. find-program was never marked as customizable/user-settable till very recently, so I suspect very few others did. Please also note that the Emacs build process simply uses "find" (which is part of POSIX), with both -exec and -print. But that changes the issue. You are saying it may not only need to be customizable (which I don't have an issue with), but that there may need to be two different versions. > 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. Please give the eventual two variables informative names and docstrings. It's going to be hard for people on normal systems to figure out which to use. This has nothing to with grep, so I would suggest they not live in the grep namespace. (Also, grep-xargs-program should just be called xargs-program again. Hopefully you don't need two versions. :))