"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Michael Sperber writes:
> It just never occurred to me, as running-only-from-installed was deeply
> built into the package system from the start.
Yeah, that was Steve Baur. I don't know why he thought that was
important. It *is* important (eg, to me) to have a single installed
package tree that has its own root, independent of the Emacs root for
the core code. But I never had a good idea why that also implied no
running in place for the packages.
> But it shouldn't be hard to do - the trick is probably finding out
> whether you're looking at a source hierarchy or an installed
> hierarchy: I'll put it on my list.
It's not dead simple, I suspect, because some packages have a very
flat organization, and others have multiple levels of subtree. This
information *is* available to the build code though, so it should be
possible to dig it out. But it probably should be refactored.
Yeah, but the whole path-searching code was built without a fixed
assumption as to tree depth, so I believe it can cope. If you can
define the tree layout, you can also get the paths.
Also, it would be nice if the stat'ing of the load-path could be
optimized further (David Kastrup offered a couple of ideas way back
when).
Do you have a pointer? Back then, I did quite a bit of work on that
aspect, and I couldn't any way to do with less.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta