GNU bug report logs - #12123
relocatable installation

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 2 Aug 2012 17:06:02 UTC

Severity: wishlist

Found in version 24.1

Full log


Message #32 received at 12123 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rgm <at> gnu.org
Cc: 12123 <at> debbugs.gnu.org, yandros <at> MIT.EDU, eggert <at> cs.ucla.edu
Subject: Re: bug#12123:
Date: Sun, 07 Apr 2013 22:42:11 +0300
> Date: Sun, 07 Apr 2013 22:06:32 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 12123 <at> debbugs.gnu.org, yandros <at> MIT.EDU, eggert <at> cs.ucla.edu
> 
> Code in emacs.c that sets invocation-directory relies on argv[0] to
> either be an absolute file name, or relative to cwd, or a base name
> without leading directories that can be found on PATH.

Btw, even if these conditions _are_ true, I still don't see how can we
find /usr/libexec/emacs/VERSION/CONFIG/, /usr/share/emacs/VERSION/lisp/
using the fact that Emacs was invoked from /usr/bin/.  Which part of
the code knows about VERSION and CONFIG part and looks for them?  All I
see is that we look for lib-src and etc, but that's only good to detect
that we are being run from the build directory, not from where we are
installed.  What am I missing?




This bug report was last modified 12 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.