all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Directory structure changes in Emacs installed on MS-Windows
Date: Fri, 05 Apr 2013 11:19:21 -0400	[thread overview]
Message-ID: <jwvk3oh6m7y.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <831uapf4de.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 05 Apr 2013 17:18:05 +0300")

> No one picked up that gauntlet.  One piece of the puzzle that is still
> missing (at least as far as I'm concerned) for its solution is how to
> reliably determine on Posix platforms the directory where the invoked
> Emacs executable lives.

100% reliable can't be done, I think.

> I vaguely remember that the value of argv[0] is unreliable, and
> therefore even searching for it on PATH won't do.

Indeed.  That's the best we can do, AFAIK.


        Stefan



  reply	other threads:[~2013-04-05 15:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 17:45 Directory structure changes in Emacs installed on MS-Windows Eli Zaretskii
2013-04-04 22:51 ` Xue Fuqiao
2013-04-04 23:03 ` Stephen Leake
2013-04-05  6:06   ` Eli Zaretskii
2013-04-05  8:48     ` chad
2013-04-05  9:18       ` Eli Zaretskii
2013-04-05 13:19     ` Stefan Monnier
2013-04-05 14:18       ` Eli Zaretskii
2013-04-05 15:19         ` Stefan Monnier [this message]
2013-04-05 15:20         ` Glenn Morris
2013-04-05 17:32           ` chad
2013-04-04 23:16 ` Andy Moreton
2013-04-05  6:08   ` Eli Zaretskii

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=jwvk3oh6m7y.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.