1 (defvar packages-hardcoded-lisp
3 ;; Nothing at this time
5 "Lisp packages that are always dumped with XEmacs.
6 This includes every package that is loaded directly by a package listed
7 in dumped-lisp.el and is not itself listed.")
9 (setq preloaded-file-list
11 "backquote" ; needed for defsubst etc.
12 "bytecomp-runtime" ; define defsubst
14 "packages" ; Bootstrap run-time lisp environment
17 "subr" ; load the most basic Lisp functions
18 "replace" ; match-string used in version.el.
19 ; Ignore compiled-by-mistake version.elc
25 "custom" ; Before the world so everything can be
27 "cus-start" ; for customization of builtin variables
35 "faces" ; must be loaded before any make-face call
36 ;;(pureload "facemenu") #### not yet ported
42 "process" ;; This is bad. network-streams may not be defined.
43 (when-feature multicast "multicast") ; #+network-streams implicitly true
44 "frame" ; move up here cause some stuff needs it here
47 "keydefs" ; Before loaddefs so that keymap vars exist.
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"))
61 "startup" ; For initialization of
62 ; `emacs-user-extension-dir'
64 ;; (pureload "profile")
65 (unless-feature mule "help-nomule")
67 ;; (pureload "hyper-apropos") Soon...
68 (unless-feature file-coding "files-nomule")
79 "paths.el" ; don't get confused if paths compiled.
83 "iso8859-1" ; This must be before any modes
84 ; (sets standard syntax table.)
86 "easymenu" ; Added for 20.3.
90 "auto-save" ; Added for 20.4
91 "movemail" ; Added for 21.2
92 (when-feature windows-nt "win32-native")
93 (when-feature lisp-float-type "float-sup")
94 "itimer" ; for vars auto-save-timeout and
99 ;;;;;;;;;;;;;;;;;; GUI support
100 (when-feature window-system "gui")
101 (when-feature window-system "mouse")
102 (when-feature window-system "mode-motion")
103 (when-feature toolbar "toolbar")
104 (when-feature scrollbar "scrollbar")
105 (when-feature menubar "menubar")
106 (when-feature dialog "dialog")
107 (when-feature gutter "gutter")
108 (when-feature dragdrop-api "dragdrop")
111 ;;;;;;;;;;;;;;;;;; Content for GUI's
112 ;; There used to be window-system inserted in the when-feature,
113 ;; but IMHO your configure script should turn off the menubar,
114 ;; toolbar, etc. features when there is no window system. We
115 ;; should just be able to assume that, if (featurep 'menubar),
116 ;; the menubar should work and if items are added, they can be
117 ;; seen clearly and usefully.
118 (when-feature (and (not infodock) menubar) "menubar-items")
119 (when-feature (and gutter) "gutter-items")
120 (when-feature (and (not infodock) toolbar) "toolbar-items")
121 (when-feature (and (not infodock) dialog) "dialog-items")
123 ;;;;;;;;;;;;;;;;;; Coding-system support
124 (when-feature file-coding "coding")
125 (when-feature file-coding "code-files")
126 ;; Handle process with encoding/decoding coding-system.
127 (when-feature file-coding "code-process")
128 ;; Provide basic commands to set coding systems to user
129 (when-feature file-coding "code-cmds")
130 ;;;;;;;;;;;;;;;;;; MULE support
131 (when-feature mule "mule-charset")
132 (when-feature mule "mule-coding")
133 ;; All files after this can have extended characters in them.
134 (when-feature mule "mule-help")
135 (when-feature mule "mule-category")
136 (when-feature mule "mule-ccl")
137 (when-feature mule "mule-misc")
138 (when-feature mule "kinsoku")
139 (when-feature (and mule x) "mule-x-init")
140 (when-feature (and mule tty) "mule-tty-init")
141 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
143 ;; after this goes the specific lisp routines for a particular input system
144 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
145 ;; or user switching of input systems???
149 ; (pureload "egg-wnn")
150 ; (setq egg-default-startup-file "eggrc-wnn")))
152 ;; (if (and (boundp 'CANNA) CANNA)
153 ;; (pureload "canna")
156 ;; Now load files to set up all the different languages/environments
157 ;; that Mule knows about.
159 (when-feature mule "arabic")
160 (when-feature mule "chinese")
161 (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
162 (when-feature mule "english")
163 (when-feature mule "ethiopic")
164 (when-feature mule "european")
165 (when-feature mule "mule/greek") ; overloaded in leim/quail
166 (when-feature mule "hebrew")
167 (when-feature mule "japanese")
168 (when-feature mule "korean")
169 (when-feature mule "latin")
170 (when-feature mule "misc-lang")
171 (when-feature mule "thai-xtis-chars")
172 (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
173 (when-feature mule "viet-chars")
174 (when-feature mule "vietnamese")
176 ;; Specialized language support
177 (when-feature (and mule CANNA) "canna-leim")
178 ;; Egg/Its is now a package
179 ; (when-feature (and mule wnn) "egg-leim")
180 ; (when-feature (and mule wnn) "egg-kwnn-leim")
181 ; (when-feature (and mule wnn) "egg-cwnn-leim")
182 ; (when-feature mule "egg-sj3-leim")
183 ;; SKK is now a package
184 ; (when-feature mule "skk-leim")
186 ;; Set up the XEmacs environment for Mule.
187 ;; Assumes the existence of various stuff above.
188 (when-feature mule "mule-init")
190 ;; Enable Mule capability for Gnus, mail, etc...
191 ;; Moved to sunpro-load.el - the default only for Sun.
192 ;;(pureload "mime-setup")
193 ;;; mule-load.el ends here
195 ;; preload InfoDock stuff. should almost certainly not be here if
196 ;; id-menus is not here. infodock needs to figure out a clever way to
197 ;; advise this stuff or we need to export a clean way for infodock or
198 ;; others to control this programmatically.
199 (when-feature (and infodock (or x mswindows gtk) menubar) "id-menus")
200 ;; preload the X code.
201 (when-feature x "x-faces")
202 (when-feature x "x-iso8859-1")
203 (when-feature x "x-mouse")
204 (when-feature x "x-select")
205 (when-feature (and x scrollbar) "x-scrollbar")
206 (when-feature x "x-misc")
207 (when-feature x "x-init")
208 (when-feature x "x-win-xfree86")
209 (when-feature x "x-win-sun")
210 ;; preload the GTK code
211 (when-feature gtk "gtk-ffi")
212 (when-feature gtk "gtk-widgets")
213 (when-feature gtk "gdk")
214 (when-feature gtk "gtk-init")
215 (when-feature gtk "gtk-faces")
216 (when-feature gtk "gtk-iso8859-1")
217 (when-feature (and gtk dialog) "dialog-gtk")
218 (when-feature gtk "gtk-select")
219 (when-feature gtk "gtk-mouse")
220 (when-feature gtk "gtk-glyphs")
221 (when-feature glade "glade")
222 (when-feature gtk "widgets-gtk")
224 ;; preload the mswindows code.
225 (when-feature mswindows "msw-glyphs")
226 (when-feature mswindows "msw-faces")
227 (when-feature mswindows "msw-mouse")
228 (when-feature mswindows "msw-init")
229 (when-feature mswindows "msw-select")
230 ;; preload the TTY init code.
231 (when-feature tty "tty-init")
232 ;;; Formerly in tooltalk/tooltalk-load.el
233 ;; Moved to tooltalk package
234 ;; (when-feature tooltalk "tooltalk-macros")
235 ;; (when-feature tooltalk "tooltalk-util")
236 ;; (when-feature tooltalk "tooltalk-init")
237 ;; "vc-hooks" ; Packaged. Available in two versions.
238 ;; "ediff-hook" ; Packaged.
241 (when-feature ldap "ldap")
243 ;; (when-feature energize "energize/energize-load.el")
244 ;;; formerly in sunpro/sunpro-load.el
245 ;; (when-feature (and mule sparcworks) "mime-setup")
247 ;; Moved to Sun package
248 ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
249 ;; (when-feature sparcworks "sunpro-init")
250 ;; (when-feature sparcworks "ring")
251 ;; (when-feature sparcworks "comint") ; Requires comint package
252 ;; (when-feature sparcworks "annotations")
254 ;;; formerly in eos/sun-eos-load.el
255 ;; (when-feature sparcworks "sun-eos-init")
256 ;; (when-feature sparcworks "sun-eos-common")
257 ;; (when-feature sparcworks "sun-eos-editor")
258 ;; (when-feature sparcworks "sun-eos-browser")
259 ;; (when-feature sparcworks "sun-eos-debugger")
260 ;; (when-feature sparcworks "sun-eos-debugger-extra")
261 ;; (when-feature sparcworks "sun-eos-menubar")
262 "loadhist" ; Must be dumped before loaddefs is loaded
263 "loaddefs" ; <=== autoloads get loaded here