all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: "Cédric Chépied" <cedric.chepied@gmail.com>,
	"Eli Zaretskii" <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: find-name-dired and find-program variable
Date: Tue, 19 Apr 2016 16:35:53 +0900 (JST)	[thread overview]
Message-ID: <alpine.LRH.2.20.1604191627390.31720@calancha-ilc.kek.jp> (raw)
In-Reply-To: <5715d1ca.442cc20a.e7cbf.ffffb660@mx.google.com>

[-- 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
>
>
>

  reply	other threads:[~2016-04-19  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  6:35 find-name-dired and find-program variable Cédric Chépied
2016-04-19  7:35 ` Tino Calancha [this message]
2016-04-19  9:25   ` Cédric Chépied

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.20.1604191627390.31720@calancha-ilc.kek.jp \
    --to=tino.calancha@gmail.com \
    --cc=cedric.chepied@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.