Reformatted.
[chise/xemacs-chise.git-] / lisp / dumped-lisp.el
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"
33         "text-props"
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
37         "map-ynp"
38         "simple"
39         "keydefs"               ; Before loaddefs so that keymap vars exist.
40         "abbrev"
41         "derived"
42         "minibuf"
43         "list-mode"
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"))
52         "cus-file"
53         "startup"               ; For initialization of
54                                 ;  `emacs-user-extension-dir'
55         "misc"
56         ;; (pureload "profile")
57         (unless-feature mule "help-nomule")
58         "help"
59         ;; (pureload "hyper-apropos")  Soon...
60         (unless-feature file-coding "files-nomule")
61         "files"
62         "lib-complete"
63         "format"
64         "indent"
65         "isearch-mode"
66         "buffer"
67         "buff-menu"
68         "undo-stack"
69         "window"
70         "window-xemacs"
71         "paths.el"              ; don't get confused if paths compiled.
72         "lisp"
73         "page"
74         "register"
75         "iso8859-1"             ; This must be before any modes
76                                         ; (sets standard syntax table.)
77         "paragraphs"
78         "easymenu"              ; Added for 20.3.
79         "lisp-mode"
80         "text-mode"
81         "fill"
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
87                                 ; auto-gc-threshold
88         "itimer-autosave"
89         "printer"
90
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")
101         "select"
102
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")
114
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-conf")
124         (when-feature mule "mule-charset")
125         (when-feature mule "mule-coding")
126         (when-feature mule "arabic")
127         (when-feature utf-2000 "update-cdb")
128         ;; All files after this can have extended characters in them.
129         (when-feature mule "mule-help")
130         (when-feature mule "mule-category")
131         (when-feature mule "mule-ccl")
132         (when-feature mule "mule-misc")
133         (when-feature mule "kinsoku")
134         (when-feature (and mule x) "mule-x-init")
135         (when-feature (and mule tty) "mule-tty-init")
136         (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
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
151 ;; Now load files to set up all the different languages/environments
152 ;; that Mule knows about.
153
154         (when-feature mule "chinese")
155         (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
156         (when-feature mule "english")
157         (when-feature mule "ethiopic")
158         (when-feature mule "european")
159         (when-feature mule "mule/greek") ; overloaded in leim/quail
160         (when-feature mule "hebrew")
161         (when-feature mule "japanese")
162         (when-feature mule "korean")
163         (when-feature mule "latin")
164         (when-feature mule "misc-lang")
165         (when-feature mule "thai-xtis-chars")
166         (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
167         (when-feature mule "viet-chars")
168         (when-feature (and mule (not utf-2000)) "viet-ccl")
169         (when-feature mule "vietnamese")
170
171         ;; Specialized language support
172         (when-feature (and mule CANNA) "canna-leim")
173 ;; Egg/Its is now a package
174 ;       (when-feature (and mule wnn) "egg-leim")
175 ;       (when-feature (and mule wnn) "egg-kwnn-leim")
176 ;       (when-feature (and mule wnn) "egg-cwnn-leim")
177 ;       (when-feature mule "egg-sj3-leim")
178 ;; SKK is now a package
179 ;       (when-feature mule "skk-leim")
180
181 ;; Set up the XEmacs environment for Mule.
182 ;; Assumes the existence of various stuff above.
183         (when-feature mule "mule-init")
184
185 ;; Enable Mule capability for Gnus, mail, etc...
186 ;; Moved to sunpro-load.el - the default only for Sun.
187 ;;(pureload "mime-setup")
188 ;;; mule-load.el ends here
189
190 ;; preload InfoDock stuff.  should almost certainly not be here if
191 ;; id-menus is not here.  infodock needs to figure out a clever way to
192 ;; advise this stuff or we need to export a clean way for infodock or
193 ;; others to control this programmatically.
194         (when-feature (and infodock (or x mswindows gtk) menubar) "id-menus")
195 ;; preload the X code.
196         (when-feature x "x-faces")
197         (when-feature x "x-iso8859-1")
198         (when-feature x "x-mouse")
199         (when-feature x "x-select")
200         (when-feature (and x scrollbar) "x-scrollbar")
201         (when-feature x "x-misc")
202         (when-feature x "x-init")
203         (when-feature x "x-win-xfree86")
204         (when-feature x "x-win-sun")
205 ;; preload the GTK code
206         (when-feature gtk "gtk-ffi")
207         (when-feature gtk "gtk-widgets")
208         (when-feature gtk "gdk")
209         (when-feature gtk "gtk-init")
210         (when-feature gtk "gtk-faces")
211         (when-feature gtk "gtk-iso8859-1")
212         (when-feature (and gtk dialog) "dialog-gtk")
213         (when-feature gtk "gtk-select")
214         (when-feature gtk "gtk-mouse")
215         (when-feature gtk "gtk-glyphs")
216         (when-feature glade "glade")
217         (when-feature gtk "widgets-gtk")
218
219 ;; preload the mswindows code.
220         (when-feature mswindows "msw-glyphs")
221         (when-feature mswindows "msw-faces")
222         (when-feature mswindows "msw-mouse")
223         (when-feature mswindows "msw-init")
224         (when-feature mswindows "msw-select")
225 ;; preload the TTY init code.
226         (when-feature tty "tty-init")
227 ;;; Formerly in tooltalk/tooltalk-load.el
228         ;; Moved to tooltalk package
229         ;; (when-feature tooltalk "tooltalk-macros")
230         ;; (when-feature tooltalk "tooltalk-util")
231         ;; (when-feature tooltalk "tooltalk-init")
232         ;; "vc-hooks"           ; Packaged.  Available in two versions.
233         ;; "ediff-hook"         ; Packaged.
234         "fontl-hooks"
235         "auto-show"
236         (when-feature ldap "ldap")
237
238 ;; (when-feature energize "energize/energize-load.el")
239 ;;; formerly in sunpro/sunpro-load.el
240 ;;      (when-feature (and mule sparcworks) "mime-setup")
241
242         ;; Moved to Sun package
243         ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
244         ;; (when-feature sparcworks "sunpro-init")
245         ;; (when-feature sparcworks "ring")
246         ;; (when-feature sparcworks "comint") ; Requires comint package
247         ;; (when-feature sparcworks "annotations")
248
249 ;;; formerly in eos/sun-eos-load.el
250 ;;      (when-feature sparcworks "sun-eos-init")
251 ;;      (when-feature sparcworks "sun-eos-common")
252 ;;      (when-feature sparcworks "sun-eos-editor")
253 ;;      (when-feature sparcworks "sun-eos-browser")
254 ;;      (when-feature sparcworks "sun-eos-debugger")
255 ;;      (when-feature sparcworks "sun-eos-debugger-extra")
256 ;;      (when-feature sparcworks "sun-eos-menubar")
257         ;; (when-feature utf-2000 "make-cdbs")
258         (when-feature chise "close-cdb")
259         "loadhist"              ; Must be dumped before loaddefs is loaded
260         "loaddefs"              ; <=== autoloads get loaded here
261 ))