From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Some thing wrong with the site-lisp path in Windows 7 Date: Fri, 29 Nov 2013 20:19:36 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1385752776 15069 80.91.229.3 (29 Nov 2013 19:19:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Nov 2013 19:19:36 +0000 (UTC) Cc: Emacs development discussions To: Shuguang Sun Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 29 20:19:43 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VmTbL-0005Pv-97 for ged-emacs-devel@m.gmane.org; Fri, 29 Nov 2013 20:19:43 +0100 Original-Received: from localhost ([::1]:49094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmTbK-000751-RP for ged-emacs-devel@m.gmane.org; Fri, 29 Nov 2013 14:19:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmTbH-00074v-AF for emacs-devel@gnu.org; Fri, 29 Nov 2013 14:19:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmTbG-0003Cq-4h for emacs-devel@gnu.org; Fri, 29 Nov 2013 14:19:39 -0500 Original-Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:61012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmTbF-0003Cj-RQ for emacs-devel@gnu.org; Fri, 29 Nov 2013 14:19:38 -0500 Original-Received: by mail-la0-f42.google.com with SMTP id ec20so7194570lab.1 for ; Fri, 29 Nov 2013 11:19:36 -0800 (PST) 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=2aNVc54eDoLjb4pW0RYZAG11rJd7wBv/yhUUR/eGkrU=; b=MtubudQy+iv9vS9M/KoBkHXp0tu2xpRNOL8H5DsOrD+bAu9FUC43o0BXeEp9V/TRgW H1IsgC43lR5cHU+VqQGoEcIqdfjdrn1ACbQkJuGsucyLi6s/oFJemA4zv++l4gGEiKJu Z1eMWO4Ik7irCljMji5vDehwdu4pfJsUUZ9u5Pzk8OOrLmyb8+rOinUeRyaRIppQ5UIQ +x4BzQJsXu2FtdqQug4f87+z1B+17D2wzp8hCiBCHa1opsHDwD/Dn5YvzTp0RY+UUK0v USP6A5vtByqrgvCMxsJZqHp/3iCMkKk1DpPbQ7yHFOBsuMR5eTkawX4TL5nLQVvzJQby ZfVQ== X-Received: by 10.152.45.8 with SMTP id i8mr37363310lam.12.1385752776661; Fri, 29 Nov 2013 11:19:36 -0800 (PST) Original-Received: by 10.114.176.231 with HTTP; Fri, 29 Nov 2013 11:19:36 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165893 Archived-At: On Fri, Nov 29, 2013 at 4:26 PM, Shuguang Sun wrote: > I'm using Emacs in Windows 7. Everything works well in the trunk > r115085-20131112. But when I try to use r115161-20131120 to r115271-20131128 > trunck, something goes wrong with site-lisp path. > > The two path in window relative to Emacs installed directory > > Emacs installed pathe/share/emacs/site-lisp > C:\Users\username\emacs\share\emacs\site-lisp > > will be add to load-path automatically. However from the > emacs-r115161-20131120-w32-bin.zip, the two paths are not in the load-path > anymore. Instead, two absolute paths: > > c:/msys/local/share/emacs/24.3.50/site-lisp > C:/msys/local/share/emacs/site-lisp > > are in the load-path. I have no msys installed in this machine. That is a bug, indeed, because "c:/msys/local" should be the directory where you installed Emacs. And that bug was introduced by me (sorry). The below patch solves the problem. Please, could some maintainer commit it? TIA diff --git a/Makefile.in b/Makefile.in index 3e3a4f5..065168b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -338,7 +338,7 @@ msys_sed_sh_escape=sed -e 's/[];$$*.^[]/\\\\&/g' epaths-force-w32: FRC @(w32srcdir=`${srcdir}/build-aux/msys-to-w32 "${srcdir}"`; \ w32prefix=`${srcdir}/build-aux/msys-to-w32 "${prefix}" N`; \ - w32prefixpattern=`echo "${w32prefix}" | ${msys_sed_sh_escape}` ; \ + w32prefixpattern=`echo "$${w32prefix}" | ${msys_sed_sh_escape}` ; \ w32locallisppath=`${srcdir}/build-aux/msys-to-w32 "${locallisppath}" N ":" "\\;" | ${msys_w32prefix_subst}` ; \ sed < ${srcdir}/nt/epaths.nt > epaths.h.$$$$ \ -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath}"'";' \ -- Dani Moncayo