1330
|
1 (defvar packages-hardcoded-lisp
|
|
2 '(
|
|
3 ;; Nothing at this time
|
|
4 )
|
|
5 "Lisp packages that are always dumped with XEmacs.
|
|
6 This includes every package that is loaded directly by a package listed
|
|
7 in dumped-lisp.el and is not itself listed.")
|
|
8
|
428
|
9 (setq preloaded-file-list
|
1315
|
10 (list
|
|
11 "backquote" ; needed for defsubst etc.
|
|
12 "bytecomp-runtime" ; define defsubst
|
|
13 "find-paths"
|
|
14 "packages" ; Bootstrap run-time lisp environment
|
|
15 "setup-paths"
|
|
16 "subr" ; load the most basic Lisp functions
|
|
17 "post-gc"
|
|
18 "replace" ; match-string used in version.el.
|
|
19
|
|
20 "version.el" ; Ignore compiled-by-mistake version.elc
|
|
21
|
|
22 "cl"
|
|
23 "cl-extra"
|
|
24 "cl-seq"
|
|
25 "widget"
|
|
26 "custom" ; Before the world so everything can be
|
|
27 ; customized
|
|
28 "cus-start" ; for customization of builtin variables
|
|
29 "cmdloop"
|
|
30 "keymap"
|
|
31 "syntax"
|
|
32 "device"
|
|
33 "console"
|
|
34 "obsolete"
|
|
35 "specifier"
|
|
36 "frame" ; needed by faces
|
|
37 (when (featurep 'x) "x-faces") ; needed by faces
|
|
38 (when (featurep 'gtk) "gtk-faces")
|
|
39 (when (valid-console-type-p 'mswindows) "msw-faces")
|
|
40 "faces" ; must be loaded before any make-face call
|
|
41 ;;(pureload "facemenu") #### not yet ported
|
|
42 "glyphs"
|
|
43 "objects"
|
|
44 "extents"
|
|
45 "events"
|
|
46 "hash-table"
|
|
47 "text-props"
|
|
48 "process" ;; This is bad. network-streams may not be defined.
|
|
49 (when (featurep 'multicast) "multicast") ; #+network-streams implicitly true
|
|
50 "map-ynp"
|
|
51 "undo-stack"
|
|
52 "window" ; simple needs `save-window-excursion'
|
|
53 "window-xemacs"
|
|
54 "simple"
|
|
55 "keydefs" ; Before loaddefs so that keymap vars exist.
|
|
56 "abbrev"
|
|
57 "derived"
|
|
58 "minibuf"
|
|
59 "list-mode"
|
|
60 "modeline" ; needs simple.el to be loaded first
|
428
|
61 ;; If SparcWorks support is included some additional packages are
|
|
62 ;; dumped which would normally have autoloads. To avoid
|
|
63 ;; duplicate doc string warnings, SparcWorks uses a separate
|
|
64 ;; autoloads file with the dumped packages removed.
|
|
65 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
|
|
66 ;; So just make loaddefs-eos go away...
|
|
67 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
|
1315
|
68 "cus-file"
|
|
69 "startup" ; For initialization of
|
428
|
70 ; `emacs-user-extension-dir'
|
1315
|
71 "misc"
|
|
72 ;; (pureload "profile")
|
|
73 "help"
|
|
74 ;; (pureload "hyper-apropos") Soon...
|
|
75 "files"
|
|
76 "lib-complete"
|
|
77 "format"
|
|
78 "indent"
|
|
79 "isearch-mode"
|
|
80 "buffer"
|
|
81 "buff-menu"
|
|
82 "paths.el" ; don't get confused if paths compiled.
|
|
83 "lisp"
|
|
84 "page"
|
|
85 "register"
|
|
86 "iso8859-1" ; This must be before any modes
|
|
87 ; (sets standard syntax table.)
|
|
88 "paragraphs"
|
|
89 "easymenu" ; Added for 20.3.
|
|
90 "lisp-mode"
|
|
91 "text-mode"
|
|
92 "fill"
|
|
93 "auto-save" ; Added for 20.4
|
|
94 "movemail" ; Added for 21.2
|
|
95 (when (eq system-type 'windows-nt) "win32-native")
|
|
96 (when (featurep 'lisp-float-type) "float-sup")
|
|
97 "itimer" ; for vars auto-save-timeout and
|
428
|
98 ; auto-gc-threshold
|
1315
|
99 "itimer-autosave"
|
|
100 "printer"
|
|
101 "behavior"
|
|
102 "behavior-defs"
|
|
103 "diagnose"
|
|
104
|
442
|
105 ;;;;;;;;;;;;;;;;;; GUI support
|
1315
|
106 (when (featurep 'window-system)
|
|
107 '("gui"
|
|
108 "mouse"
|
|
109 "mode-motion"
|
|
110 ))
|
|
111 (when (featurep 'toolbar) "toolbar")
|
|
112 (when (featurep 'scrollbar) "scrollbar")
|
|
113 (when (featurep 'menubar) "menubar")
|
|
114 (when (featurep 'dialog) "dialog")
|
|
115 (when (featurep 'gutter) "gutter")
|
|
116 (when (featurep 'dragdrop-api) "dragdrop")
|
|
117 "select"
|
|
118
|
442
|
119 ;;;;;;;;;;;;;;;;;; Content for GUI's
|
1315
|
120 ;; There used to be window-system inserted in the when-feature,
|
|
121 ;; but IMHO your configure script should turn off the menubar,
|
|
122 ;; toolbar, etc. features when there is no window system. We
|
|
123 ;; should just be able to assume that, if (featurep 'menubar),
|
|
124 ;; the menubar should work and if items are added, they can be
|
|
125 ;; seen clearly and usefully.
|
|
126 (when (featurep '(and (not infodock) menubar)) "menubar-items")
|
|
127 (when (featurep '(and gutter)) "gutter-items")
|
|
128 (when (featurep '(and (not infodock) toolbar)) "toolbar-items")
|
|
129 (when (featurep '(and (not infodock) dialog)) "dialog-items")
|
442
|
130
|
|
131 ;;;;;;;;;;;;;;;;;; Coding-system support
|
1315
|
132 "coding"
|
|
133 "code-files"
|
|
134 ;; Handle process with encoding/decoding coding-system.
|
|
135 "code-process"
|
|
136 ;; Provide basic commands to set coding systems to user
|
|
137 "code-cmds"
|
|
138 "unicode"
|
442
|
139 ;;;;;;;;;;;;;;;;;; MULE support
|
1315
|
140 (when (featurep 'mule)
|
|
141 '("mule-charset"
|
|
142 "mule-cmds" ; to sync with Emacs 20.1
|
|
143 "mule-coding"
|
|
144 "mule-composite-stub"
|
|
145 "mule-composite"
|
|
146 ))
|
|
147 ;; may initialize coding systems
|
|
148 (when (featurep '(and mule x)) "mule-x-init")
|
|
149 (when (featurep '(and mule tty)) "mule-tty-init")
|
|
150 (when (and (featurep 'mule) (memq system-type '(windows-nt cygwin32)))
|
|
151 "mule-win32-init")
|
|
152 "code-init" ; set up defaults
|
|
153 ;; All files after this can have extended characters in them.
|
|
154 (when (featurep 'mule)
|
|
155 '("mule-category"
|
|
156 "mule-ccl"
|
|
157 "kinsoku"
|
|
158 ))
|
428
|
159
|
|
160 ;; after this goes the specific lisp routines for a particular input system
|
|
161 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
|
|
162 ;; or user switching of input systems???
|
|
163 ;(if (featurep 'wnn)
|
|
164 ; (progn
|
|
165 ; (pureload "egg")
|
|
166 ; (pureload "egg-wnn")
|
|
167 ; (setq egg-default-startup-file "eggrc-wnn")))
|
|
168
|
|
169 ;; (if (and (boundp 'CANNA) CANNA)
|
|
170 ;; (pureload "canna")
|
|
171 ;; )
|
|
172
|
780
|
173 ;; Now load files to set up all the different languages/environments that
|
|
174 ;; Mule knows about. Formerly we had to worry about files shadowed by
|
|
175 ;; those of the same name in leim/quail.el, but no longer, since we now
|
|
176 ;; compile with -no-packages.
|
428
|
177
|
1315
|
178 (when (featurep 'mule)
|
|
179 '("arabic"
|
|
180 "chinese"
|
|
181 "cyrillic"
|
|
182 "english"
|
|
183 "ethiopic"
|
|
184 "european"
|
|
185 "greek"
|
|
186 "hebrew"
|
|
187 "indian"
|
|
188 "devanagari" ; must be loaded after indian.el
|
|
189 "japanese"
|
|
190 "korean"
|
|
191 "lao"
|
|
192 "latin"
|
|
193 "misc-lang"
|
|
194 ;; "thai" #### merge thai and thai-xtis!!!
|
|
195 "thai-xtis"
|
|
196 "tibetan"
|
|
197 "vietnamese"
|
|
198 ))
|
|
199
|
428
|
200 ;; Specialized language support
|
1315
|
201 (when (featurep '(and mule CANNA)) "canna-leim")
|
428
|
202 ;; Egg/Its is now a package
|
1315
|
203 ; (when (featurep '(and mule wnn))
|
|
204 ; '("egg-leim" "egg-kwnn-leim" "egg-cwnn-leim"))
|
|
205 ; (when (featurep 'mule) "egg-sj3-leim")
|
428
|
206 ;; SKK is now a package
|
1315
|
207 ; (when (featurep 'mule) "skk-leim")
|
428
|
208
|
|
209 ;; Enable Mule capability for Gnus, mail, etc...
|
|
210 ;; Moved to sunpro-load.el - the default only for Sun.
|
|
211 ;;(pureload "mime-setup")
|
780
|
212
|
|
213 ;; needs access to the charsets created by the above
|
|
214 ;; language-specific files.
|
1315
|
215 (when (and (featurep 'mule) (valid-console-type-p 'mswindows))
|
|
216 "mule-msw-init-late")
|
780
|
217
|
428
|
218 ;;; mule-load.el ends here
|
442
|
219
|
|
220 ;; preload InfoDock stuff. should almost certainly not be here if
|
|
221 ;; id-menus is not here. infodock needs to figure out a clever way to
|
|
222 ;; advise this stuff or we need to export a clean way for infodock or
|
|
223 ;; others to control this programmatically.
|
1315
|
224 (when (featurep '(and infodock (or x mswindows gtk) menubar))
|
|
225 "id-menus")
|
442
|
226 ;; preload the X code.
|
1315
|
227 (when (featurep '(and x scrollbar)) "x-scrollbar")
|
|
228 (when (featurep 'x)
|
|
229 '("x-iso8859-1"
|
|
230 "x-mouse"
|
|
231 "x-select"
|
|
232 "x-misc"
|
|
233 "x-init"
|
|
234 "x-win-xfree86"
|
|
235 "x-win-sun"))
|
|
236 ;; preload the GTK code
|
|
237 (when (featurep 'gtk)
|
|
238 '("gtk-ffi"
|
|
239 "gtk-widgets"
|
|
240 "gdk"
|
|
241 "gtk-init"
|
|
242 "gtk-iso8859-1"
|
|
243 "gtk-select"
|
|
244 "gtk-mouse"
|
|
245 "gtk-glyphs"
|
|
246 "widgets-gtk"))
|
|
247 (when (featurep '(and gtk dialog)) "dialog-gtk")
|
|
248 (when (featurep 'glade) "glade")
|
462
|
249
|
428
|
250 ;; preload the mswindows code.
|
1315
|
251 (when (valid-console-type-p 'mswindows)
|
|
252 '("msw-glyphs"
|
|
253 "msw-mouse"
|
|
254 "msw-init"
|
|
255 "msw-select"))
|
428
|
256 ;; preload the TTY init code.
|
1315
|
257 (when (featurep 'tty) "tty-init")
|
428
|
258 ;;; Formerly in tooltalk/tooltalk-load.el
|
|
259 ;; Moved to tooltalk package
|
1315
|
260 ;; (when (featurep 'tooltalk)
|
|
261 ;; '("tooltalk-macros" "tooltalk-util" "tooltalk-init"))
|
428
|
262 ;; "vc-hooks" ; Packaged. Available in two versions.
|
|
263 ;; "ediff-hook" ; Packaged.
|
1315
|
264 "fontl-hooks"
|
|
265 "auto-show"
|
|
266 "resize-minibuffer"
|
|
267 (when (featurep 'ldap) "ldap")
|
428
|
268
|
1315
|
269 ;; (when (featurep 'energize) "energize/energize-load.el")
|
428
|
270 ;;; formerly in sunpro/sunpro-load.el
|
1315
|
271 ;; (when (featurep '(and mule sparcworks)) "mime-setup")
|
428
|
272
|
|
273 ;; Moved to Sun package
|
1315
|
274 ;; (when (featurep 'sparcworks)
|
|
275 ;; '("cc-mode" ; Requires cc-mode package
|
|
276 ;; "sunpro-init"
|
|
277 ;; "ring"
|
|
278 ;; "comint" ; Requires comint package
|
|
279 ;; "annotations"))
|
428
|
280
|
|
281 ;;; formerly in eos/sun-eos-load.el
|
1315
|
282 ;; (when (featurep 'sparcworks)
|
|
283 ;; '("sun-eos-init"
|
|
284 ;; "sun-eos-common"
|
|
285 ;; "sun-eos-editor"
|
|
286 ;; "sun-eos-browser"
|
|
287 ;; "sun-eos-debugger"
|
|
288 ;; "sun-eos-debugger-extra"
|
|
289 ;; "sun-eos-menubar"))
|
|
290 "loadhist" ; Must be dumped before loaddefs is loaded
|
|
291 "loaddefs" ; <=== autoloads get loaded here
|
|
292 ))
|
|
293
|
|
294 (setq preloaded-file-list
|
|
295 (apply #'nconc
|
|
296 (mapcar #'(lambda (x)
|
|
297 (if (listp x) x (list x)))
|
|
298 preloaded-file-list)))
|