all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman" <lennart.borgman@gmail.com>
To: "Sven Joachim" <svenjoac@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: no executable emacs binary in exec-directory
Date: Sat, 29 Nov 2008 14:41:13 +0100	[thread overview]
Message-ID: <e01d8a50811290541p7659ea5dy4855d142c3e0cb66@mail.gmail.com> (raw)
In-Reply-To: <87k5am3bu5.fsf@turtle.gmx.de>

On Sat, Nov 29, 2008 at 2:23 PM, Sven Joachim <svenjoac@gmx.de> wrote:
> On 2008-11-29 14:00 +0100, Lennart Borgman wrote:
>
>> I thought that the currently running emacs binary should be in
>> exec-directory. That does not seem to be the case always.
>
> Actually, on GNU/Linux this should never be the case.
>
>> How do you find it?
>
> It is in invocation-directory, and its name is invocation-name.

Thanks. Is this then the way to find the executable?

(defun ourcomments-find-emacs-executable ()
  (let ((exec-path (list invocation-directory)))
    (executable-find invocation-name)))




  parent reply	other threads:[~2008-11-29 13:41 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 [this message]
2008-11-29 13:55     ` Lennart Borgman
2008-11-29 19:59       ` Stefan Monnier
2008-11-30  0:38         ` Lennart Borgman

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=e01d8a50811290541p7659ea5dy4855d142c3e0cb66@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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.