From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: OS X: load-path on self-contained build Date: Mon, 23 Jul 2007 18:30:44 -0400 Message-ID: References: <1AB325EC-A475-42D9-B622-C2892A850DBB@mac.com> <6450652C-3FFD-435D-9B85-038C12AA2AE1@mac.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1185229817 5663 80.91.229.12 (23 Jul 2007 22:30:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 22:30:17 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 24 00:30:15 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 1ID6Pu-0006VT-Mp for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 00:30:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ID6Pu-0005Zz-1X for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2007 18:30:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ID6Ou-0003W2-D8 for emacs-devel@gnu.org; Mon, 23 Jul 2007 18:29:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ID6Ou-0003Vi-0X for emacs-devel@gnu.org; Mon, 23 Jul 2007 18:29:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ID6Ot-0003Vd-NW for emacs-devel@gnu.org; Mon, 23 Jul 2007 18:29:11 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ID6Ot-0006RN-Co for emacs-devel@gnu.org; Mon, 23 Jul 2007 18:29:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ID6QO-0006QD-Fq; Mon, 23 Jul 2007 18:30:44 -0400 In-Reply-To: <6450652C-3FFD-435D-9B85-038C12AA2AE1@mac.com> (message from Seiji Zenitani on Sun, 15 Jul 2007 18:11:02 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:75416 Archived-At: Would those who maintain Emacs on MacOS please DTRT? The attached patch (by R. Yoshitake; GPL) works fine for me. Is there any potential side-effects? Seiji Zenitani zenitani@mac.com --- src/mac.c.orig 2007-04-20 09:26:45.000000000 -0400 +++ src/mac.c 2007-06-09 18:54:42.000000000 -0400 @@ -5331,12 +5335,12 @@ q[0] = '\0'; strcpy (p, app_bundle_pathname); - strcat (p, "/Contents/Resources/lisp"); + strcat (p, "/Contents/Resources/site-lisp"); if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) strcat (q, p); strcpy (p, app_bundle_pathname); - strcat (p, "/Contents/Resources/leim"); + strcat (p, "/Contents/Resources/lisp"); if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) { if (q[0] != '\0') @@ -5345,7 +5349,7 @@ } strcpy (p, app_bundle_pathname); - strcat (p, "/Contents/Resources/site-lisp"); + strcat (p, "/Contents/Resources/leim"); if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) { if (q[0] != '\0')