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