unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Some thing wrong with the site-lisp path in Windows 7
@ 2013-11-29 15:26 Shuguang Sun
  2013-11-29 19:19 ` Dani Moncayo
  0 siblings, 1 reply; 2+ messages in thread
From: Shuguang Sun @ 2013-11-29 15:26 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

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.

Any one met this problem?

Shuguang

[-- Attachment #2: Type: text/html, Size: 876 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Some thing wrong with the site-lisp path in Windows 7
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Dani Moncayo @ 2013-11-29 19:19 UTC (permalink / raw)
  To: Shuguang Sun; +Cc: Emacs development discussions

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-29 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).