From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Seiji Zenitani Newsgroups: gmane.emacs.devel Subject: OS X: load-path on self-contained build Date: Mon, 9 Jul 2007 23:54:32 -0400 Message-ID: <1AB325EC-A475-42D9-B622-C2892A850DBB@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184060369 18582 80.91.229.12 (10 Jul 2007 09:39:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2007 09:39:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 10 11:39:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8CBn-0004GV-9N for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 11:39:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8CBl-0007ry-GV for ged-emacs-devel@m.gmane.org; Tue, 10 Jul 2007 05:39:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I86oF-0006Lu-Ug for emacs-devel@gnu.org; Mon, 09 Jul 2007 23:54:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I86oF-0006KL-8z for emacs-devel@gnu.org; Mon, 09 Jul 2007 23:54:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I86oE-0006Jg-UD for emacs-devel@gnu.org; Mon, 09 Jul 2007 23:54:42 -0400 Original-Received: from smtpout.mac.com ([17.250.248.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I86oE-000735-Cw for emacs-devel@gnu.org; Mon, 09 Jul 2007 23:54:42 -0400 Original-Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/smtpout16/MantshX 4.0) with ESMTP id l6A3seBi014237 for ; Mon, 9 Jul 2007 20:54:40 -0700 (PDT) Original-Received: from [10.0.1.199] (c-68-55-160-31.hsd1.md.comcast.net [68.55.160.31]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id l6A3sc9b029754 for ; Mon, 9 Jul 2007 20:54:39 -0700 (PDT) X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (1) X-Mailman-Approved-At: Tue, 10 Jul 2007 05:39:11 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74549 Archived-At: Hello, On Mac OS X, emacs (22.1) has the following "load-path" variable, if it is built with 'self-contained' option. I don't understand why directory is prior to directory. It seems that the below load-path comes from the environment variable EMACSLOADPATH, which is defined in l.5339 ~ 5352 in mac.c (emacs 22.1). $ cd mac $ ./make-package --self-contained load-path's value is: /Applications/Emacs.app/Contents/Resources/lisp /Applications/Emacs.app/Contents/Resources/lisp/url ...(snip)... /Applications/Emacs.app/Contents/Resources/leim /Applications/Emacs.app/Contents/Resources/site-lisp Sincerely, Seiji Zenitani zenitani@mac.com