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