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 ;; Handle process with encoding/decoding coding-system.
119 (when-feature file-coding "code-process")
120 ;; Provide basic commands to set coding systems to user
121 (when-feature file-coding "code-cmds")
122 ;;;;;;;;;;;;;;;;;; MULE support
123 (when-feature mule "mule-charset")
124 (when-feature mule "mule-coding")
125 ;; All files after this can have extended characters in them.
126 (when-feature mule "mule-help")
127 (when-feature mule "mule-category")
128 (when-feature mule "mule-ccl")
129 (when-feature mule "mule-misc")
130 (when-feature mule "kinsoku")
131 (when-feature (and mule x) "mule-x-init")
132 (when-feature (and mule tty) "mule-tty-init")
133 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
135 ;; after this goes the specific lisp routines for a particular input system
136 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
137 ;; or user switching of input systems???
141 ; (pureload "egg-wnn")
142 ; (setq egg-default-startup-file "eggrc-wnn")))
144 ;; (if (and (boundp 'CANNA) CANNA)
145 ;; (pureload "canna")
148 ;; Now load files to set up all the different languages/environments
149 ;; that Mule knows about.
151 (when-feature mule "arabic")
152 (when-feature mule "chinese")
153 (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
154 (when-feature mule "english")
155 (when-feature mule "ethiopic")
156 (when-feature mule "european")
157 (when-feature mule "mule/greek") ; overloaded in leim/quail
158 (when-feature mule "hebrew")
159 (when-feature mule "japanese")
160 (when-feature mule "korean")
161 (when-feature mule "latin")
162 (when-feature mule "misc-lang")
163 (when-feature mule "thai-xtis-chars")
164 (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
165 (when-feature mule "viet-chars")
166 (when-feature mule "vietnamese")
168 ;; Specialized language support
169 (when-feature (and mule CANNA) "canna-leim")
170 ;; Egg/Its is now a package
171 ; (when-feature (and mule wnn) "egg-leim")
172 ; (when-feature (and mule wnn) "egg-kwnn-leim")
173 ; (when-feature (and mule wnn) "egg-cwnn-leim")
174 ; (when-feature mule "egg-sj3-leim")
175 ;; SKK is now a package
176 ; (when-feature mule "skk-leim")
178 ;; Set up the XEmacs environment for Mule.
179 ;; Assumes the existence of various stuff above.
180 (when-feature mule "mule-init")
182 ;; Enable Mule capability for Gnus, mail, etc...
183 ;; Moved to sunpro-load.el - the default only for Sun.
184 ;;(pureload "mime-setup")
185 ;;; mule-load.el ends here
187 ;; preload InfoDock stuff. should almost certainly not be here if
188 ;; id-menus is not here. infodock needs to figure out a clever way to
189 ;; advise this stuff or we need to export a clean way for infodock or
190 ;; others to control this programmatically.
191 (when-feature (and infodock (or x mswindows gtk) menubar) "id-menus")
192 ;; preload the X code.
193 (when-feature x "x-faces")
194 (when-feature x "x-iso8859-1")
195 (when-feature x "x-mouse")
196 (when-feature x "x-select")
197 (when-feature (and x scrollbar) "x-scrollbar")
198 (when-feature x "x-misc")
199 (when-feature x "x-init")
200 (when-feature x "x-win-xfree86")
201 (when-feature x "x-win-sun")
202 ;; preload the GTK code
203 (when-feature gtk "gtk-ffi")
204 (when-feature gtk "gtk-widgets")
205 (when-feature gtk "gdk")
206 (when-feature gtk "gtk-init")
207 (when-feature gtk "gtk-faces")
208 (when-feature gtk "gtk-iso8859-1")
209 (when-feature (and gtk dialog) "dialog-gtk")
210 (when-feature gtk "gtk-select")
211 (when-feature gtk "gtk-mouse")
212 (when-feature gtk "gtk-glyphs")
213 (when-feature glade "glade")
214 (when-feature gtk "widgets-gtk")
216 ;; preload the mswindows code.
217 (when-feature mswindows "msw-glyphs")
218 (when-feature mswindows "msw-faces")
219 (when-feature mswindows "msw-mouse")
220 (when-feature mswindows "msw-init")
221 (when-feature mswindows "msw-select")
222 ;; preload the TTY init code.
223 (when-feature tty "tty-init")
224 ;;; Formerly in tooltalk/tooltalk-load.el
225 ;; Moved to tooltalk package
226 ;; (when-feature tooltalk "tooltalk-macros")
227 ;; (when-feature tooltalk "tooltalk-util")
228 ;; (when-feature tooltalk "tooltalk-init")
229 ;; "vc-hooks" ; Packaged. Available in two versions.
230 ;; "ediff-hook" ; Packaged.
233 (when-feature ldap "ldap")
235 ;; (when-feature energize "energize/energize-load.el")
236 ;;; formerly in sunpro/sunpro-load.el
237 ;; (when-feature (and mule sparcworks) "mime-setup")
239 ;; Moved to Sun package
240 ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
241 ;; (when-feature sparcworks "sunpro-init")
242 ;; (when-feature sparcworks "ring")
243 ;; (when-feature sparcworks "comint") ; Requires comint package
244 ;; (when-feature sparcworks "annotations")
246 ;;; formerly in eos/sun-eos-load.el
247 ;; (when-feature sparcworks "sun-eos-init")
248 ;; (when-feature sparcworks "sun-eos-common")
249 ;; (when-feature sparcworks "sun-eos-editor")
250 ;; (when-feature sparcworks "sun-eos-browser")
251 ;; (when-feature sparcworks "sun-eos-debugger")
252 ;; (when-feature sparcworks "sun-eos-debugger-extra")
253 ;; (when-feature sparcworks "sun-eos-menubar")
254 "loadhist" ; Must be dumped before loaddefs is loaded
255 "loaddefs" ; <=== autoloads get loaded here