annotate lisp/dumped-lisp.el @ 1314:15a91d7ae2d1

[xemacs-hg @ 2003-02-20 08:16:21 by ben] check in makefile fixes et al Makefile.in.in: Major surgery. Move all stuff related to building anything in the src/ directory into src/. Simplify the dependencies -- everything in src/ is dependent on the single entry `src' in MAKE_SUBDIRS. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. mule/mule-msw-init.el: Removed. Delete this file. mule/mule-win32-init.el: New file, with stuff from mule-msw-init.el -- not just for MS Windows native, boys and girls! bytecomp.el: Change code inserted to catch trying to load a Mule-only .elc file in a non-Mule XEmacs. Formerly you got the rather cryptic "The required feature `mule' cannot be provided". Now you get "Loading this file requires Mule support". finder.el: Remove dependency on which directory this function is invoked from. update-elc.el: Don't mess around with ../src/BYTECOMPILE_CHANGE. Now that Makefile.in.in and xemacs.mak are in sync, both of them use NEEDTODUMP and the other one isn't used. dumped-lisp.el: Rewrite in terms of `list' and `nconc' instead of assemble-list, so we can have arbitrary forms, not just `when-feature'. very-early-lisp.el: Nuke this file. finder-inf.el, packages.el, update-elc.el, update-elc-2.el, loadup.el, make-docfile.el: Eliminate references to very-early-lisp. msw-glyphs.el: Comment clarification. xemacs.mak: Add macros DO_TEMACS, DO_XEMACS, and a few others; this macro section is now completely in sync with src/Makefile.in.in. Copy check-features, load-shadows, and rebuilding finder-inf.el from src/Makefile.in.in. The main build/dump/recompile process is now synchronized with src/Makefile.in.in. Change `WARNING' to `NOTE' and `error checking' to `error-checking' TO avoid tripping faux warnings and errors in the VC++ IDE. Makefile.in.in: Major surgery. Move all stuff related to building anything in the src/ directory from top-level Makefile.in.in to here. Simplify the dependencies. Rearrange into logical subsections. Synchronize the main compile/dump/build-elcs section with xemacs.mak, which is already clean and in good working order. Remove weirdo targets like `all-elc[s]', dump-elc[s], etc. Add additional levels of macros \(e.g. DO_TEMACS, DO_XEMACS, TEMACS_BATCH, XEMACS_BATCH, XEMACS_BATCH_PACKAGES) to factor out duplicated stuff. Clean up handling of "HEAP_IN_DATA" (Cygwin) so it doesn't need to ignore the return value from dumping. Add .NO_PARALLEL since various aspects of building and dumping must be serialized but do not always have dependencies between them (this is impossible in some cases). Everything related to src/ now gets built in one pass in this directory by just running `make' (except the Makefiles themselves and config.h, paths.h, Emacs.ad.h, and other generated .h files). console.c: Update list of possibly valid console types. emacs.c: Rationalize the specifying and handling of the type of the first frame. This was originally prompted by a workspace in which I got GTK to compile under C++ and in the process fixed it so it could coexist with X in the same build -- hence, a combined TTY/X/MS-Windows/GTK build is now possible under Cygwin. (However, you can't simultaneously *display* more than one kind of device connection -- but getting that to work is not that difficult. Perhaps a project for a bored grad student. I (ben) would do it but don't see the use.) To make sense of this, I added new switches that can be used to specifically indicate the window system: -x [aka --use-x], -tty \[aka --use-tty], -msw [aka --use-ms-windows], -gtk [aka --use-gtk], and -gnome [aka --use-gnome, same as --use-gtk]. -nw continues as an alias for -tty. When none have been given, XEmacs checks for other parameters implying particular device types (-t -> tty, -display -> x [or should it have same treatment as DISPLAY below?]), and has ad-hoc logic afterwards: if env var DISPLAY is set, use x (or gtk? perhaps should check whether gnome is running), else MS Windows if it exsits, else TTY if it exists, else stream, and you must be running in batch mode. This also fixes an existing bug whereby compiling with no x, no mswin, no tty, when running non- interactively (e.g. to dump) I get "sorry, must have TTY support". emacs.c: Turn on Vstack_trace_on_error so that errors are debuggable even when occurring extremely early in reinitialization. emacs.c: Try to make sure that the user can see message output under Windows (i.e. it doesn't just disappear right away) regardless of when it occurs, e.g. in the middle of creating the first frame. emacs.c: Define new function `emacs-run-status', indicating whether XEmacs is noninteractive or interactive, whether raw, post-dump/pdump-load or run-temacs, whether we are dumping, whether pdump is in effect. event-stream.c: It's "mommas are fat", not "momas are fat". Fix other typo. event-stream.c: Conditionalize in_menu_callback check on HAVE_MENUBARS, because it won't exist on w/o menubar support, lisp.h: More hackery on RETURN_NOT_REACHED. Cygwin v3.2 DOES complain here if RETURN_NOT_REACHED() is blank, as it is for GCC 2.5+. So make it blank only for GCC 2.5 through 2.999999999999999. Declare Vstack_trace_on_error. profile.c: Need to include "profile.h" to fix warnings. sheap.c: Don't fatal() when need to rerun Make, just stderr_out() and exit(0). That way we can distinguish between a dumping failing expectedly (due to lack of stack space, triggering another dump) and unexpectedly, in which case, we want to stop building. (or go on, if -K is given) syntax.c, syntax.h: Use ints where they belong, and enum syntaxcode's where they belong, and fix warnings thereby. syntax.h: Fix crash caused by an edge condition in the syntax-cache macros. text.h: Spacing fixes. xmotif.h: New file, to get around shadowing warnings. EmacsManager.c, event-Xt.c, glyphs-x.c, gui-x.c, input-method-motif.c, xmmanagerp.h, xmprimitivep.h: Include xmotif.h. alloc.c: Conditionalize in_malloc on ERROR_CHECK_MALLOC. config.h.in, file-coding.h, fileio.c, getloadavg.c, select-x.c, signal.c, sysdep.c, sysfile.h, systime.h, text.c, unicode.c: Eliminate HAVE_WIN32_CODING_SYSTEMS, use WIN32_ANY instead. Replace defined (WIN32_NATIVE) || defined (CYGWIN) with WIN32_ANY. lisp.h: More futile attempts to walk and chew gum at the same time when dealing with subr's that don't return.
author ben
date Thu, 20 Feb 2003 08:16:21 +0000
parents 960da99ad52b
children 70921960b980
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 (setq preloaded-file-list
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 (assemble-list
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 "backquote" ; needed for defsubst etc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 "bytecomp-runtime" ; define defsubst
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 "find-paths"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 "packages" ; Bootstrap run-time lisp environment
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 "setup-paths"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 "dump-paths"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 "subr" ; load the most basic Lisp functions
886
011e1bce6ece [xemacs-hg @ 2002-06-28 14:20:41 by michaels]
michaels
parents: 853
diff changeset
10 "post-gc"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 "replace" ; match-string used in version.el.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 ; Ignore compiled-by-mistake version.elc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 "version.el"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 "cl"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 "cl-extra"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 "cl-seq"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 "widget"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 "custom" ; Before the world so everything can be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 ; customized
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 "cus-start" ; for customization of builtin variables
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 "cmdloop"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 "keymap"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 "syntax"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 "device"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 "console"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 "obsolete"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 "specifier"
853
2b6fa2618f76 [xemacs-hg @ 2002-05-28 08:44:22 by ben]
ben
parents: 800
diff changeset
28 "frame" ; needed by faces
2b6fa2618f76 [xemacs-hg @ 2002-05-28 08:44:22 by ben]
ben
parents: 800
diff changeset
29 (when-feature x "x-faces") ; needed by faces
2b6fa2618f76 [xemacs-hg @ 2002-05-28 08:44:22 by ben]
ben
parents: 800
diff changeset
30 (when-feature gtk "gtk-faces")
2b6fa2618f76 [xemacs-hg @ 2002-05-28 08:44:22 by ben]
ben
parents: 800
diff changeset
31 (when-feature mswindows "msw-faces")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 "faces" ; must be loaded before any make-face call
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 ;;(pureload "facemenu") #### not yet ported
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 "glyphs"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 "objects"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36 "extents"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 "events"
502
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 464
diff changeset
38 "hash-table"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 "text-props"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 "process" ;; This is bad. network-streams may not be defined.
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
41 (when-feature multicast "multicast") ; #+network-streams implicitly true
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 "map-ynp"
1133
960da99ad52b [xemacs-hg @ 2002-12-02 12:27:18 by michaels]
michaels
parents: 886
diff changeset
43 "undo-stack"
960da99ad52b [xemacs-hg @ 2002-12-02 12:27:18 by michaels]
michaels
parents: 886
diff changeset
44 "window" ; simple needs `save-window-excursion'
960da99ad52b [xemacs-hg @ 2002-12-02 12:27:18 by michaels]
michaels
parents: 886
diff changeset
45 "window-xemacs"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 "simple"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 "keydefs" ; Before loaddefs so that keymap vars exist.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 "abbrev"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49 "derived"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50 "minibuf"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51 "list-mode"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52 "modeline" ; needs simple.el to be loaded first
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53 ;; If SparcWorks support is included some additional packages are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 ;; dumped which would normally have autoloads. To avoid
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 ;; duplicate doc string warnings, SparcWorks uses a separate
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 ;; autoloads file with the dumped packages removed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58 ;; So just make loaddefs-eos go away...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
60 "cus-file"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 "startup" ; For initialization of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 ; `emacs-user-extension-dir'
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 "misc"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 ;; (pureload "profile")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 "help"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 ;; (pureload "hyper-apropos") Soon...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 "files"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 "lib-complete"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 "format"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 "indent"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 "isearch-mode"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 "buffer"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 "buff-menu"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 "paths.el" ; don't get confused if paths compiled.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 "lisp"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 "page"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 "register"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 "iso8859-1" ; This must be before any modes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 ; (sets standard syntax table.)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 "paragraphs"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 "easymenu" ; Added for 20.3.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 "lisp-mode"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 "text-mode"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 "fill"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 "auto-save" ; Added for 20.4
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 428
diff changeset
86 "movemail" ; Added for 21.2
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
87 (when-feature windows-nt "win32-native")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 (when-feature lisp-float-type "float-sup")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
89 "itimer" ; for vars auto-save-timeout and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
90 ; auto-gc-threshold
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
91 "itimer-autosave"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
92 "printer"
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 787
diff changeset
93 "behavior"
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 787
diff changeset
94 "behavior-defs"
787
242b62e9fc59 [xemacs-hg @ 2002-03-20 10:20:48 by ben]
ben
parents: 784
diff changeset
95 "diagnose"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
96
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
97 ;;;;;;;;;;;;;;;;;; GUI support
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
98 (when-feature window-system "gui")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
99 (when-feature window-system "mouse")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
100 (when-feature window-system "mode-motion")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 (when-feature toolbar "toolbar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102 (when-feature scrollbar "scrollbar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 (when-feature menubar "menubar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 (when-feature dialog "dialog")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
105 (when-feature gutter "gutter")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
106 (when-feature dragdrop-api "dragdrop")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
107 "select"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
108
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
109 ;;;;;;;;;;;;;;;;;; Content for GUI's
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
110 ;; There used to be window-system inserted in the when-feature,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
111 ;; but IMHO your configure script should turn off the menubar,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
112 ;; toolbar, etc. features when there is no window system. We
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
113 ;; should just be able to assume that, if (featurep 'menubar),
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
114 ;; the menubar should work and if items are added, they can be
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
115 ;; seen clearly and usefully.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
116 (when-feature (and (not infodock) menubar) "menubar-items")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
117 (when-feature (and gutter) "gutter-items")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
118 (when-feature (and (not infodock) toolbar) "toolbar-items")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
119 (when-feature (and (not infodock) dialog) "dialog-items")
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
120
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
121 ;;;;;;;;;;;;;;;;;; Coding-system support
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
122 "coding"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
123 "code-files"
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
124 ;; Handle process with encoding/decoding coding-system.
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
125 "code-process"
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
126 ;; Provide basic commands to set coding systems to user
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
127 "code-cmds"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
128 "unicode"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
129 ;;;;;;;;;;;;;;;;;; MULE support
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
130 (when-feature mule "mule-charset")
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
131 (when-feature mule "mule-cmds") ; to sync with Emacs 20.1
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
132 (when-feature mule "mule-coding")
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
133 (when-feature mule "mule-composite-stub")
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
134 (when-feature mule "mule-composite")
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
135 ;; may initialize coding systems
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
136 (when-feature (and mule x) "mule-x-init")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
137 (when-feature (and mule tty) "mule-tty-init")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
138 (when-feature (and mule mswindows) "mule-msw-init")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
139 "code-init" ; set up defaults
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
140 ;; All files after this can have extended characters in them.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 (when-feature mule "mule-category")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142 (when-feature mule "mule-ccl")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 (when-feature mule "kinsoku")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145 ;; after this goes the specific lisp routines for a particular input system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 ;; 97.2.5 JHod Shouldn't these go into a site-load file to allow site
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 ;; or user switching of input systems???
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 ;(if (featurep 'wnn)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 ; (progn
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150 ; (pureload "egg")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 ; (pureload "egg-wnn")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 ; (setq egg-default-startup-file "eggrc-wnn")))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154 ;; (if (and (boundp 'CANNA) CANNA)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 ;; (pureload "canna")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 ;; )
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
158 ;; Now load files to set up all the different languages/environments that
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
159 ;; Mule knows about. Formerly we had to worry about files shadowed by
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
160 ;; those of the same name in leim/quail.el, but no longer, since we now
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
161 ;; compile with -no-packages.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163 (when-feature mule "arabic")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 (when-feature mule "chinese")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
165 (when-feature mule "cyrillic")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166 (when-feature mule "english")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
167 (when-feature mule "ethiopic")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168 (when-feature mule "european")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
169 (when-feature mule "greek")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 (when-feature mule "hebrew")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
171 (when-feature mule "indian")
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
172 (when-feature mule "devanagari") ; must be loaded after indian.el
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
173 (when-feature mule "japanese")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
174 (when-feature mule "korean")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
175 (when-feature mule "lao")
464
5aa1854ad537 Import from CVS: tag r21-2-47
cvs
parents: 462
diff changeset
176 (when-feature mule "latin")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177 (when-feature mule "misc-lang")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
178 ;; #### merge thai and thai-xtis!!!
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
179 ;(when-feature mule "thai")
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
180 (when-feature mule "thai-xtis")
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
181 (when-feature mule "tibetan")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 (when-feature mule "vietnamese")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 ;; Specialized language support
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 (when-feature (and mule CANNA) "canna-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 ;; Egg/Its is now a package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 ; (when-feature (and mule wnn) "egg-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 ; (when-feature (and mule wnn) "egg-kwnn-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 ; (when-feature (and mule wnn) "egg-cwnn-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 ; (when-feature mule "egg-sj3-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 ;; SKK is now a package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 ; (when-feature mule "skk-leim")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 ;; Enable Mule capability for Gnus, mail, etc...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 ;; Moved to sunpro-load.el - the default only for Sun.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196 ;;(pureload "mime-setup")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
197
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
198 ;; needs access to the charsets created by the above
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
199 ;; language-specific files.
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
200 (when-feature (and mule mswindows) "mule-msw-init-late")
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
201
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 ;;; mule-load.el ends here
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
203
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
204 ;; preload InfoDock stuff. should almost certainly not be here if
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
205 ;; id-menus is not here. infodock needs to figure out a clever way to
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
206 ;; advise this stuff or we need to export a clean way for infodock or
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
207 ;; others to control this programmatically.
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
208 (when-feature (and infodock (or x mswindows gtk) menubar) "id-menus")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
209 ;; preload the X code.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 (when-feature x "x-iso8859-1")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 (when-feature x "x-mouse")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212 (when-feature x "x-select")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213 (when-feature (and x scrollbar) "x-scrollbar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214 (when-feature x "x-misc")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215 (when-feature x "x-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216 (when-feature x "x-win-xfree86")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
217 (when-feature x "x-win-sun")
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
218 ;; preload the GTK code
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
219 (when-feature gtk "gtk-ffi")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
220 (when-feature gtk "gtk-widgets")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
221 (when-feature gtk "gdk")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
222 (when-feature gtk "gtk-init")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
223 (when-feature gtk "gtk-iso8859-1")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
224 (when-feature (and gtk dialog) "dialog-gtk")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
225 (when-feature gtk "gtk-select")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
226 (when-feature gtk "gtk-mouse")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
227 (when-feature gtk "gtk-glyphs")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
228 (when-feature glade "glade")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
229 (when-feature gtk "widgets-gtk")
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
230
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
231 ;; preload the mswindows code.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
232 (when-feature mswindows "msw-glyphs")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
233 (when-feature mswindows "msw-mouse")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
234 (when-feature mswindows "msw-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 (when-feature mswindows "msw-select")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
236 ;; preload the TTY init code.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
237 (when-feature tty "tty-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
238 ;;; Formerly in tooltalk/tooltalk-load.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
239 ;; Moved to tooltalk package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
240 ;; (when-feature tooltalk "tooltalk-macros")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
241 ;; (when-feature tooltalk "tooltalk-util")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
242 ;; (when-feature tooltalk "tooltalk-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
243 ;; "vc-hooks" ; Packaged. Available in two versions.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 ;; "ediff-hook" ; Packaged.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245 "fontl-hooks"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 "auto-show"
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
247 "resize-minibuffer"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248 (when-feature ldap "ldap")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
249
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
250 ;; (when-feature energize "energize/energize-load.el")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
251 ;;; formerly in sunpro/sunpro-load.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
252 ;; (when-feature (and mule sparcworks) "mime-setup")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
253
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
254 ;; Moved to Sun package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
255 ;; (when-feature sparcworks "cc-mode") ; Requires cc-mode package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256 ;; (when-feature sparcworks "sunpro-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
257 ;; (when-feature sparcworks "ring")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 ;; (when-feature sparcworks "comint") ; Requires comint package
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259 ;; (when-feature sparcworks "annotations")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261 ;;; formerly in eos/sun-eos-load.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262 ;; (when-feature sparcworks "sun-eos-init")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 ;; (when-feature sparcworks "sun-eos-common")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 ;; (when-feature sparcworks "sun-eos-editor")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 ;; (when-feature sparcworks "sun-eos-browser")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
266 ;; (when-feature sparcworks "sun-eos-debugger")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 ;; (when-feature sparcworks "sun-eos-debugger-extra")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 ;; (when-feature sparcworks "sun-eos-menubar")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 "loadhist" ; Must be dumped before loaddefs is loaded
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270 "loaddefs" ; <=== autoloads get loaded here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 ))