From: Dani Moncayo <dmoncayo@gmail.com>
To: Shuguang Sun <shuguang@gmail.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Some thing wrong with the site-lisp path in Windows 7
Date: Fri, 29 Nov 2013 20:19:36 +0100 [thread overview]
Message-ID: <CAH8Pv0jmZD8=ozJG4eVuGGz3gy5Jbn3YSv_aeCy2no2yoqHi2w@mail.gmail.com> (raw)
In-Reply-To: <CACspjXf1bY=s1WZw10s8nNL7oXT1hSByJECgrZwdDNcDQ0m_Lw@mail.gmail.com>
On Fri, Nov 29, 2013 at 4:26 PM, Shuguang Sun <shuguang@gmail.com> 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
prev parent reply other threads:[~2013-11-29 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 15:26 Some thing wrong with the site-lisp path in Windows 7 Shuguang Sun
2013-11-29 19:19 ` Dani Moncayo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH8Pv0jmZD8=ozJG4eVuGGz3gy5Jbn3YSv_aeCy2no2yoqHi2w@mail.gmail.com' \
--to=dmoncayo@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=shuguang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.