From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel Subject: Re: OS X: load-path on self-contained build Date: Wed, 01 Aug 2007 19:23:51 -0300 Message-ID: <46B107F7.3060103@ig.com.br> References: <1AB325EC-A475-42D9-B622-C2892A850DBB@mac.com> <6450652C-3FFD-435D-9B85-038C12AA2AE1@mac.com> <46B0FF48.9000500@ig.com.br> <627D6D1E-0114-1000-9924-137F67FF8334-Webmail-10009@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186007186 30113 80.91.229.12 (1 Aug 2007 22:26:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2007 22:26:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Seiji Zenitani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 02 00:26:19 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 1IGMdz-00050P-3r for ged-emacs-devel@m.gmane.org; Thu, 02 Aug 2007 00:26:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGMdy-0006Az-IL for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2007 18:26:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGMaj-0001mS-2f for emacs-devel@gnu.org; Wed, 01 Aug 2007 18:22:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGMaf-0001lS-Ty for emacs-devel@gnu.org; Wed, 01 Aug 2007 18:22:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGMaf-0001lO-Ni for emacs-devel@gnu.org; Wed, 01 Aug 2007 18:22:49 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.229]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGMaf-0007BD-AU for emacs-devel@gnu.org; Wed, 01 Aug 2007 18:22:49 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so275163wxc for ; Wed, 01 Aug 2007 15:22:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=OTkJ2/9Lc53Y6Zd3B3YYgTgcl19iRsL8IvXaYRcnNEb4gx73gv6jxE5A8nb3u/anckkX+m5eFOy/0vX8JaDuEpDxKyINVzrSDZ/zZZQQ4mLPM7aX429j0iisE4oJ+OwwgHDTzOvyZwTR6iobQv0irhPm34q+w1jN/lDWt6gTIsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=AiQia6j99/Ui767F559vA6a2wHoDIFwY7b5x4W/lRnq0kzysRXWPK5T4GAVKsTj74QC+rM2b6+rVhiiX2dOGpW5hj4hOQiU/fzE5cyYn0VQNpPP0+DuGrwH+NEMSITWuraKnyeWp90HTviTPvsgTIuMbWpLyr70WLO5VLl0GiHI= Original-Received: by 10.90.83.14 with SMTP id g14mr1316411agb.1186006968722; Wed, 01 Aug 2007 15:22:48 -0700 (PDT) Original-Received: from ?201.82.142.28? ( [201.82.142.28]) by mx.google.com with ESMTPS id 6sm1477381agb.2007.08.01.15.22.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Aug 2007 15:22:47 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070716 SeaMonkey/1.1.3 In-Reply-To: <627D6D1E-0114-1000-9924-137F67FF8334-Webmail-10009@mac.com> X-Detected-Kernel: Linux 2.6 (newer, 2) 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:75935 Archived-At: Done. Patch applied in trunk and Emacs 22 branch. Seiji Zenitani wrote: > In order to avoid future misunderstanding, > could you please fix the relevant comment string, too? > > --- mac.c.orig 2007-08-01 18:00:27.000000000 -0400 > +++ mac.c 2007-08-01 18:01:53.000000000 -0400 > @@ -5322,8 +5322,8 @@ > /* P should have sufficient room for the pathname of the bundle plus > the subpath in it leading to the respective directories. Q > should have three times that much room because EMACSLOADPATH can > - have the value ":: - site-lisp dir>". */ > + have the value ":: + to leim dir>". */ > p = (char *) alloca (app_bundle_pathname_len + 50); > q = (char *) alloca (3 * app_bundle_pathname_len + 150); > if (!getenv ("EMACSLOADPATH")) > > On Wednesday, August 01, 2007, at 05:45PM, "Vinicius Jose Latorre" wrote: > >> Done. >> >> Patch applied in trunk and Emacs 22 branch. >> >> >> Seiji Zenitani wrote: >> >>> Hi, >>> >>> Could anyone please deal with the below patch? According to the CVS, >>> that part was written by Dr. Andrew Choi 5 years ago (revision 1.9, >>> Fri Aug 16 02:30:21 2002 UTC). I noticed that comment strings (/* ... >>> */) near the relevant lines should reflect the change, too. >>> >>> Seiji Zenitani >>> zenitani@mac.com >>> >>> On 2007/07/15, at 18:11, Seiji Zenitani wrote: >>> >>>> On 2007/07/10, at 18:01, Richard Stallman wrote: >>>> >>>> >>>>> Would someone please fix this, then ack? >>>>> >>>> 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') >>>>