all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* find-name-dired and find-program variable
@ 2016-04-19  6:35 Cédric Chépied
  2016-04-19  7:35 ` Tino Calancha
  0 siblings, 1 reply; 3+ messages in thread
From: Cédric Chépied @ 2016-04-19  6:35 UTC (permalink / raw)
  To: emacs-devel

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
<cedric.chepied@gmail.com>


From c3ca2fe575dac860bb90168604eeb50cbd6a39e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Ch=C3=A9pied?= <cedric.chepied@gmail.com>
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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: find-name-dired and find-program variable
  2016-04-19  6:35 find-name-dired and find-program variable Cédric Chépied
@ 2016-04-19  7:35 ` Tino Calancha
  2016-04-19  9:25   ` Cédric Chépied
  0 siblings, 1 reply; 3+ messages in thread
From: Tino Calancha @ 2016-04-19  7:35 UTC (permalink / raw)
  To: Cédric Chépied, Eli Zaretskii; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]



On Tue, 19 Apr 2016, Cédric Chépied 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: 
(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 general.
> ;; Eg cf some tests in grep.el.
> (defcustom find-exec-terminator
> -- 
> 2.8.0
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: find-name-dired and find-program variable
  2016-04-19  7:35 ` Tino Calancha
@ 2016-04-19  9:25   ` Cédric Chépied
  0 siblings, 0 replies; 3+ messages in thread
From: Cédric Chépied @ 2016-04-19  9:25 UTC (permalink / raw)
  To: Tino Calancha; +Cc: Eli Zaretskii, emacs-devel

On Tue, 19 Apr 2016 09:35:53 +0200,
Tino Calancha wrote:

> They are still discussing this recent change, so the situation can still
> change.
Ok, I'm gonna be patient.

> In the meantime i work around the problem requiring 'grep in .emacs: (require
> 'grep)
Thanks it works.

-- 
Cédric Chépied
<cedric.chepied@gmail.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-19  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19  6:35 find-name-dired and find-program variable Cédric Chépied
2016-04-19  7:35 ` Tino Calancha
2016-04-19  9:25   ` Cédric Chépied

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.