unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: chad <yandros@MIT.EDU>, Paul Eggert <eggert@cs.ucla.edu>
Cc: 12123@debbugs.gnu.org
Subject: bug#12123:
Date: Fri, 05 Apr 2013 20:48:33 +0300	[thread overview]
Message-ID: <83txnkeumm.fsf@gnu.org> (raw)
In-Reply-To: <1B611D1D-B0AB-4E06-A8C4-EF89E5093154@mit.edu>

> From: chad <yandros@MIT.EDU>
> Date: Fri, 5 Apr 2013 10:27:21 -0700
> 
> Web searching suggests approaches for several specific platforms
> (GNU/Linux, FreeBSD, Solaris, macosx, and Windows) that might be
> useful:
> 
> http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe

The Windows method mentioned there is exactly what Emacs already uses
on Windows.

Anyway, I see that gnulib has a progreloc module whose purpose is to
make program relocatable.  Perhaps Paul (CC'ed) could import it and
use it in callproc.c to do what Stefan suggested.





  parent reply	other threads:[~2013-04-05 17:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <probmtut73.fsf@fencepost.gnu.org>
2013-04-05 17:27 ` bug#12123: chad
2013-04-05 17:32   ` bug#12123: Glenn Morris
2013-04-05 17:48   ` Eli Zaretskii [this message]
2013-04-06  6:47     ` bug#12123: Paul Eggert
2013-04-06  8:22       ` bug#12123: Eli Zaretskii
2013-04-06 20:35         ` bug#12123: Paul Eggert
2013-04-07  2:42           ` bug#12123: Eli Zaretskii
2013-04-07 18:32             ` bug#12123: Glenn Morris
2013-04-07 19:06               ` bug#12123: Eli Zaretskii
2013-04-07 19:42                 ` bug#12123: Eli Zaretskii
2013-04-08  2:00                   ` bug#12123: Glenn Morris
2013-04-08  2:44                     ` bug#12123: Eli Zaretskii
2013-04-08  2:02                 ` bug#12123: Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83txnkeumm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=12123@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=yandros@MIT.EDU \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).