Mercurial > hg > xemacs-beta
annotate lisp/dumped-lisp.el @ 5324:d0bb90d90736
Provide #'device-x-display, as documented in Lispref; thanks, Jeff Mincy.
lisp/ChangeLog addition:
2010-12-30 Aidan Kehoe <kehoea@parhasard.net>
* x-misc.el (device-x-display):
Provide this function, documented in the Lispref for years, but
not existing previously. Thank you Julian Bradfield, thank you
Jeff Mincy.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Thu, 30 Dec 2010 13:46:50 +0000 |
| parents | d27c1ee1943b |
| children | 75469840109b b9167d522a9a |
| rev | line source |
|---|---|
| 1330 | 1 (defvar packages-hardcoded-lisp |
| 2 '( | |
| 3 ;; Nothing at this time | |
| 4 ) | |
| 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.") | |
| 8 | |
| 2367 | 9 |
| 10 ;; WARNING WARNING WARNING: None of the files below, until where it says | |
| 11 ;; "All files after this can have extended characters in them", can have | |
| 12 ;; extended (non-ASCII characters) of any sort in them! Unfortunately, you | |
| 13 ;; will not get any error at load-time; however, you may get a later very | |
| 14 ;; cryptic error "Invalid opcode"! This is caused by the byte-code data | |
| 15 ;; being encoded as escape-quoted, when we can't handle that yet. | |
| 16 ;; | |
| 17 ;; #### We should resurrect the check for the coding-system magic cookie in | |
| 18 ;; fileio.c and put in an abort if we are not able to handle it yet. | |
| 19 | |
| 428 | 20 (setq preloaded-file-list |
| 1315 | 21 (list |
| 1333 | 22 ;; do not defcustom any variables in these files |
| 23 | |
| 1315 | 24 "backquote" ; needed for defsubst etc. |
| 25 "bytecomp-runtime" ; define defsubst | |
| 26 "subr" ; load the most basic Lisp functions | |
|
5284
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
27 "cl" |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
28 "cl-extra" ; also loads cl-macs if we're running interpreted. |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
29 "cl-seq" |
| 1315 | 30 "post-gc" |
| 4246 | 31 "version" |
|
5284
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
32 "custom" ; Before the world so everything can be customized |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
33 "cus-start" ; for customization of builtin variables |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
34 "find-paths" |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
35 "packages" |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
36 "setup-paths" |
|
d27c1ee1943b
Make the order of preloaded-file-list more sane.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5264
diff
changeset
|
37 "replace" |
| 1315 | 38 "widget" |
| 39 "cmdloop" | |
| 40 "keymap" | |
| 41 "syntax" | |
| 42 "device" | |
| 43 "console" | |
| 44 "obsolete" | |
| 45 "specifier" | |
| 46 "frame" ; needed by faces | |
| 3094 | 47 ;; #### this should be (featurep 'xft) |
| 3354 | 48 (when (featurep 'xft-fonts) "fontconfig") ; needed by x-faces |
| 1315 | 49 (when (featurep 'x) "x-faces") ; needed by faces |
| 50 (when (featurep 'gtk) "gtk-faces") | |
| 51 (when (valid-console-type-p 'mswindows) "msw-faces") | |
| 52 "faces" ; must be loaded before any make-face call | |
| 53 ;;(pureload "facemenu") #### not yet ported | |
| 54 "glyphs" | |
|
5176
8b2f75cecb89
rename objects* (.c, .h and .el files) to fontcolor*
Ben Wing <ben@xemacs.org>
parents:
4506
diff
changeset
|
55 "fontcolor" |
| 1315 | 56 "extents" |
| 57 "events" | |
| 58 "hash-table" | |
| 59 "text-props" | |
| 60 "process" ;; This is bad. network-streams may not be defined. | |
| 61 (when (featurep 'multicast) "multicast") ; #+network-streams implicitly true | |
| 62 "map-ynp" | |
| 63 "undo-stack" | |
| 64 "window" ; simple needs `save-window-excursion' | |
| 65 "window-xemacs" | |
| 3932 | 66 "resize-minibuffer" ; simple needs `resize-minibuffer-mode' |
| 1315 | 67 "simple" |
| 1333 | 68 "newcomment" |
| 1315 | 69 "keydefs" ; Before loaddefs so that keymap vars exist. |
| 70 "abbrev" | |
| 71 "derived" | |
| 72 "minibuf" | |
| 73 "list-mode" | |
| 74 "modeline" ; needs simple.el to be loaded first | |
| 428 | 75 ;; If SparcWorks support is included some additional packages are |
| 76 ;; dumped which would normally have autoloads. To avoid | |
| 77 ;; duplicate doc string warnings, SparcWorks uses a separate | |
| 78 ;; autoloads file with the dumped packages removed. | |
| 79 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!! | |
| 80 ;; So just make loaddefs-eos go away... | |
| 81 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs")) | |
| 1315 | 82 "cus-file" |
| 83 "startup" ; For initialization of | |
| 428 | 84 ; `emacs-user-extension-dir' |
| 1315 | 85 "misc" |
| 86 ;; (pureload "profile") | |
| 3368 | 87 "loadhist" ; Must be dumped before loaddefs is loaded |
| 88 ; Used by help. | |
| 1315 | 89 ;; (pureload "hyper-apropos") Soon... |
| 90 "files" | |
| 91 "lib-complete" | |
| 92 "format" | |
| 93 "indent" | |
| 94 "isearch-mode" | |
| 95 "buffer" | |
| 96 "buff-menu" | |
|
4372
ebb35ddea76a
Byte-compile menu lambdas; make the menu of available tutorials more readable.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4246
diff
changeset
|
97 "paths" |
| 1315 | 98 "lisp" |
| 99 "page" | |
| 100 "register" | |
| 101 "iso8859-1" ; This must be before any modes | |
| 102 ; (sets standard syntax table.) | |
|
4506
bd28481bb0e1
Port #'window-buffer-height, #'fit-window-to-buffer, & window, buf, functions.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4372
diff
changeset
|
103 "easy-mmode" ; Added for 21.5. Used by help. |
|
bd28481bb0e1
Port #'window-buffer-height, #'fit-window-to-buffer, & window, buf, functions.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4372
diff
changeset
|
104 "help" |
| 1315 | 105 "easymenu" ; Added for 20.3. |
| 106 "lisp-mode" | |
| 107 "text-mode" | |
| 108 "fill" | |
| 109 "auto-save" ; Added for 20.4 | |
| 110 "movemail" ; Added for 21.2 | |
| 111 (when (eq system-type 'windows-nt) "win32-native") | |
| 112 (when (featurep 'lisp-float-type) "float-sup") | |
| 113 "itimer" ; for vars auto-save-timeout and | |
| 428 | 114 ; auto-gc-threshold |
| 1315 | 115 "itimer-autosave" |
| 116 "printer" | |
| 117 "behavior" | |
| 118 "behavior-defs" | |
| 119 "diagnose" | |
| 120 | |
| 442 | 121 ;;;;;;;;;;;;;;;;;; GUI support |
| 1315 | 122 (when (featurep 'window-system) |
| 123 '("gui" | |
| 124 "mouse" | |
| 125 "mode-motion" | |
| 126 )) | |
| 127 (when (featurep 'toolbar) "toolbar") | |
| 128 (when (featurep 'scrollbar) "scrollbar") | |
| 129 (when (featurep 'menubar) "menubar") | |
| 130 (when (featurep 'dialog) "dialog") | |
| 131 (when (featurep 'gutter) "gutter") | |
| 132 (when (featurep 'dragdrop-api) "dragdrop") | |
| 133 "select" | |
| 134 | |
| 442 | 135 ;;;;;;;;;;;;;;;;;; Content for GUI's |
| 1315 | 136 ;; There used to be window-system inserted in the when-feature, |
| 137 ;; but IMHO your configure script should turn off the menubar, | |
| 138 ;; toolbar, etc. features when there is no window system. We | |
| 139 ;; should just be able to assume that, if (featurep 'menubar), | |
| 140 ;; the menubar should work and if items are added, they can be | |
| 141 ;; seen clearly and usefully. | |
|
5228
5efbd1253905
Remove all support for InfoDock.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5178
diff
changeset
|
142 (when (featurep 'menubar) "menubar-items") |
|
5efbd1253905
Remove all support for InfoDock.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5178
diff
changeset
|
143 (when (featurep 'gutter) "gutter-items") |
|
5efbd1253905
Remove all support for InfoDock.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5178
diff
changeset
|
144 (when (featurep 'toolbar) "toolbar-items") |
|
5efbd1253905
Remove all support for InfoDock.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5178
diff
changeset
|
145 (when (featurep 'dialog) "dialog-items") |
| 442 | 146 |
| 147 ;;;;;;;;;;;;;;;;;; Coding-system support | |
| 1315 | 148 "coding" |
| 149 "code-files" | |
| 150 ;; Handle process with encoding/decoding coding-system. | |
| 151 "code-process" | |
| 152 ;; Provide basic commands to set coding systems to user | |
| 153 "code-cmds" | |
| 154 "unicode" | |
| 442 | 155 ;;;;;;;;;;;;;;;;;; MULE support |
| 1315 | 156 (when (featurep 'mule) |
| 2465 | 157 '("mule/mule-charset" |
| 158 "mule/mule-cmds" ; to sync with Emacs 20.1 | |
| 159 "mule/mule-coding" | |
| 160 "mule/mule-composite-stub" | |
| 161 "mule/mule-composite" | |
| 1315 | 162 )) |
| 163 ;; may initialize coding systems | |
| 2465 | 164 (when (featurep '(and mule x)) "mule/mule-x-init") |
| 165 (when (featurep '(and mule tty)) "mule/mule-tty-init") | |
| 1315 | 166 (when (and (featurep 'mule) (memq system-type '(windows-nt cygwin32))) |
| 2474 | 167 "mule/mule-win32-init") |
| 1315 | 168 "code-init" ; set up defaults |
| 169 ;; All files after this can have extended characters in them. | |
| 170 (when (featurep 'mule) | |
| 2465 | 171 '("mule/mule-category" |
| 172 "mule/kinsoku" | |
| 1315 | 173 )) |
| 428 | 174 |
| 175 ;; after this goes the specific lisp routines for a particular input system | |
| 176 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site | |
| 177 ;; or user switching of input systems??? | |
| 178 ;(if (featurep 'wnn) | |
| 179 ; (progn | |
| 180 ; (pureload "egg") | |
| 181 ; (pureload "egg-wnn") | |
| 182 ; (setq egg-default-startup-file "eggrc-wnn"))) | |
| 183 | |
| 184 ;; (if (and (boundp 'CANNA) CANNA) | |
| 185 ;; (pureload "canna") | |
| 186 ;; ) | |
| 187 | |
| 780 | 188 ;; Now load files to set up all the different languages/environments that |
| 189 ;; Mule knows about. Formerly we had to worry about files shadowed by | |
| 190 ;; those of the same name in leim/quail.el, but no longer, since we now | |
| 191 ;; compile with -no-packages. | |
| 428 | 192 |
| 1315 | 193 (when (featurep 'mule) |
| 2465 | 194 '("mule/arabic" |
| 195 "mule/chinese" | |
| 196 "mule/cyrillic" | |
| 197 "mule/english" | |
| 198 "mule/ethiopic" | |
| 199 "mule/greek" | |
| 200 "mule/hebrew" | |
| 201 "mule/indian" | |
| 202 "mule/devanagari" ; must be loaded after indian.el | |
| 203 "mule/japanese" | |
| 204 "mule/korean" | |
| 4072 | 205 "mule/lao" ; sucks. |
| 2465 | 206 "mule/latin" |
| 207 "mule/misc-lang" | |
| 1315 | 208 ;; "thai" #### merge thai and thai-xtis!!! |
| 4072 | 209 ;; #### Even better; take out thai-xtis! It's not even a |
| 210 ;; standard, and no-one uses it. | |
| 2465 | 211 "mule/thai-xtis" |
| 212 "mule/tibetan" | |
| 213 "mule/vietnamese" | |
| 1315 | 214 )) |
| 215 | |
| 428 | 216 ;; Specialized language support |
| 2973 | 217 (when (featurep 'mule) "mule/canna-leim") |
| 780 | 218 ;; needs access to the charsets created by the above |
| 219 ;; language-specific files. | |
| 1315 | 220 (when (and (featurep 'mule) (valid-console-type-p 'mswindows)) |
| 2465 | 221 "mule/mule-msw-init-late") |
| 780 | 222 |
| 3707 | 223 (when (featurep 'mule) |
| 224 "mule/general-late") | |
| 225 | |
| 428 | 226 ;;; mule-load.el ends here |
| 442 | 227 |
| 228 ;; preload the X code. | |
| 1315 | 229 (when (featurep '(and x scrollbar)) "x-scrollbar") |
| 230 (when (featurep 'x) | |
| 2828 | 231 '("x-mouse" |
| 1315 | 232 "x-select" |
| 233 "x-misc" | |
| 234 "x-init" | |
| 235 "x-win-xfree86" | |
| 236 "x-win-sun")) | |
| 237 ;; preload the GTK code | |
| 238 (when (featurep 'gtk) | |
| 239 '("gtk-ffi" | |
| 240 "gtk-widgets" | |
| 241 "gdk" | |
| 242 "gtk-init" | |
| 243 "gtk-select" | |
| 244 "gtk-mouse" | |
| 245 "gtk-glyphs" | |
| 246 "widgets-gtk")) | |
| 247 (when (featurep '(and gtk dialog)) "dialog-gtk") | |
| 248 (when (featurep 'glade) "glade") | |
| 462 | 249 |
| 428 | 250 ;; preload the mswindows code. |
| 1315 | 251 (when (valid-console-type-p 'mswindows) |
| 252 '("msw-glyphs" | |
| 253 "msw-mouse" | |
| 254 "msw-init" | |
| 255 "msw-select")) | |
| 428 | 256 ;; preload the TTY init code. |
| 1315 | 257 (when (featurep 'tty) "tty-init") |
| 428 | 258 ;;; Formerly in tooltalk/tooltalk-load.el |
| 259 ;; Moved to tooltalk package | |
| 1315 | 260 ;; (when (featurep 'tooltalk) |
| 261 ;; '("tooltalk-macros" "tooltalk-util" "tooltalk-init")) | |
| 428 | 262 ;; "vc-hooks" ; Packaged. Available in two versions. |
| 263 ;; "ediff-hook" ; Packaged. | |
| 1315 | 264 "fontl-hooks" |
| 265 "auto-show" | |
| 2579 | 266 "paragraphs" ; needs easy-mmode, coding |
| 1315 | 267 (when (featurep 'ldap) "ldap") |
| 428 | 268 |
| 1315 | 269 ;; (when (featurep 'energize) "energize/energize-load.el") |
| 428 | 270 ;;; formerly in sunpro/sunpro-load.el |
| 1315 | 271 ;; (when (featurep '(and mule sparcworks)) "mime-setup") |
| 428 | 272 |
| 273 ;; Moved to Sun package | |
| 1315 | 274 ;; (when (featurep 'sparcworks) |
| 275 ;; '("cc-mode" ; Requires cc-mode package | |
| 276 ;; "sunpro-init" | |
| 277 ;; "ring" | |
| 278 ;; "comint" ; Requires comint package | |
| 279 ;; "annotations")) | |
| 428 | 280 |
| 281 ;;; formerly in eos/sun-eos-load.el | |
| 1315 | 282 ;; (when (featurep 'sparcworks) |
| 283 ;; '("sun-eos-init" | |
| 284 ;; "sun-eos-common" | |
| 285 ;; "sun-eos-editor" | |
| 286 ;; "sun-eos-browser" | |
| 287 ;; "sun-eos-debugger" | |
| 288 ;; "sun-eos-debugger-extra" | |
| 289 ;; "sun-eos-menubar")) | |
| 290 "loaddefs" ; <=== autoloads get loaded here | |
| 291 )) | |
| 292 | |
| 293 (setq preloaded-file-list | |
|
5264
0d43872986b6
Change (apply 'nconc (mapcar ...)) to (mapcan ...); warn about first form.
Aidan Kehoe <kehoea@parhasard.net>
parents:
5228
diff
changeset
|
294 (mapcan #'(lambda (x) (if (listp x) x (list x))) preloaded-file-list)) |
