1 (setq preloaded-file-list
3 "backquote" ; needed for defsubst etc.
4 "bytecomp-runtime" ; define defsubst
6 "packages" ; Bootstrap run-time lisp environment
9 "subr" ; load the most basic Lisp functions
10 "replace" ; match-string used in version.el.
11 ; Ignore compiled-by-mistake version.elc
17 "custom" ; Before the world so everything can be
19 "cus-start" ; for customization of builtin variables
27 "faces" ; must be loaded before any make-face call
28 ;;(pureload "facemenu") #### not yet ported
34 "process" ;; This is bad. network-streams may not be defined.
35 (when-feature multicast "multicast") ; #+network-streams implicitly true
36 "frame" ; move up here cause some stuff needs it here
39 "keydefs" ; Before loaddefs so that keymap vars exist.
44 "modeline" ; needs simple.el to be loaded first
45 ;; If SparcWorks support is included some additional packages are
46 ;; dumped which would normally have autoloads. To avoid
47 ;; duplicate doc string warnings, SparcWorks uses a separate
48 ;; autoloads file with the dumped packages removed.
49 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
50 ;; So just make loaddefs-eos go away...
51 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
53 "startup" ; For initialization of
54 ; `emacs-user-extension-dir'
56 ;; (pureload "profile")
57 (unless-feature mule "help-nomule")
59 ;; (pureload "hyper-apropos") Soon...
60 (unless-feature file-coding "files-nomule")
71 "paths.el" ; don't get confused if paths compiled.
75 "iso8859-1" ; This must be before any modes
76 ; (sets standard syntax table.)
78 "easymenu" ; Added for 20.3.
82 "auto-save" ; Added for 20.4
83 "movemail" ; Added for 21.2
84 (when-feature windows-nt "win32-native")
85 (when-feature lisp-float-type "float-sup")
86 "itimer" ; for vars auto-save-timeout and
91 ;;;;;;;;;;;;;;;;;; GUI support
92 (when-feature window-system "gui")
93 (when-feature window-system "mouse")
94 (when-feature window-system "mode-motion")
95 (when-feature toolbar "toolbar")
96 (when-feature scrollbar "scrollbar")
97 (when-feature menubar "menubar")
98 (when-feature dialog "dialog")
99 (when-feature gutter "gutter")
100 (when-feature dragdrop-api "dragdrop")
103 ;;;;;;;;;;;;;;;;;; Content for GUI's
104 ;; There used to be window-system inserted in the when-feature,
105 ;; but IMHO your configure script should turn off the menubar,
106 ;; toolbar, etc. features when there is no window system. We
107 ;; should just be able to assume that, if (featurep 'menubar),
108 ;; the menubar should work and if items are added, they can be
109 ;; seen clearly and usefully.
110 (when-feature (and (not infodock) menubar) "menubar-items")
111 (when-feature (and gutter) "gutter-items")
112 (when-feature (and (not infodock) toolbar) "toolbar-items")
113 (when-feature (and (not infodock) dialog) "dialog-items")
115 ;;;;;;;;;;;;;;;;;; Coding-system support
116 (when-feature file-coding "coding")
117 (when-feature file-coding "code-files")
118 (when-feature file-coding "code-process")
120 ;;;;;;;;;;;;;;;;;; MULE support
121 (when-feature mule "mule-charset")
122 (when-feature mule "mule-coding")
123 ;; All files after this can have extended characters in them.
124 (when-feature mule "mule-help")
125 (when-feature mule "mule-category")
126 (when-feature mule "mule-ccl")
127 (when-feature mule "mule-misc")
128 (when-feature mule "kinsoku")
129 (when-feature (and mule x) "mule-x-init")
130 (when-feature (and mule tty) "mule-tty-init")
131 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
133 ;; after this goes the specific lisp routines for a particular input system
134 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
135 ;; or user switching of input systems???
139 ; (pureload "egg-wnn")
140 ; (setq egg-default-startup-file "eggrc-wnn")))
142 ;; (if (and (boundp 'CANNA) CANNA)
143 ;; (pureload "canna")
146 ;; Now load files to set up all the different languages/environments
147 ;; that Mule knows about.
149 (when-feature mule "arabic")
150 (when-feature mule "chinese")
151 (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
152 (when-feature mule "english")
153 (when-feature mule "ethiopic")
154 (when-feature mule "european")
155 (when-feature mule "mule/greek") ; overloaded in leim/quail
156 (when-feature mule "hebrew")
157 (when-feature mule "japanese")
158 (when-feature mule "korean")
159 (when-feature mule "misc-lang")
160 (when-feature mule "thai-xtis-chars")
161 (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
162 (when-feature mule "viet-chars")
163 (when-feature mule "vietnamese")
165 ;; Specialized language support
166 (when-feature (and mule CANNA) "canna-leim")
167 ;; Egg/Its is now a package
168 ; (when-feature (and mule wnn) "egg-leim")
169 ; (when-feature (and mule wnn) "egg-kwnn-leim")
170 ; (when-feature (and mule wnn) "egg-cwnn-leim")
171 ; (when-feature mule "egg-sj3-leim")
172 ;; SKK is now a package
173 ; (when-feature mule "skk-leim")
175 ;; Set up the XEmacs environment for Mule.
176 ;; Assumes the existence of various stuff above.
177 (when-feature mule "mule-init")
179 ;; Enable Mule capability for Gnus, mail, etc...
180 ;; Moved to sunpro-load.el - the default only for Sun.
181 ;;(pureload "mime-setup")
182 ;;; mule-load.el ends here
184 ;; preload InfoDock stuff. should almost certainly not be here if
185 ;; id-menus is not here. infodock needs to figure out a clever way to
186 ;; advise this stuff or we need to export a clean way for infodock or
187 ;; others to control this programmatically.
188 (when-feature (and infodock (or x mswindows) menubar) "id-menus")
189 ;; preload the X code.
190 (when-feature x "x-faces")
191 (when-feature x "x-iso8859-1")
192 (when-feature x "x-mouse")
193 (when-feature x "x-select")
194 (when-feature (and x scrollbar) "x-scrollbar")
195 (when-feature x "x-misc")
196 (when-feature x "x-init")
197 (when-feature x "x-win-xfree86")
198 (when-feature x "x-win-sun")
199 ;; preload the mswindows code.
200 (when-feature mswindows "msw-glyphs")
201 (when-feature mswindows "msw-faces")
202 (when-feature mswindows "msw-mouse")
203 (when-feature mswindows "msw-init")
204 (when-feature mswindows "msw-select")
205 ;; preload the TTY init code.
206 (when-feature tty "tty-init")
207 ;;; Formerly in tooltalk/tooltalk-load.el
208 ;; Moved to tooltalk package
209 ;; (when-feature tooltalk "tooltalk-macros")
210 ;; (when-feature tooltalk "tooltalk-util")
211 ;; (when-feature tooltalk "tooltalk-init")
212 ;; "vc-hooks" ; Packaged. Available in two versions.
213 ;; "ediff-hook" ; Packaged.
216 (when-feature ldap "ldap")
218 ;; (when-feature energize "energize/energize-load.el")
219 ;;; formerly in sunpro/sunpro-load.el
220 ;; (when-feature (and mule sparcworks) "mime-setup")
222 ;; Moved to Sun package
223 ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
224 ;; (when-feature sparcworks "sunpro-init")
225 ;; (when-feature sparcworks "ring")
226 ;; (when-feature sparcworks "comint") ; Requires comint package
227 ;; (when-feature sparcworks "annotations")
229 ;;; formerly in eos/sun-eos-load.el
230 ;; (when-feature sparcworks "sun-eos-init")
231 ;; (when-feature sparcworks "sun-eos-common")
232 ;; (when-feature sparcworks "sun-eos-editor")
233 ;; (when-feature sparcworks "sun-eos-browser")
234 ;; (when-feature sparcworks "sun-eos-debugger")
235 ;; (when-feature sparcworks "sun-eos-debugger-extra")
236 ;; (when-feature sparcworks "sun-eos-menubar")
237 "loadhist" ; Must be dumped before loaddefs is loaded
238 "loaddefs" ; <=== autoloads get loaded here