From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris 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: Sun, 29 Jul 2012 19:50:28 -0400 Message-ID: References: <623F1AC1C2E540D09676869BBDA4B15A@us.oracle.com> <83hat69thh.fsf@gnu.org> <838veh9kxu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343605859 31519 80.91.229.3 (29 Jul 2012 23:50:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2012 23:50:59 +0000 (UTC) Cc: 11959@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 01:50:59 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 1SvdGC-0006gJ-P8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 01:50:56 +0200 Original-Received: from localhost ([::1]:52768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvdGC-0002Zr-65 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jul 2012 19:50:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvdG9-0002Zk-V8 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 19:50:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvdG9-0000J4-34 for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 19:50:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvdG8-0000Iz-Vo for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 19:50:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvdN4-0003WS-SR for bug-gnu-emacs@gnu.org; Sun, 29 Jul 2012 19:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jul 2012 23:58: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.134360626713520 (code B ref 11959); Sun, 29 Jul 2012 23:58:02 +0000 Original-Received: (at 11959) by debbugs.gnu.org; 29 Jul 2012 23:57:47 +0000 Original-Received: from localhost ([127.0.0.1]:49529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvdMo-0003W0-It for submit@debbugs.gnu.org; Sun, 29 Jul 2012 19:57:47 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:33638) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvdMi-0003Vq-U9 for 11959@debbugs.gnu.org; Sun, 29 Jul 2012 19:57:42 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SvdFl-0003iQ-4r; Sun, 29 Jul 2012 19:50:29 -0400 X-Spook: passwd Crowell Waco, Texas AK-47 argus rs9512c Treasury X-Ran: 1'3vz"a8NQwK'Q;)yjB+ohbVE~*$}c#d|,3]BTG65)`Oaw!a/=$EBJ&TuYi7<0m:_>R)\] X-Hue: white X-Attribution: GM In-Reply-To: <838veh9kxu.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Jul 2012 17:57:01 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:62596 Archived-At: 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. Or make the install create them, as the POSIX installation does. 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. The only time I ever hear about EMACSLOADPATH is it causing subtle problems (eg building one version of Emacs within another, the recent several uni-mirror related startup failures, I'm guessing). > But before doing so, I'd like to understand why was the behavior in > init_lread changed so as to check EMACSLOADPATH in the first place? Because I saw no reason to treat EMACSLOADPATH directories differently to the normal directories. Users should still be warned if they are missing. (I guess very few people are using EMACSLOADPATH intentionally though.) > 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? Because I assumed people setting EMACSLOADPATH would only include existing directories, and would want to be warned about missing ones. I overlooked that MS Windows adds site-lisp directories without checking they exist. Also there's no clean way to detect what a site-lisp directory is in the EMACSLOADPATH case (simply checking for site-lisp in the name is not robust).