How do I load from /usr/share/xemacs/* with xemacs-21.5.26 ?

Stephen J. Turnbull stephen at xemacs.org
Sun Apr 2 23:53:24 EDT 2006


>>>>> "Manfred" == Manfred Bartz <mob at xix.com> writes:

    Manfred> Xemacs seems to run ok, but I don't know how to teach it
    Manfred> to load all the modules that I normally use.

This is currently in flux (I think Vin and Mike have pretty much
completed their work, so it will probably stabilize except for bug
fixes from now on).  If you are going to use 21.5.x, you should follow
xemacs-beta because a lot of this is not going to be
well-documented[1] for a while.  Similar changes are likely to be
rather frequent over the next few months.

    Manfred> Shouldn't there be a base directory I can set so that all
    Manfred> packages/modules under it can be found?

Yes.  Note that in XEmacs, "package" almost always means a collection
of Lisp libraries, but "module" usually means a DSO (aka DLL).

Your best option is to reconfigure adding

               --with-system-packages=/usr/share/xemacs

to any other options you use.  You could also put a symlink

            ls -s /usr/share/xemacs /usr/local/lib/xemacs

or

           ls -s /usr/share/xemacs/* /usr/local/lib/xemacs/

I don't think there is a way to set it in Lisp (it wouldn't be useful
most of the time because it normally needs to be done at init time),
but you can also start XEmacs with

                 EMACSLATEPACKAGES=/usr/share/xemacs

set in the OS environment.

All of this is documented in the info node "Startup Paths".

(Info-goto-node "(xemacs)Startup Paths") <= C-x C-e here

If you have some time to read and review it, we'd love to hear your
questions and comments!

Footnotes: 
[1]  "Well-documented" doesn't just mean clear docstrings and manual
entries exist, it also means that the users normally find them
themselves.:-)  That's impossible to do well until you've got user
feedback about where they expected such documents to be.

-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list