Subject: bug#18476: 24.3.93; ede-emacs-version: Searching for program: no such file or directory, egrep

From: David Engster <[email-masked]>
Date: Tue, 16 Sep 2014 08:13:05 +0200

Stefan Monnier writes:
>> Indeed. That call to egrep seems to be some relict from the old
>> days. Additionally, we should also make sure that configure.ac or
>> configure.in exist.
>
>> Stefan, would it be OK to install the attached patch to emacs-24, or
>> should it go to trunk?
>
> The patch looks safe-ish, but I'm not sure what is its impact.  Can you
> explain when it hits?

It hits when the user has any kind of S?X?Emacs source code checked out
and

- has enabled EDE mode,

- has the Emacs source in a directory which is considered 'safe'
  (w.r.t. ede-project-directories), and

- loads any file from the Emacs source.

Then EDE will try to detect the Emacs project (S?X?Emacs and version).

-David