On 1/22/06, Rodney Sparapani <rsparapa(a)mcw.edu> wrote:
Vin Shelton <acs <at> alumni.princeton.edu> writes:
>
> I believe the XEmacs startup code only searches site-lisp to 1 level
> down for directories to add to load-path. According to my
> experiments, this is the same behavior that XEmacs exhibits on Linux,
> when configured --with-site-lisp.
>
> I do not intend to change this behavior in the near-term, but as I
> wrote, a patch could be considered.
>
> Regards,
> Vin
>
>
Hi Vin:
OK, but what about the bug that still remains as described at
http://article.gmane.org/gmane.emacs.xemacs.beta/21891
This is a bug unrelated to site-lisp, but basically results
in the same incorrect behavior on Windows that is not present under unix.
Article reproduced here:
Steve Youngs <steve <at> sxemacs.org> writes:
When I posted I had misread what you wrote. I've since tested
and can
now say that XEmacs 21.4 _does_ support both site-packages/lisp/foo
and site-packages/foo/lisp.
Not on Windows: site-packages/lisp/bar are added to the load-path;
while site-packages/bar/lisp are not.
I don't see this behavior. Here's the test I ran on my 21.4 native
installation:
mkdir -p lisp/foo bar/lisp
cat >lisp/foo/foo1.el << EOF
; (message "foo1")
; (sit-for 5)
; EOF
cat >bar/lisp/foo2.el << EOF
(message "foo2")
(sit-for 5)
EOF
xemacs-21.4 -vanilla
(load-library "foo1")
(load-library "foo2")
both worked and the load-path looks like this:
`load-path' is a simple built-in variable.
Value: ("e:\\XEmacs\\site-packages\\lisp\\"
"e:\\XEmacs\\site-packages\\lisp\\foo\\"
"e:\\XEmacs\\site-packages\\bar\\lisp\\"
"e:\\XEmacs\\xemacs-packages\\lisp\\" ...
(locate-library "foo1")
"e:\\XEmacs\\site-packages\\lisp\\foo\\foo1.el"
(locate-library "foo2")
"e:\\XEmacs\\site-packages\\bar\\lisp\\foo2.el"
Can you please give me a simple recipe to reproduce the error you're seeing?
Thanks,
Vin
--
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting--
over and over announcing your place
in the family of things. Mary Oliver