all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Lennart Borgman" <lennart.borgman@gmail.com>
Cc: Sven Joachim <svenjoac@gmx.de>, emacs-devel@gnu.org
Subject: Re: no executable emacs binary in exec-directory
Date: Sat, 29 Nov 2008 14:59:49 -0500	[thread overview]
Message-ID: <jwvwsemz4ke.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a50811290555m569d13fasa7975e1d4842db29@mail.gmail.com> (Lennart Borgman's message of "Sat, 29 Nov 2008 14:55:21 +0100")

>> (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?


        Stefan




  reply	other threads:[~2008-11-29 19:59 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 [this message]
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=jwvwsemz4ke.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --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.