>>>> Steve Youngs writes:
|--==> "DM" == David Masterson <dmaster(a)synopsys.com> writes:
>>>>>> Stephen J Turnbull writes:
>>>>>> "SY" == Steve Youngs <youngs(a)xemacs.org> writes:
SY> No, you are correct, you can't run packages "in place".
>> However, this may change; Michael has mentioned moving to a
>> $package/{etc,lib-src,lisp,info,man,...} organization from the current
>> {etc,lib-src,lisp,info,man,...}/$package setup. Further changes might
>> be required to make run-in-place work, but that is the main barrier at
>> the moment AFAIK.
DM> Won't that tend to vastly increase the size of load-path (etc.) and,
DM> thus, slow down finding things?
No, the load-path will still be the same size because nothing is
getting added (or removed), just moved.
However, the exec-path will grow a bit, and the search path for info
docs will get astronomical. This is because in the current setup we
only have a single 'lib-src' and 'info' directory for all the
packages. [1] Changing to the suggested structure will mean that
there will be a 'lib-src' and 'info' directory for each package that
needs them.
I actually think this is a good thing as it will make each package
much easier to control. I think I suggested this style of setup to
Steve Baur just before the packaging system took shape. I never went
into detailed design, so, when the directory model got flipped to what
it is now, I assumed it was for performance reasons to keep the paths
from getting too big (along with other reasons I didn't know).
Ultimately, I think this new model will make it much easier for people
to experiment with different versions of a package. Large companies
using XEmacs, for instance, might not want to update their packages
until they've tested the new stuff out for awhile. They could
maintain a stable and a beta package area (or even a combination),
then allow their users to choose by simply loading a file that sets up
the appropriate "paths".
Footnotes:
[1] mule-packages have their own lib-src and info as well.
Hmmm. Speaking of multi-language packages, is there going to be a
need to allow for multiple versions of an info (etc.) file that is
chosen by $LANG (what's the equivalent in XEmacs)? Sure, you need
someone to do the translations, but that's a different issue. ;-)
--
David Masterson
dsm(a)rawbw.com