884c9a00cfa0ce382d25c1d37c96a3c19032a97d
[chise/xemacs-chise.git.1] / 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 "winnt")
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         (when-feature toolbar "toolbar")
91         (when-feature scrollbar "scrollbar")
92         (when-feature menubar "menubar")
93         (when-feature dialog "dialog")
94         (when-feature mule "mule-charset")
95         (when-feature file-coding "coding")
96         (when-feature mule "mule-coding")
97 ;; Handle I/O of files with extended characters.
98         (when-feature file-coding "code-files")
99 ;; Handle process with encoding/decoding non-ascii coding-system.
100         (when-feature file-coding "code-process")
101         (when-feature mule "mule-help")
102 ;; Load the remaining basic files.
103         (when-feature mule "mule-category")
104         (when-feature mule "mule-ccl")
105         (when-feature mule "mule-misc")
106         (when-feature mule "kinsoku")
107         (when-feature (and mule x) "mule-x-init")
108         (when-feature (and mule tty) "mule-tty-init")
109         (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
110
111 ;; after this goes the specific lisp routines for a particular input system
112 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
113 ;; or user switching of input systems???
114 ;(if (featurep 'wnn)
115 ;    (progn
116 ;      (pureload "egg")
117 ;      (pureload "egg-wnn")
118 ;      (setq egg-default-startup-file "eggrc-wnn")))
119
120 ;; (if (and (boundp 'CANNA) CANNA)
121 ;;     (pureload "canna")
122 ;;   )
123
124 ;; Now load files to set up all the different languages/environments
125 ;; that Mule knows about.
126
127         (when-feature mule "arabic")
128         (when-feature mule "chinese")
129         (when-feature mule "mule/cyrillic") ; overloaded in leim/quail
130         (when-feature mule "english")
131         (when-feature mule "ethiopic")
132         (when-feature mule "european")
133         (when-feature mule "mule/greek") ; overloaded in leim/quail
134         (when-feature mule "hebrew")
135         (when-feature mule "japanese")
136         (when-feature mule "korean")
137         (when-feature mule "misc-lang")
138         (when-feature mule "thai-xtis-chars")
139         (when-feature mule "mule/thai-xtis") ; overloaded in leim/quail
140         (when-feature mule "viet-chars")
141         (when-feature mule "vietnamese")
142
143         ;; Specialized language support
144         (when-feature (and mule CANNA) "canna-leim")
145 ;; Egg/Its is now a package
146 ;       (when-feature (and mule wnn) "egg-leim")
147 ;       (when-feature (and mule wnn) "egg-kwnn-leim")
148 ;       (when-feature (and mule wnn) "egg-cwnn-leim")
149 ;       (when-feature mule "egg-sj3-leim")
150 ;; SKK is now a package
151 ;       (when-feature mule "skk-leim")
152
153 ;; Set up the XEmacs environment for Mule.
154 ;; Assumes the existence of various stuff above.
155         (when-feature mule "mule-init")
156
157 ;; Enable Mule capability for Gnus, mail, etc...
158 ;; Moved to sunpro-load.el - the default only for Sun.
159 ;;(pureload "mime-setup")
160 ;;; mule-load.el ends here
161         (when-feature (and gutter window-system) "gutter")
162         (when-feature window-system "gui")
163         (when-feature window-system "mode-motion")
164         (when-feature window-system "mouse")
165         "select"
166         (when-feature dragdrop-api "dragdrop")
167 ;; preload the X code, for faster startup.
168         (when-feature (and (not infodock)
169                            (or x mswindows) menubar) "menubar-items")
170         (when-feature (and infodock (or x mswindows) menubar) "id-menus")
171         (when-feature (and gutter window-system) "gutter-items")
172         (when-feature x "x-faces")
173         (when-feature x "x-iso8859-1")
174         (when-feature x "x-mouse")
175         (when-feature x "x-select")
176         (when-feature (and x scrollbar) "x-scrollbar")
177         (when-feature x "x-misc")
178         (when-feature x "x-init")
179         (when-feature (and (not infodock)
180                            window-system toolbar) "toolbar-items")
181         (when-feature x "x-win-xfree86")
182         (when-feature x "x-win-sun")
183 ;; preload the mswindows code.
184         (when-feature mswindows "msw-glyphs")
185         (when-feature mswindows "msw-faces")
186         (when-feature mswindows "msw-mouse")
187         (when-feature mswindows "msw-init")
188         (when-feature mswindows "msw-select")
189 ;; preload the TTY init code.
190         (when-feature tty "tty-init")
191 ;;; Formerly in tooltalk/tooltalk-load.el
192         ;; Moved to tooltalk package
193         ;; (when-feature tooltalk "tooltalk-macros")
194         ;; (when-feature tooltalk "tooltalk-util")
195         ;; (when-feature tooltalk "tooltalk-init")
196         ;; "vc-hooks"           ; Packaged.  Available in two versions.
197         ;; "ediff-hook"         ; Packaged.
198         "fontl-hooks"
199         "auto-show"
200         (when-feature ldap "ldap")
201
202 ;; (when-feature energize "energize/energize-load.el")
203 ;;; formerly in sunpro/sunpro-load.el
204 ;;      (when-feature (and mule sparcworks) "mime-setup")
205
206         ;; Moved to Sun package
207         ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
208         ;; (when-feature sparcworks "sunpro-init")
209         ;; (when-feature sparcworks "ring")
210         ;; (when-feature sparcworks "comint") ; Requires comint package
211         ;; (when-feature sparcworks "annotations")
212
213 ;;; formerly in eos/sun-eos-load.el
214 ;;      (when-feature sparcworks "sun-eos-init")
215 ;;      (when-feature sparcworks "sun-eos-common")
216 ;;      (when-feature sparcworks "sun-eos-editor")
217 ;;      (when-feature sparcworks "sun-eos-browser")
218 ;;      (when-feature sparcworks "sun-eos-debugger")
219 ;;      (when-feature sparcworks "sun-eos-debugger-extra")
220 ;;      (when-feature sparcworks "sun-eos-menubar")
221         "loadhist"              ; Must be dumped before loaddefs is loaded
222         "loaddefs"              ; <=== autoloads get loaded here
223 ))