|
|||||||||||||||||
Searching XEmacs
Quick Links
About XEmacs
|
Quickstart Package GuideThis text is intended to help you get started installing a new XEmacs and its packages from start. For details see the 'Startup Paths' and 'Packages' sections of the XEmacs info manual.
An overview of existing packages and their purpose may be found in the
XEmacs 21
Packages CVS Repository document
and under the XEmacs source tree in IndexReal Real Quickstart FAQQ: Do I need to have the packages to compile
XEmacs?
Q: I really liked the old way that packages were
bundled and do not want to mess with packages at
all.
A note of cautionThe XEmacs package system is still in its infancy. Please expect a few minor hurdles on the way. Also neither the interface nor the structure is set in stone. The XEmacs maintainers reserve the right to sacrifice backwards compatibility as quirks are worked out over the coming releases. Some Package TheoryIn order to reduce the size and increase the maintainability of XEmacs, the majority of the Elisp that came with previous releases have been unbundled. They have been replaced by the package system. Each elisp add-on (or groups of them when they are small) now comes in its own tarball that contains a small search hierarchy. You select just the ones you need. Install them by untarring them into the right place. On startup XEmacs will find them, set up the load path correctly, install autoloads, etc, etc. Package hierarchies
On startup XEmacs looks for packages in so called
package hierarchies. These can be specified by the
However by default there are following three system wide hierarchies,
where
From within a running XEmacs you may type
Packages for a native Windows build are also configured to be
picked up in sub-directories
If you need to install XEmacs packages in places other than what
Where to get the packages
Some package descriptions and links to other resources can be found on the XEmacs-related Packages page. How to install the packagesChoose one of the following options:
The Sumo TarballThose with little time, cheap connections and plenty of disk space
can install all packages at once using the Sumo tarballs. Download
the file
For an XEmacs compiled with Mule you also need
Note: They are called 'Sumo Tarballs' for good reason. They are currently about 21MB and 6MB (gzipped) respectively. Install them by
cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -
As the Sumo tarballs are not regenerated as often as the individual packages, it is recommended that you use the automatic package tools afterwards to pick up any recent updates. Installing by HandFetch the packages from the FTP site,
CDROM whatever. The filenames
have the form
For MULE related packages, it is best to untar in the
mule-packages hierarchy, i.e. for the mule-base package, version 1.25
Installing automaticallyXEmacs comes with some tools to make the periodic updating and installing easier. It will notice if new packages or versions are available and will fetch them from the FTP site. Unfortunately this requires that a few packages are already in place. You will have to install them by hand as above or use a Sumo tarball. This requirement will hopefully go away in the future. The packages you need are:
After installing these by hand, you can start XEmacs. (It is a good idea to use 'xemacs -vanilla' here as your startup files might need things now moved to packages.)
After InstallationNew packages can only be used by XEmacs after a restart. Note to MULE usersIt is a good idea to keep packages that are MULE-only separate by putting them in the mule-packages hierarchy. Non-Mule XEmacsen will ignore packages in mule-packages so it is safe to have that directory in the package path of a Non-Mule XEmacs. Which Packages to install?This is difficult to say. When in doubt, install a package. If you administrate a big site it might be a good idea to just install everything. A good minimal set of packages for XEmacs-latin1 would be:
Unfortunately the package system currently provides neither dependencies nor conflicts. This will be a future enhancement. The above set includes most packages that are used by others.
As mentioned before, an overview of existing packages and their
purpose may be found at ../Develop/packages.html
and under the XEmacs source tree in Upgrading/Removing Packages
As the exact files and their locations contained in a package may
change it is recommended to remove a package first before installing a
new version. In order to facilitate removal, each package contains a
Note that the interactive package tools included with XEmacs already do this for you. It is recommended to use them unless you need to script the package upgrade/removal process. User Package directories
In addition to the system wide packages, users can have their own
packagee hierarchies (mule-packages and xemacs-packages) installed
in Site lisp/Site start
The site-packages hierarchy replaces the old
|
||||||||||||||||
|
|
||||||||||||||||
Conform with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Automatically validated by PSGML