From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Chong Yidong <cyd@gnu.org>, 11959@debbugs.gnu.org
Subject: bug#11959: 24.1.50; Warning: Lisp directory `C:/Emacs-24-2012-07-16/../site-lisp' does not exist.
Date: Mon, 30 Jul 2012 08:05:04 +0200 [thread overview]
Message-ID: <42C63609-6602-4632-B4C2-B98AAB2C4815@swipnet.se> (raw)
In-Reply-To: <836295hqgi.fsf@gnu.org>
30 jul 2012 kl. 05:34 skrev Eli Zaretskii:
>> From: Glenn Morris <rgm@gnu.org>
>> Cc: 11959@debbugs.gnu.org
>> Date: Sun, 29 Jul 2012 19:50:28 -0400
>>
>> Eli Zaretskii wrote:
>>
>>> It would be easy enough to make sure the site-lisp directories exist
>>> before adding them to EMACSLOADPATH on Windows.
>>
>> That's probably the simplest solution.
>
> I will do that, if this is the consensus. Stefan, Chong, what say
> you?
>
>> Or make the install create them, as the POSIX installation does.
>
> The problem happens when you run the uninstalled binary as well.
>
>> Actually, my recommendation would be to stop setting EMACSLOADPATH (and
>> the other EMACS* environment variables...) on MS Windows, similar to
>> what I recently did for the NS port.
>
> I don't see how this is possible. Emacs on Windows is built to be
> relocatable, because many users install precompiled binaries in any
> place they feel like. So Emacs on Windows must determine its
> load-path at run time. By contrast, the mainline code relies on file
> names hardwired into the executable at configure/build time, which is
> a non-starter. What other devices do we have for forcing load-path to
> have a specific value, except setting EMACSLOADPATH? I could, of
> course, ifdef away the entire code that does that on lread.c, and put
> there a Windows specific code instead, but is that really a better
> alternative?
The NS-port is also fully relocatable and determines load-path at runtime.
Jan D.
next prev parent reply other threads:[~2012-07-30 6:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 16:40 bug#11959: 24.1.50; Warning: Lisp directory `C:/Emacs-24-2012-07-16/../site-lisp' does not exist Drew Adams
2012-07-17 17:40 ` Eli Zaretskii
2012-07-17 17:42 ` Drew Adams
2012-07-18 14:57 ` Eli Zaretskii
2012-07-18 15:20 ` Drew Adams
2012-07-18 17:08 ` Eli Zaretskii
2012-07-29 23:50 ` Glenn Morris
2012-07-29 23:58 ` Glenn Morris
2012-07-30 3:34 ` Eli Zaretskii
2012-07-30 6:05 ` Jan Djärv [this message]
2012-07-30 13:30 ` Eli Zaretskii
2012-07-30 6:43 ` Glenn Morris
2012-07-30 13:32 ` Eli Zaretskii
2012-07-30 15:09 ` Glenn Morris
2012-07-30 15:11 ` Glenn Morris
2012-07-31 17:10 ` Eli Zaretskii
2012-08-01 20:32 ` Stefan Monnier
2012-08-02 15:29 ` Eli Zaretskii
2012-08-02 15:42 ` Glenn Morris
2012-08-04 14:30 ` 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=42C63609-6602-4632-B4C2-B98AAB2C4815@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=11959@debbugs.gnu.org \
--cc=cyd@gnu.org \
--cc=eliz@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.