all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman" <lennart.borgman@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: Sven Joachim <svenjoac@gmx.de>, emacs-devel@gnu.org
Subject: Re: no executable emacs binary in exec-directory
Date: Sun, 30 Nov 2008 01:38:34 +0100	[thread overview]
Message-ID: <e01d8a50811291638k586dbd76j5ce7627fe9fffe13@mail.gmail.com> (raw)
In-Reply-To: <jwvwsemz4ke.fsf-monnier+emacs@gnu.org>

On Sat, Nov 29, 2008 at 8:59 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>>> (defun ourcomments-find-emacs-executable ()
>>> (let ((exec-path (list invocation-directory)))
>>> (executable-find invocation-name)))
>
>> Hm, this looks better, but I wonder about the "1".
>
>> (defun ourcomments-find-emacs ()
>>   (locate-file invocation-name
>>                (list invocation-directory)
>>                exec-suffixes
>>                1 ;; Depreceated, but used in executable-find
>>                ))
>
> Why does it look better to you?

I feel that it more explicitly mentions in which directory the search
is made. But I might change my mind about that tomorrow ... ;-)




      reply	other threads:[~2008-11-30  0:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-29 13:00 no executable emacs binary in exec-directory Lennart Borgman
2008-11-29 13:23 ` Sven Joachim
2008-11-29 13:26   ` Juanma Barranquero
2008-11-29 13:46     ` Stephen J. Turnbull
2008-11-29 13:48       ` Lennart Borgman
2008-11-29 13:46     ` Sven Joachim
2008-11-29 14:51       ` Juanma Barranquero
2008-11-29 13:41   ` Lennart Borgman
2008-11-29 13:55     ` Lennart Borgman
2008-11-29 19:59       ` Stefan Monnier
2008-11-30  0:38         ` Lennart Borgman [this message]

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=e01d8a50811291638k586dbd76j5ce7627fe9fffe13@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=svenjoac@gmx.de \
    /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.