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