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: Wed, 18 Jul 2012 20:08:01 +0300 Message-ID: <834np59evi.fsf@gnu.org> References: <623F1AC1C2E540D09676869BBDA4B15A@us.oracle.com> <83hat69thh.fsf@gnu.org> <838veh9kxu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1342631344 16206 80.91.229.3 (18 Jul 2012 17:09:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2012 17:09:04 +0000 (UTC) Cc: 11959@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 18 19:09:04 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 1SrXkD-00009M-SK for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jul 2012 19:09:01 +0200 Original-Received: from localhost ([::1]:42681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrXkC-0005Pb-V6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jul 2012 13:09:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrXkA-0005PK-0z for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2012 13:08:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrXk8-0003ZU-Rs for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2012 13:08:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrXk8-0003ZP-OV for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2012 13:08:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SrXq2-0001hB-IJ for bug-gnu-emacs@gnu.org; Wed, 18 Jul 2012 13:15: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: Wed, 18 Jul 2012 17:15: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.13426316826442 (code B ref 11959); Wed, 18 Jul 2012 17:15:02 +0000 Original-Received: (at 11959) by debbugs.gnu.org; 18 Jul 2012 17:14:42 +0000 Original-Received: from localhost ([127.0.0.1]:48809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrXpi-0001fr-25 for submit@debbugs.gnu.org; Wed, 18 Jul 2012 13:14:42 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37752) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrXpf-0001fj-KX for 11959@debbugs.gnu.org; Wed, 18 Jul 2012 13:14:41 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7D00J008HEA900@a-mtaout22.012.net.il> for 11959@debbugs.gnu.org; Wed, 18 Jul 2012 20:07:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7D00IKI8X1RXB0@a-mtaout22.012.net.il>; Wed, 18 Jul 2012 20:07:49 +0300 (IDT) In-reply-to: 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:62122 Archived-At: > From: "Drew Adams" > Cc: <11959@debbugs.gnu.org> > Date: Wed, 18 Jul 2012 08:20:15 -0700 > > > The other part of the puzzle is that when Emacs on Windows starts, it > > always defines EMACSLOADPATH and puts 2 site-lisp directories into it: > > one that is in the same tree as the binary, which is supposed to be > > version dependent, and another one that is a sibling of the root of > > the installed tree, which is supposed to be version-independent. > > You mean that it does so systematically, in a hard-coded fashion? Or does it > put those there only if such directories exist? On Windows, there's no test for their existence. > > And if we do want to check that, why not exempt the site-lisp > > directories from the need to exist, like we do in the case where > > EMACSLOADPATH is not set? > > Such exceptionalism smacks of fragile design. What applies to site-lisp might > apply to some other directory as well (tomorrow, if not today). Not exactly. The other directories, 'lisp' and 'leim', are _required_ by Emacs, otherwise it's an incomplete package, i.e. a broken installation. By contrast, 'site-lisp' is not required for Emacs operation, it's a convenience for the user to put her local stuff in. On Unix, Emacs always tested whether site-lisp exists before adding it to load-path, with the rationale that it's not required.