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