From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?C=E9dric_Ch=E9pied?= Newsgroups: gmane.emacs.devel Subject: find-name-dired and find-program variable Date: Tue, 19 Apr 2016 08:35:52 +0200 Message-ID: <5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1461047771 11651 80.91.229.3 (19 Apr 2016 06:36:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 06:36:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 19 08:36:06 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 1asPGW-0001zv-Ey for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 08:36:04 +0200 Original-Received: from localhost ([::1]:52294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asPGV-0006kT-L1 for ged-emacs-devel@m.gmane.org; Tue, 19 Apr 2016 02:36:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asPGR-0006gz-Mm for emacs-devel@gnu.org; Tue, 19 Apr 2016 02:36:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asPGO-0002gu-A2 for emacs-devel@gnu.org; Tue, 19 Apr 2016 02:35:59 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:34449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asPGO-0002gp-3C for emacs-devel@gnu.org; Tue, 19 Apr 2016 02:35:56 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id l6so25912122wml.1 for ; Mon, 18 Apr 2016 23:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject:user-agent:mime-version :content-transfer-encoding; bh=HSTYwy72uZokNGPBLd2zS26NFCNtYlF4ZgecepIWKVo=; b=eoKes9Vqc6RhRpTop0Vu4lFFir+FvgxkTkvO0O1HXB6BLJXcSS+UOfom39GtooxBzt SJOiljEPst96HJxys7YG/SFFtEFrQ9Ve1E4sve14tVeQtz8DHB2m1NROalt/NbVefMLZ xMhGn8OCUZoahy9Ko7M2Ru9LS0cmYGEHupORsgXR7c4RpoPw9NtEw3C6lV9W8dwCubBf vcH2wAZew7KzISWN9Thj3YPdcld1whH+JSMRIgu4r2YjdPnQ4dvT1lJYbXQhuftqVyVu S4V5egh9xTDI0bCvwO5EzoQK0WNxmO15nbqLalDsBYjfXDZxaWUJpLMCpDqMn6ceTtKa YUYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:to:subject:user-agent :mime-version:content-transfer-encoding; bh=HSTYwy72uZokNGPBLd2zS26NFCNtYlF4ZgecepIWKVo=; b=fB/cqtDsrAkxpzjpBnMuynHkjysEnsx1Os1/Su6DF95z4QiaGyqoAe5f4NR41xdMYF pwZLgPfhvnjQDXcIgxOFq/EiSwClwMNpQ+oZpa9V/Li3Pbg+1KG477oIpAVSaIgng1bS 2SINaSS9RS7BGWjMplw0MV2mb8DqkYssuydP8VAFtZbOcBJVlumedA3Qx4Rz/rfRr5BI 1ufXNkNN+Z/zDAYFu+oKr1hinu0K9T4dKvVvELUW2M0dU2NtcV//a0FXCXI38Ls6tB5q pY9wvFKCbz8oy6aOJGArFX9wQbv/vjffbwxP2XQyR/ThdpT4xc0aF77RbrK1CKVJgbgL oswA== X-Gm-Message-State: AOPr4FW+tYISWA7X0TpTrIRo4B+3FLyZdAVtIs6nB6Ys7DU3+ljEMoWdjLNYGEAUaeZ7jA== X-Received: by 10.28.172.133 with SMTP id v127mr23781762wme.1.1461047755455; Mon, 18 Apr 2016 23:35:55 -0700 (PDT) Original-Received: from Aman.gmail.com (149.165.146.77.rev.sfr.net. [77.146.165.149]) by smtp.gmail.com with ESMTPSA id c4sm8144772wjm.24.2016.04.18.23.35.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Apr 2016 23:35:54 -0700 (PDT) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 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:203083 Archived-At: 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. I wrote this patch to fix it. Regards, -- Cédric Chépied >From c3ca2fe575dac860bb90168604eeb50cbd6a39e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= Date: Tue, 19 Apr 2016 08:28:53 +0200 Subject: [PATCH] Add find-program customizable variable for dired --- 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 general. ;; Eg cf some tests in grep.el. (defcustom find-exec-terminator -- 2.8.0