Stephen J. Turnbull wrote:
>>>>> "dvl" == Didier Verna
<didier(a)xemacs.org> writes:
dvl> Note that my own (~/.xemacs) package directory isn't
dvl> specified anywhere. Now you're telling me that these two
dvl> options silently affect the user's package path in a
dvl> different way /by design/ ??
No; in the case of --package-path it's literal-minded. --package-path
is explicitly low-level. In particular, anything you don't specify is
defined to be empty.
I think we don't understand each other. What I've explained in my
previous posting is that before, I used --package-path to change
/usr/local/lib to /usr/local/share[1], but never mentioned my ~/.xemacs tree
in it. However, I got ~/.xemacs/xemacs-packages/lisp in my load-path, as I
expected.
So your assertion "anything you don't specify is defined to be empty" is
wrong. I never specified explicitely my local tree, but it was not defined to
be empty. On the contrary, I kept its default value.
What I'm complaining about is that --with-package-prefix doesn't behave the
same way: it seems to take its value as the *unique* tree under which to look
for packages, actually removing the local tree from the load-path.
Footnotes:
[1] which should have been that way from the beginning BTW.
--
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-BicĂȘtre, France Fax.+33 (1) 53 14 59 22 didier(a)xemacs.org