From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#14513: 24.3.50; Site load-path pieces differ in MSYS build Date: Sat, 1 Jun 2013 17:04:11 +0100 Message-ID: References: <83y5aw4e0x.fsf@gnu.org> <83r4go49dg.fsf@gnu.org> <83hahk467a.fsf@gnu.org> <83ehco42t6.fsf@gnu.org> <837gif4qni.fsf@gnu.org> <83r4gn2xhk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c38f0cd95c4904de19e1fa X-Trace: ger.gmane.org 1370102729 31959 80.91.229.3 (1 Jun 2013 16:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Jun 2013 16:05:29 +0000 (UTC) Cc: 14513@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 01 18:05:29 2013 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 1UioJ7-0008Lm-5g for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 18:05:29 +0200 Original-Received: from localhost ([::1]:38322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UioJ6-0000jP-JH for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 12:05:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UioJ1-0000j4-Ks for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 12:05:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UioJ0-0006Ef-IA for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 12:05:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UioJ0-0006Ea-Dy for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 12:05:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UioKd-0005Na-20 for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2013 12:07:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2013 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14513-submit@debbugs.gnu.org id=B14513.137010276220534 (code B ref 14513); Sat, 01 Jun 2013 16:07:02 +0000 Original-Received: (at 14513) by debbugs.gnu.org; 1 Jun 2013 16:06:02 +0000 Original-Received: from localhost ([127.0.0.1]:46330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UioJd-0005Kr-6F for submit@debbugs.gnu.org; Sat, 01 Jun 2013 12:06:01 -0400 Original-Received: from mail-ee0-f51.google.com ([74.125.83.51]:36207) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UioJa-0005KW-Ow for 14513@debbugs.gnu.org; Sat, 01 Jun 2013 12:06:00 -0400 Original-Received: by mail-ee0-f51.google.com with SMTP id e51so659360eek.24 for <14513@debbugs.gnu.org>; Sat, 01 Jun 2013 09:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dfTmbMEhUvmXPi4xAXDoxWSc6wOvT+wCTc7mrQDaz3Q=; b=W4jjr2JNAVYu/w5Pt6ILaqKJHNMkYXT5fqn+lydHLd9/BMnQNiu1VfxrWcSX0h5a0u VQ4YAkF9GCNgR5pTuDNhSoCtaDQPKH5Li/GH5fwUSixUnaAi4u14XVJ1hAyiMGRoyToF XzMefF/o54tjuLrpIgwfRp+VbFfRe4Trkttr0BwSinUThcgvUN9BjUfzRDJPw0ZWwB2S +kR1RUCqgnAvhMfBW9pSSm0N6NRztlbAuhbaf6nYRqrRPg2Ihkj7uIVOcQHk19Bx3Ksv Sh0N39sZSosw4CeG6VmKJRd+tmU2nTfGNlbG18xVSuZbea2WoQP84BiTCnW2+M++bzKv w2tw== X-Received: by 10.14.100.68 with SMTP id y44mr16859026eef.70.1370102651497; Sat, 01 Jun 2013 09:04:11 -0700 (PDT) Original-Received: by 10.14.212.67 with HTTP; Sat, 1 Jun 2013 09:04:11 -0700 (PDT) In-Reply-To: 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.x 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:74734 Archived-At: --001a11c38f0cd95c4904de19e1fa Content-Type: multipart/alternative; boundary=001a11c38f0cd95c4604de19e1f8 --001a11c38f0cd95c4604de19e1f8 Content-Type: text/plain; charset=ISO-8859-1 On 31 May 2013 13:55, Richard Copley wrote: > On 31 May 2013 12:35, Eli Zaretskii wrote: > > > Date: Fri, 31 May 2013 10:52:11 +0100 > > > From: Richard Copley > > > Cc: Stefan Monnier , 14513@debbugs.gnu.org > > > > > > > > We should advertise it (I presume you mean the use > > > > > of --enable-locallisppath=PATH) at least as loudly as the "default > > > > > $prefix is probably not good for you". > > > > > > > > > > > Just a reminder that --enable-locallisppath=PATH seems not to work > > > (I mentioned that in my original post). > > Patches are welcome to support it. You need to add something to > > editing of epaths.nt in the epaths-force-w32 rule. > I will have a go. See attached. Here is a brief description: Support the --enable-locallisppath argument on Windows, by making use of the value of ${locallisppath} supplied by `configure'. Also correct the description of ${locallisppath} in epaths.in and epaths.nt. I don't know about Changelogs and stuff. Is there any chance I can leave all that up to the real developers please? Tested with kit as in INSTALL.MSYS, including Make 3.82.90, and gives the expected results in epaths.h: msysconfig.sh => #define PATH_SITELOADSEARCH "%emacs_dir%/share/emacs/24.3.50/site-lisp;%emacs_dir%/share/emacs/site-lisp" msysconfig.sh "--prefix=/c/Program Files (x86)/GNU Emacs/emacs-112416" => #define PATH_SITELOADSEARCH "%emacs_dir%/share/emacs/24.3.50/site-lisp;%emacs_dir%/share/emacs/site-lisp" msysconfig.sh --locallisppath=%emacs_dir%/../site-lisp => #define PATH_SITELOADSEARCH "%emacs_dir%/../site-lisp" --001a11c38f0cd95c4604de19e1f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 31 May 2013 13:55, Richard Copley <rcopley@gmail.com> wrote:
> On 31 May= 2013 12:35, Eli Zaretskii <eliz@gnu.org= > wrote:
> > > Date: Fri, 31 May 2013 10:52:11 +0100
> > > From= : Richard Copley <rcopley@gmail.com= >
> > > Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 14513@debbugs.gnu.org
> > >
> > > > > We should advertise it (I presum= e you mean the use
> > > > > of --enable-locallisppath=3D= PATH) at least as loudly as the "default
> > > > > $= prefix is probably not good for you".
> > > >
> > > >
> > > Just a reminde= r that --enable-locallisppath=3DPATH seems not to work
> > > (I= mentioned that in my original post).
> > Patches are welcome to s= upport it.=A0 You need to add something to
> > editing of epaths.nt in the epaths-force-w32 rule.
> I wil= l have a go.

See attached. Here is a brief description:

Suppo= rt the --enable-locallisppath argument on Windows, by making use
of the = value of ${locallisppath} supplied by `configure'.
Also correct the description of ${locallisppath} in epaths.in and epaths.nt.

I don't know about Changelogs= and stuff. Is there any chance
I can leave all that up to the real deve= lopers please?

Tested with kit as in INSTALL.MSYS, including Make 3.82.90,
and gives the expected results in epaths.h:

msysconfig.sh
=3D> #define PATH_SITELOADSEARCH "%emacs_dir%/share/emacs/24= .3.50/site-lisp;%emacs_dir%/share/emacs/site-lisp"

msysconfig.sh "--prefix=3D/c/Program Files (x86)/GNU Em= acs/emacs-112416"
=3D> #define PATH_SITELOADSEARCH &q= uot;%emacs_dir%/share/emacs/24.3.50/site-lisp;%emacs_dir%/share/emacs/site-= lisp"

msysconfig.sh --locallisppath=3D%emacs_dir%/../site-lisp
= =3D> #define PATH_SITELOADSEARCH "%emacs_dir%/../site-lisp"

--001a11c38f0cd95c4604de19e1f8-- --001a11c38f0cd95c4904de19e1fa Content-Type: application/octet-stream; name="msys-locallisppath.patch" Content-Disposition: attachment; filename="msys-locallisppath.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhezp68n0 PT09IG1vZGlmaWVkIGZpbGUgJ01ha2VmaWxlLmluJwotLS0gTWFrZWZpbGUuaW4JMjAxMy0wNS0x NiAwOTo1ODo1NiArMDAwMAorKysgTWFrZWZpbGUuaW4JMjAxMy0wNi0wMSAxNTozMzo0NCArMDAw MApAQCAtMzIxLDExICszMjEsMjUgQEAKICMgQ29udmVydCBNU1lTLXN0eWxlIC94L2ZvbyBmaWxl IG5hbWUgaW50byB4Oi9mb28gdGhhdCBXaW5kb3dzIGNhbiBncm9rLgogbXN5c190b193MzI9c2Vk IC1lICdzLF4vXChbQS1aYS16XVwpLyxcMTovLCcKIAorIyBGaXggdXAgTVNZUyBkaXJlY3Rvcnkg c2VhcmNoIHBhdGggZm9yIFdpbmRvd3MuIFJlbW92ZSBlbXB0eSBjb21wb25lbnRzLAorIyBjb252 ZXJ0IGVhY2ggY29tcG9uZW50IGFzIGJ5IG1zeXNfdG9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