From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs-25 10597c9: Don't use 'find-program' Date: Wed, 20 Apr 2016 16:08:59 -0400 Message-ID: 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> <3xbn567tfb.fsf@fencepost.gnu.org> <8337qiagzq.fsf@gnu.org> <83h9ew6q3o.fsf@gnu.org> <83ega06pd7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461183031 26930 80.91.229.3 (20 Apr 2016 20:10:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2016 20:10:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 20 22:10:23 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 1asyS4-0002Sg-QG for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2016 22:10:20 +0200 Original-Received: from localhost ([::1]:55716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asyS3-0006Cr-R7 for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2016 16:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asyRM-00057Y-Tk for emacs-devel@gnu.org; Wed, 20 Apr 2016 16:10:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asyQu-0003gu-B0 for emacs-devel@gnu.org; Wed, 20 Apr 2016 16:09:36 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asyQu-0003gd-05 for emacs-devel@gnu.org; Wed, 20 Apr 2016 16:09:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1asyQr-0001ag-MM for emacs-devel@gnu.org; Wed, 20 Apr 2016 22:09:05 +0200 Original-Received: from 45.72.141.36 ([45.72.141.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2016 22:09:05 +0200 Original-Received: from monnier by 45.72.141.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2016 22:09:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 45.72.141.36 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:/SEFxCaS7Ed5Ji5u+OZ/H9+2eTo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:203136 Archived-At: > I already wrote everything I have to say about this, sorry. I have > nothing else to add. I'm sorry you feel this way. Clearly, your explanation was not sufficient for me to understand why you think your solution is a good one. All I really gathered from it is that there are supposedly corner case situations where you may have 2 versions of `find` installed, both of them "POSIXish", but where one doesn't accept -print0 and the other doesn't accept -exec. Why does renaming find-program to grep-find-program help in such a situation? Can there be more such odd situations? If not, then maybe we should have a `find-for-print0-program` and a `find-for-exec-program`, both of which default to nil which would mean "just use the value of `find-program`"? Stefan