From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 16:32:13 +0300 Message-ID: <83txwpfk82.fsf@gnu.org> References: <623F1AC1C2E540D09676869BBDA4B15A@us.oracle.com> <83hat69thh.fsf@gnu.org> <838veh9kxu.fsf@gnu.org> <836295hqgi.fsf@gnu.org> <1mpq7dd9zw.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1343655194 19232 80.91.229.3 (30 Jul 2012 13:33:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 13:33:14 +0000 (UTC) Cc: cyd@gnu.org, 11959@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 15:33:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Svq5s-0007QI-EQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 15:33:08 +0200 Original-Received: from localhost ([::1]:48011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svq5r-00057H-QD for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 09:33:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svq5i-00056t-JP for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 09:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svq5Z-00057F-3C for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 09:32:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svq5Y-00057B-Vf for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 09:32:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvqCY-0000qB-7j for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 09:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jul 2012 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11959-submit@debbugs.gnu.org id=B11959.13436555573174 (code B ref 11959); Mon, 30 Jul 2012 13:40:02 +0000 Original-Received: (at 11959) by debbugs.gnu.org; 30 Jul 2012 13:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:50314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvqBo-0000p9-Vn for submit@debbugs.gnu.org; Mon, 30 Jul 2012 09:39:17 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40468) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvqBm-0000oz-UM for 11959@debbugs.gnu.org; Mon, 30 Jul 2012 09:39:15 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M7Z00D006CEIY00@a-mtaout21.012.net.il> for 11959@debbugs.gnu.org; Mon, 30 Jul 2012 16:32:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7Z00D486XBJT20@a-mtaout21.012.net.il>; Mon, 30 Jul 2012 16:32:00 +0300 (IDT) In-reply-to: <1mpq7dd9zw.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62623 Archived-At: > From: Glenn Morris > Cc: Stefan Monnier , Chong Yidong , 11959@debbugs.gnu.org > Date: Mon, 30 Jul 2012 02:43:47 -0400 > > Eli Zaretskii wrote: > > > 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? > > Define MS functions analogous to ns_etc_directory, ns_exec_path, and > ns_load_path. For simplicity/consistency, we can rename these to > something like "platform_etc_directory" etc (or reloc_, or whatever_), > then NS and MS Windows can use the same function names. Then we can just > replace the #ifdef HAVE_NS in callproc.c with #if defined HAVS_NS || > defined WINDOWSNT. That's "Windows specific code" I alluded to. If that's what we want, I have no problems with that. I just thought #ifdef's would be ugly.