annotate README.packages @ 448:3078fd1074e8 r21-2-39

Import from CVS: tag r21-2-39
author cvs
date Mon, 13 Aug 2007 11:38:25 +0200
parents 576fb035e263
children e7ef97881643
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
1 The XEmacs Packages Quick Start Guide
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
2 -------------------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
3
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
4 This text is intended to help you get started installing a new XEmacs
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
5 and its packages from start. For details see the 'Startup Paths' and
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
6 'Packages' sections of the XEmacs info manual.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
7
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
8 Real Real Quickstart FAQ
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
9 ------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
10
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
11 Q. Do I need to have the packages to compile XEmacs?
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
12 A. No, XEmacs will build and install just fine without any packages
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
13 installed. However, only the most basic editing functions will be
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
14 available with no packages installed, so installing packages is an
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
15 essential part of making your installed XEmacs _useful_.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
16
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
17 Q. I really liked the old way that packages were bundled and do not
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
18 want to mess with packages at all.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
19 A. You can grab all the packages at once like you used to with old
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
20 XEmacs versions, skip to the 'Sumo Tarball' section below.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
21
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
22 Q. After installing, I want XEmacs to do `foo', but when I invoke it
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
23 (or click the toolbar button or select the menu item), nothing (or
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
24 an error) happens, and it used to work.
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
25 A. See the first FAQ; you may be missing a package that is essential to
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
26 you. You can either track it down and install it, or install the
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
27 `Sumo Tarball' (see the second FAQ).
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 438
diff changeset
28
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
29 A note of caution
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
30 -----------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
31
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
32 The XEmacs package system is still in its infancy. Please expect a few
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
33 minor hurdles on the way. Also neither the interface nor the structure is
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
34 set in stone. The XEmacs maintainers reserve the right to sacrifice
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
35 backwards compatibility as quirks are worked out over the coming
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
36 releases.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
37
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
38 Some Package Theory
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
39 -------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
40
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
41 In order to reduce the size and increase the maintainability of XEmacs,
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
42 the majority of the Elisp packages that came with previous releases
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
43 have been unbundled. They have been replaced by the package system.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
44 Each elisp add-on (or groups of them when they are small) now comes
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
45 in its own tarball that contains a small search hierarchy.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
46
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
47 You select just the ones you need. Install them by untarring them into
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
48 the right place. On startup XEmacs will find them, set up the load
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
49 path correctly, install autoloads, etc, etc.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
50
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
51 Package hierarchies
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
52 -------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
53
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
54 On Startup XEmacs looks for packages in so called package hierarchies.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
55 These can be specified by the 'package-path' parameter to the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
56 'configure' script. However by default there are three system wide
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
57 hierarchies.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
58
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
59 $prefix/lib/xemacs/site-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
60 Local and 3rd party packages go here.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
61
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
62 $prefix/lib/xemacs/mule-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
63 Only searched by MULE-enabled XEmacsen.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
64
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
65 $prefix/lib/xemacs/xemacs-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
66 Normal packages go here.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
67
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
68 Where to get the packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
69 -------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
70
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
71 Packages are available from ftp://ftp.xemacs.org/pub/xemacs/packages
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
72 and its mirrors.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
73
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
74 How to install the packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
75 ---------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
76
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
77 1. All at once, using the 'Sumo Tarball'.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
78 2. By hand.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
79 3. Automatically, using the package tools from XEmacs.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
80
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
81 The Sumo Tarball
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
82 ----------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
83
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
84 Those with little time, cheap connections and plenty of disk space can
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
85 install all the packages at once using the sumo tarballs.
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 331
diff changeset
86 Download the file
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
87
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
88 xemacs-sumo.tar.gz
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
89
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 331
diff changeset
90 For an XEmacs compiled with Mule you also need
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
91
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
92 xemacs-mule-sumo.tar.gz
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
93
333
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 331
diff changeset
94 N.B. They are called 'Sumo Tarballs' for good reason. They are
4f79e16b1112 Import from CVS: tag r21-0-64
cvs
parents: 331
diff changeset
95 currently about 15MB and 2.3MB (gzipped) respectively.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
96
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
97 Install them by
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
98
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
99 cd $prefix/lib/xemacs ; gunzip -c <tarballname> | tar xf -
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
100
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
101 As the Sumo tarballs are not regenerated as often as the individual
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
102 packages, it is recommended that you use the automatic package tools
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
103 afterwards to pick up any recent updates.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
104
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
105 Installing by Hand
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
106 ------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
107
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
108 Fetch the packages from the ftp site, CDROM whatever. The filenames
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
109 have the form name-<version>-pkg.tar.gz and are gzipped tar files. For
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
110 a fresh install it is sufficient to untar the file at the top of the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
111 package hierarchy. For example if we are installing the 'xemacs-base'
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
112 package in version 1.27:
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
113
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
114 mkdir $prefix/lib/xemacs/xemacs-packages # if it does not exist yet
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
115 cd $prefix/lib/xemacs/xemacs-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
116 gunzip -c ...../xemacs-base-1.27-pkg.tar.gz | tar xf -
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
117
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
118 For MULE related packages, it is best to untar in the mule-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
119 hierarchy, i.e. for the mule-base package, version 1.25
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
120
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
121 mkdir $prefix/lib/xemacs/mule-packages # if it does not exist yet
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
122 cd $prefix/lib/xemacs/mule-packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
123 gunzip -c ...../mule-base-1.25-pkg.tar.gz | tar xf -
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
124
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
125 Installing automatically
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
126 ------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
127
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
128 XEmacs comes with some tools to make the periodic updating and
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
129 installing easier. It will notice if new packages or versions are
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
130 available and will fetch them from the ftp site.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
131
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
132 Unfortunately this requires that a few packages are already in place.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
133 You will have to install them by hand as above or use a SUMO tarball.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
134 This requirement will hopefully go away in the future. The packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
135 you need are:
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
136
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
137 efs - To fetch the files from the ftp site or mirrors.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
138 xemacs-base - Needed by efs.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
139
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
140 and optionally:
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
141
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
142 mailcrypt - If you have PGP installed and want to verify the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
143 signature of the index file.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
144 mule-base - Needed if you want to use XEmacs with MULE.
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
145
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
146 After installing these by hand, you can start XEmacs. (It is a good
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
147 idea to use 'xemacs -vanilla' here as your startup files might need
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
148 things now moved to packages.)
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
149
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
150 - First you need to specify an FTP site to use.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
151 Use Options->Manage Packages->Add Download Site
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
152 or M-x customize-variable RET package-get-remote RET
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
153
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
154 Alternatively, if you already have the packages on a local disk
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
155 then you can specify this directly using 'M-x
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
156 pui-add-install-directory'. Please make sure you also have a
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
157 corresponding copy of the package index there.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
158
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
159 - Invoke Options->Manage Packages->List & Install
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
160 or M-x pui-list-packages RET
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
161 XEmacs will now first try to fetch a new version of the package
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
162 index from the FTP site. Depending on whether you are using
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
163 'mailcrypt/PGP', you will get some question about keys to fetch or
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
164 whether to use the index without verifying the signature. If the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
165 new index was different from the one already on disk, XEmacs will
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
166 offer you to overwrite the old index.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
167
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
168 - XEmacs will show you a buffer named "*Packages*" with an overview
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
169 of available and installed packages, including a short description.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
170 In this buffer you can select which packages you want using the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
171 mouse or using RET.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
172
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
173 - When you are finished choosing packages, invoke
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
174 'Packages->Install/Remove Select' from the menu or type 'x' to
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
175 begin installing packages.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
176
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
177 After Installation
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
178 ------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
179
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
180 New packages can only be used by XEmacs after a restart.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
181
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
182 Note to MULE users
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
183 ------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
184
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
185 Unlike all other packages the mule-base package is used at build/dump
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
186 time. This means that you need this available before compiling XEmacs
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
187 with MULE. Also it is a good idea to keep packages that are
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
188 MULE-only separate by putting them in the mule-packages hierarchy.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
189
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
190 Which Packages to install?
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
191 --------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
192
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
193 This is difficult to say. When in doubt install a package. If you
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
194 administrate a big site it might be a good idea to just install
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
195 everything. A good minimal set of packages for XEmacs-latin1 would be
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
196
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
197 xemacs-base, xemacs-devel, c-support, cc-mode, debug, dired, efs,
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
198 edit-utils, fsf-compat, mail-lib, net-utils, os-utils, prog-modes,
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
199 text-modes, time
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
200
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
201 Unfortunately the package system currently provides neither
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
202 dependencies nor conflicts. This will be a future enhancement. The
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
203 above set includes most packages that are used by others.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
204
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
205 See also '.../etc/PACKAGES' for further descriptions of the individual
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
206 packages (currently outdated).
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
207
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
208 Upgrading/Removing Packages
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
209 ---------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
210
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
211 As the exact files and their locations contained in a package may
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
212 change it is recommended to remove a package first before installing a
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
213 new version. In order to facilitate removal each package contains an
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
214 pgkinfo/MANIFEST.pkgname file which list all the files belong to the
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
215 package. M-x package-admin-delete-binary-package RET can be used to
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
216 remove a package using this file.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
217
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
218 Note that the interactive package tools included with XEmacs already do
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
219 this for you.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
220
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
221 User Package directories
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
222 ------------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
223
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
224 In addition to the system wide packages, each user can have his own
420
41dbb7a9d5f2 Import from CVS: tag r21-2-18
cvs
parents: 414
diff changeset
225 packages installed in "~/.xemacs/xemacs-packages". If you want to
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
226 install packages there using the interactive tools, you need to set
420
41dbb7a9d5f2 Import from CVS: tag r21-2-18
cvs
parents: 414
diff changeset
227 'pui-package-install-dest-dir' to "~/.xemacs/xemacs-packages"
331
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
228
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
229 Site lisp/Site start
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
230 --------------------
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
231
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
232 The site-packages hierarchy replaces the old 'site-lisp' directory.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
233 XEmacs no longer looks into a 'site-lisp' directly by default.
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
234 A good place to put 'site-start.el' would be in
c9ae480b1fff Import from CVS: tag r21-0-63
cvs
parents:
diff changeset
235 $prefix/lib/xemacs/site-packages/lisp/
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
236
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
237 Finding the right packages
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
238 --------------------------
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
239
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
240 If you want to find out which package contains the functionality you
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
241 are looking for, use M-x package-get-package-provider, and give it a
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
242 symbol that is likely to be in that package. For example, if some
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 424
diff changeset
243 code you want to use has a (require 'thingatpt) in it, try doing
424
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
244 M-x package-get-package-provider RET thingatpt , which will return
11054d720c21 Import from CVS: tag r21-2-20
cvs
parents: 420
diff changeset
245 something like: (fsf-compat "1.06").