From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: find-name-dired and find-program variable Date: Tue, 19 Apr 2016 16:35:53 +0900 (JST) Message-ID: References: <5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1468197610-342358809-1461051353=:31720" X-Trace: ger.gmane.org 1461051190 30838 80.91.229.3 (19 Apr 2016 07:33:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 07:33:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?ISO-8859-15?Q?C=E9dric_Ch=E9pied?= , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 19 09:33:05 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 1asQ9h-00031o-5Q for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 09:33:05 +0200 Original-Received: from localhost ([::1]:53054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQ9g-0006CN-IN for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 03:33:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQ9P-00065w-7J for emacs-devel@gnu.org; Tue, 19 Apr 2016 03:32:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asQ9J-0007OP-CZ for emacs-devel@gnu.org; Tue, 19 Apr 2016 03:32:47 -0400 Original-Received: from calancha-ilc.kek.jp ([130.87.234.234]:47888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asQ9E-0007JH-Nz; Tue, 19 Apr 2016 03:32:36 -0400 Original-Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id A3A8E726D; Tue, 19 Apr 2016 16:35:53 +0900 (JST) Original-Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 8B6615DC9; Tue, 19 Apr 2016 16:35:53 +0900 (JST) X-X-Sender: calancha@calancha-ilc.kek.jp In-Reply-To: <5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.87.234.234 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:203084 Archived-At: --1468197610-342358809-1461051353=:31720 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On Tue, 19 Apr 2016, C=E9dric Ch=E9pied wrote: > Hi, > > After a git pull on my emacs repo (master branch) I can't use find-name= -dired > anymore because the find-program variable is not defined. Then you will have 2 definitions of `find-program', the other at grep.el, as an alias of `grep-find-program'. They are still discussing this recent change, so the situation can still change. In the meantime i work around the problem requiring 'grep in .emacs:=20 (require 'grep) Tino > > I wrote this patch to fix it. > --- > lisp/find-dired.el | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/lisp/find-dired.el b/lisp/find-dired.el > index b1b33ac..49b9ac9 100644 > --- a/lisp/find-dired.el > +++ b/lisp/find-dired.el > @@ -34,6 +34,13 @@ > :group 'dired > :prefix "find-") > > +(defcustom find-program > + "find" > + "Name of find command (usually 'find')" > + :version "24.1" > + :group 'find-dired > + :type 'string) > + > ;; FIXME this option does not really belong in this file, it's more gen= eral. > ;; Eg cf some tests in grep.el. > (defcustom find-exec-terminator > --=20 > 2.8.0 > > > --1468197610-342358809-1461051353=:31720--