annotate lisp/dumped-lisp.el @ 4981:4aebb0131297

Cleanups/renaming of EXTERNAL_TO_C_STRING and friends -------------------- ChangeLog entries follow: -------------------- modules/ChangeLog addition: 2010-02-05 Ben Wing <ben@xemacs.org> * postgresql/postgresql.c: * postgresql/postgresql.c (CHECK_LIVE_CONNECTION): * postgresql/postgresql.c (Fpq_connectdb): * postgresql/postgresql.c (Fpq_connect_start): * postgresql/postgresql.c (Fpq_lo_import): * postgresql/postgresql.c (Fpq_lo_export): * ldap/eldap.c (Fldap_open): * ldap/eldap.c (Fldap_search_basic): * ldap/eldap.c (Fldap_add): * ldap/eldap.c (Fldap_modify): * ldap/eldap.c (Fldap_delete): * canna/canna_api.c (Fcanna_initialize): * canna/canna_api.c (Fcanna_store_yomi): * canna/canna_api.c (Fcanna_parse): * canna/canna_api.c (Fcanna_henkan_begin): EXTERNAL_TO_C_STRING returns its argument instead of storing it in a parameter, and is renamed to EXTERNAL_TO_ITEXT. Similar things happen to related macros. See entry in src/ChangeLog. More Mule-izing of postgresql.c. Extract out common code between `pq-connectdb' and `pq-connect-start'. Fix places that signal an error string using a formatted string to instead follow the standard and have a fixed reason followed by the particular error message stored as one of the frobs. src/ChangeLog addition: 2010-02-05 Ben Wing <ben@xemacs.org> * console-msw.c (write_string_to_mswindows_debugging_output): * console-msw.c (Fmswindows_message_box): * console-x.c (x_perhaps_init_unseen_key_defaults): * console.c: * database.c (dbm_get): * database.c (dbm_put): * database.c (dbm_remove): * database.c (berkdb_get): * database.c (berkdb_put): * database.c (berkdb_remove): * database.c (Fopen_database): * device-gtk.c (gtk_init_device): * device-msw.c (msprinter_init_device_internal): * device-msw.c (msprinter_default_printer): * device-msw.c (msprinter_init_device): * device-msw.c (sync_printer_with_devmode): * device-msw.c (Fmsprinter_select_settings): * device-x.c (sanity_check_geometry_resource): * device-x.c (Dynarr_add_validified_lisp_string): * device-x.c (x_init_device): * device-x.c (Fx_put_resource): * device-x.c (Fx_valid_keysym_name_p): * device-x.c (Fx_set_font_path): * dialog-msw.c (push_lisp_string_as_unicode): * dialog-msw.c (handle_directory_dialog_box): * dialog-msw.c (handle_file_dialog_box): * dialog-x.c (dbox_descriptor_to_widget_value): * editfns.c (Fformat_time_string): * editfns.c (Fencode_time): * editfns.c (Fset_time_zone_rule): * emacs.c (make_argc_argv): * emacs.c (Fdump_emacs): * emodules.c (emodules_load): * eval.c: * eval.c (maybe_signal_error_1): * event-msw.c (Fdde_alloc_advise_item): * event-msw.c (mswindows_dde_callback): * event-msw.c (mswindows_wnd_proc): * fileio.c (report_error_with_errno): * fileio.c (Fsysnetunam): * fileio.c (Fdo_auto_save): * font-mgr.c (extract_fcapi_string): * font-mgr.c (Ffc_config_app_font_add_file): * font-mgr.c (Ffc_config_app_font_add_dir): * font-mgr.c (Ffc_config_filename): * frame-gtk.c (gtk_set_frame_text_value): * frame-gtk.c (gtk_create_widgets): * frame-msw.c (mswindows_init_frame_1): * frame-msw.c (mswindows_set_title_from_ibyte): * frame-msw.c (msprinter_init_frame_3): * frame-x.c (x_set_frame_text_value): * frame-x.c (x_set_frame_properties): * frame-x.c (start_drag_internal_1): * frame-x.c (x_cde_transfer_callback): * frame-x.c (x_create_widgets): * glyphs-eimage.c (my_jpeg_output_message): * glyphs-eimage.c (jpeg_instantiate): * glyphs-eimage.c (gif_instantiate): * glyphs-eimage.c (png_instantiate): * glyphs-eimage.c (tiff_instantiate): * glyphs-gtk.c (xbm_instantiate_1): * glyphs-gtk.c (gtk_xbm_instantiate): * glyphs-gtk.c (gtk_xpm_instantiate): * glyphs-gtk.c (gtk_xface_instantiate): * glyphs-gtk.c (cursor_font_instantiate): * glyphs-gtk.c (gtk_redisplay_widget): * glyphs-gtk.c (gtk_widget_instantiate_1): * glyphs-gtk.c (gtk_add_tab_item): * glyphs-msw.c (mswindows_xpm_instantiate): * glyphs-msw.c (bmp_instantiate): * glyphs-msw.c (mswindows_resource_instantiate): * glyphs-msw.c (xbm_instantiate_1): * glyphs-msw.c (mswindows_xbm_instantiate): * glyphs-msw.c (mswindows_xface_instantiate): * glyphs-msw.c (mswindows_redisplay_widget): * glyphs-msw.c (mswindows_widget_instantiate): * glyphs-msw.c (add_tree_item): * glyphs-msw.c (add_tab_item): * glyphs-msw.c (mswindows_combo_box_instantiate): * glyphs-msw.c (mswindows_widget_query_string_geometry): * glyphs-x.c (x_locate_pixmap_file): * glyphs-x.c (xbm_instantiate_1): * glyphs-x.c (x_xbm_instantiate): * glyphs-x.c (extract_xpm_color_names): * glyphs-x.c (x_xpm_instantiate): * glyphs-x.c (x_xface_instantiate): * glyphs-x.c (autodetect_instantiate): * glyphs-x.c (safe_XLoadFont): * glyphs-x.c (cursor_font_instantiate): * glyphs-x.c (x_redisplay_widget): * glyphs-x.c (Fchange_subwindow_property): * glyphs-x.c (x_widget_instantiate): * glyphs-x.c (x_tab_control_redisplay): * glyphs.c (pixmap_to_lisp_data): * gui-x.c (menu_separator_style_and_to_external): * gui-x.c (add_accel_and_to_external): * gui-x.c (button_item_to_widget_value): * hpplay.c (player_error_internal): * hpplay.c (play_sound_file): * hpplay.c (play_sound_data): * intl.c (Fset_current_locale): * lisp.h: * menubar-gtk.c (gtk_xemacs_set_accel_keys): * menubar-msw.c (populate_menu_add_item): * menubar-msw.c (populate_or_checksum_helper): * menubar-x.c (menu_item_descriptor_to_widget_value_1): * nt.c (init_user_info): * nt.c (get_long_basename): * nt.c (nt_get_resource): * nt.c (init_mswindows_environment): * nt.c (get_cached_volume_information): * nt.c (mswindows_readdir): * nt.c (read_unc_volume): * nt.c (mswindows_stat): * nt.c (mswindows_getdcwd): * nt.c (mswindows_executable_type): * nt.c (Fmswindows_short_file_name): * ntplay.c (nt_play_sound_file): * objects-gtk.c: * objects-gtk.c (gtk_valid_color_name_p): * objects-gtk.c (gtk_initialize_font_instance): * objects-gtk.c (gtk_font_list): * objects-msw.c (font_enum_callback_2): * objects-msw.c (parse_font_spec): * objects-x.c (x_parse_nearest_color): * objects-x.c (x_valid_color_name_p): * objects-x.c (x_initialize_font_instance): * objects-x.c (x_font_instance_truename): * objects-x.c (x_font_list): * objects-xlike-inc.c (XFUN): * objects-xlike-inc.c (xft_find_charset_font): * process-nt.c (mswindows_report_winsock_error): * process-nt.c (nt_create_process): * process-nt.c (get_internet_address): * process-nt.c (nt_open_network_stream): * process-unix.c: * process-unix.c (allocate_pty): * process-unix.c (get_internet_address): * process-unix.c (unix_canonicalize_host_name): * process-unix.c (unix_open_network_stream): * realpath.c: * select-common.h (lisp_data_to_selection_data): * select-gtk.c (symbol_to_gtk_atom): * select-gtk.c (atom_to_symbol): * select-msw.c (symbol_to_ms_cf): * select-msw.c (mswindows_register_selection_data_type): * select-x.c (symbol_to_x_atom): * select-x.c (x_atom_to_symbol): * select-x.c (hack_motif_clipboard_selection): * select-x.c (Fx_store_cutbuffer_internal): * sound.c (Fplay_sound_file): * sound.c (Fplay_sound): * sound.h (sound_perror): * sysdep.c: * sysdep.c (qxe_allocating_getcwd): * sysdep.c (qxe_execve): * sysdep.c (copy_in_passwd): * sysdep.c (qxe_getpwnam): * sysdep.c (qxe_ctime): * sysdll.c (dll_open): * sysdll.c (dll_function): * sysdll.c (dll_variable): * sysdll.c (search_linked_libs): * sysdll.c (dll_error): * sysfile.h: * sysfile.h (PATHNAME_CONVERT_OUT_TSTR): * sysfile.h (PATHNAME_CONVERT_OUT_UTF_8): * sysfile.h (PATHNAME_CONVERT_OUT): * sysfile.h (LISP_PATHNAME_CONVERT_OUT): * syswindows.h (ITEXT_TO_TSTR): * syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR): * syswindows.h (TSTR_TO_LOCAL_FILE_FORMAT): * syswindows.h (LOCAL_FILE_FORMAT_TO_INTERNAL_MSWIN): * syswindows.h (LISP_LOCAL_FILE_FORMAT_MAYBE_URL_TO_TSTR): * text.h: * text.h (eicpy_ext_len): * text.h (enum new_dfc_src_type): * text.h (EXTERNAL_TO_ITEXT): * text.h (GET_STRERROR): * tooltalk.c (check_status): * tooltalk.c (Fadd_tooltalk_message_arg): * tooltalk.c (Fadd_tooltalk_pattern_attribute): * tooltalk.c (Fadd_tooltalk_pattern_arg): * win32.c (tstr_to_local_file_format): * win32.c (mswindows_lisp_error_1): * win32.c (mswindows_report_process_error): * win32.c (Fmswindows_shell_execute): * win32.c (mswindows_read_link_1): Changes involving external/internal format conversion, mostly code cleanup and renaming. 1. Eliminate the previous macros like LISP_STRING_TO_EXTERNAL that stored its result in a parameter. The new version of LISP_STRING_TO_EXTERNAL returns its result through the return value, same as the previous NEW_LISP_STRING_TO_EXTERNAL. Use the new-style macros throughout the code. 2. Rename C_STRING_TO_EXTERNAL and friends to ITEXT_TO_EXTERNAL, in keeping with overall naming rationalization involving Itext and related types. Macros involved in previous two: EXTERNAL_TO_C_STRING -> EXTERNAL_TO_ITEXT EXTERNAL_TO_C_STRING_MALLOC -> EXTERNAL_TO_ITEXT_MALLOC SIZED_EXTERNAL_TO_C_STRING -> SIZED_EXTERNAL_TO_ITEXT SIZED_EXTERNAL_TO_C_STRING_MALLOC -> SIZED_EXTERNAL_TO_ITEXT_MALLOC C_STRING_TO_EXTERNAL -> ITEXT_TO_EXTERNAL C_STRING_TO_EXTERNAL_MALLOC -> ITEXT_TO_EXTERNAL_MALLOC LISP_STRING_TO_EXTERNAL LISP_STRING_TO_EXTERNAL_MALLOC LISP_STRING_TO_TSTR C_STRING_TO_TSTR -> ITEXT_TO_TSTR TSTR_TO_C_STRING -> TSTR_TO_ITEXT The following four still return their values through parameters, since they have more than one value to return: C_STRING_TO_SIZED_EXTERNAL -> ITEXT_TO_SIZED_EXTERNAL LISP_STRING_TO_SIZED_EXTERNAL C_STRING_TO_SIZED_EXTERNAL_MALLOC -> ITEXT_TO_SIZED_EXTERNAL_MALLOC LISP_STRING_TO_SIZED_EXTERNAL_MALLOC Sometimes additional casts had to be inserted, since the old macros played strange games and completely defeated the type system of the store params. 3. Rewrite many places where direct calls to TO_EXTERNAL_FORMAT occurred with calls to one of the convenience macros listed above, or to make_extstring(). 4. Eliminate SIZED_C_STRING macros (they were hardly used, anyway) and use a direct call to TO_EXTERNAL_FORMAT or TO_INTERNAL_FORMAT. 4. Use LISP_PATHNAME_CONVERT_OUT in many places instead of something like LISP_STRING_TO_EXTERNAL(..., Qfile_name). 5. Eliminate some temporary variables that are no longer necessary now that we return a value rather than storing it into a variable. 6. Some Mule-izing in database.c. 7. Error functions: -- A bit of code cleanup in maybe_signal_error_1. -- Eliminate report_file_type_error; it's just an alias for signal_error_2 with params in a different order. -- Fix some places in the hostname-handling code that directly inserted externally-retrieved error strings into the supposed ASCII "reason" param instead of doing the right thing and sticking text descriptive of what was going on in "reason" and putting the external message in a frob. 8. Use Ascbyte instead of CIbyte in process-unix.c and maybe one or two other places. 9. Some code cleanup in copy_in_passwd() in sysdep.c. 10. Fix a real bug due to accidental variable shadowing in tstr_to_local_file_format() in win32.c.
author Ben Wing <ben@xemacs.org>
date Fri, 05 Feb 2010 11:02:24 -0600
parents bd28481bb0e1
children c673987f5f3d 8b2f75cecb89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1330
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
1 (defvar packages-hardcoded-lisp
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
2 '(
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
3 ;; Nothing at this time
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
4 )
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
5 "Lisp packages that are always dumped with XEmacs.
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
6 This includes every package that is loaded directly by a package listed
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
7 in dumped-lisp.el and is not itself listed.")
4542b72c005e [xemacs-hg @ 2003-03-01 07:25:26 by ben]
ben
parents: 1315
diff changeset
8
2367
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
9
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
10 ;; WARNING WARNING WARNING: None of the files below, until where it says
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
11 ;; "All files after this can have extended characters in them", can have
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
12 ;; extended (non-ASCII characters) of any sort in them! Unfortunately, you
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
13 ;; will not get any error at load-time; however, you may get a later very
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
14 ;; cryptic error "Invalid opcode"! This is caused by the byte-code data
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
15 ;; being encoded as escape-quoted, when we can't handle that yet.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
16 ;;
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
17 ;; #### We should resurrect the check for the coding-system magic cookie in
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
18 ;; fileio.c and put in an abort if we are not able to handle it yet.
ecf1ebac70d8 [xemacs-hg @ 2004-11-04 23:05:23 by ben]
ben
parents: 1333
diff changeset
19
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 (setq preloaded-file-list
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
21 (list
1333
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
22 ;; do not defcustom any variables in these files
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
23
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
24 "backquote" ; needed for defsubst etc.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
25 "bytecomp-runtime" ; define defsubst
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
26 "find-paths"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
27 "packages" ; Bootstrap run-time lisp environment
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
28 "setup-paths"
1333
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
29
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
30 ;; use custom-declare-variable-early, not defcustom, in these files
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
31
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
32 "subr" ; load the most basic Lisp functions
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
33 "post-gc"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
34 "replace" ; match-string used in version.el.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
35
4246
9fec7fedbf1b [xemacs-hg @ 2007-10-31 11:21:02 by aidan]
aidan
parents: 4072
diff changeset
36 "version"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
37
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
38 "cl"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
39 "cl-extra"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
40 "cl-seq"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
41 "widget"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
42 "custom" ; Before the world so everything can be
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
43 ; customized
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
44 "cus-start" ; for customization of builtin variables
1333
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
45
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
46 ;; OK, you can use defcustom from here on
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
47
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
48 "cmdloop"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
49 "keymap"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
50 "syntax"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
51 "device"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
52 "console"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
53 "obsolete"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
54 "specifier"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
55 "frame" ; needed by faces
3094
ad2f4ae9895b [xemacs-hg @ 2005-11-26 11:45:47 by stephent]
stephent
parents: 2973
diff changeset
56 ;; #### this should be (featurep 'xft)
3354
15fb91e3a115 [xemacs-hg @ 2006-04-23 16:11:16 by stephent]
stephent
parents: 3094
diff changeset
57 (when (featurep 'xft-fonts) "fontconfig") ; needed by x-faces
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
58 (when (featurep 'x) "x-faces") ; needed by faces
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
59 (when (featurep 'gtk) "gtk-faces")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
60 (when (valid-console-type-p 'mswindows) "msw-faces")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
61 "faces" ; must be loaded before any make-face call
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
62 ;;(pureload "facemenu") #### not yet ported
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
63 "glyphs"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
64 "objects"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
65 "extents"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
66 "events"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
67 "hash-table"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
68 "text-props"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
69 "process" ;; This is bad. network-streams may not be defined.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
70 (when (featurep 'multicast) "multicast") ; #+network-streams implicitly true
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
71 "map-ynp"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
72 "undo-stack"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
73 "window" ; simple needs `save-window-excursion'
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
74 "window-xemacs"
3932
c585f0c06591 [xemacs-hg @ 2007-04-30 19:50:53 by stephent]
stephent
parents: 3767
diff changeset
75 "resize-minibuffer" ; simple needs `resize-minibuffer-mode'
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
76 "simple"
1333
1b0339b048ce [xemacs-hg @ 2003-03-02 09:38:37 by ben]
ben
parents: 1330
diff changeset
77 "newcomment"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
78 "keydefs" ; Before loaddefs so that keymap vars exist.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
79 "abbrev"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
80 "derived"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
81 "minibuf"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
82 "list-mode"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
83 "modeline" ; needs simple.el to be loaded first
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 ;; If SparcWorks support is included some additional packages are
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 ;; dumped which would normally have autoloads. To avoid
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86 ;; duplicate doc string warnings, SparcWorks uses a separate
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
87 ;; autoloads file with the dumped packages removed.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 ;; After fixing, eos/loaddefs-eos and loaddefs appear identical?!!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
89 ;; So just make loaddefs-eos go away...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
90 ;;(pureload (if (featurep 'sparcworks) "eos/loaddefs-eos" "loaddefs"))
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
91 "cus-file"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
92 "startup" ; For initialization of
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
93 ; `emacs-user-extension-dir'
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
94 "misc"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
95 ;; (pureload "profile")
3368
959746c534f6 [xemacs-hg @ 2006-04-29 16:15:21 by aidan]
aidan
parents: 3354
diff changeset
96 "loadhist" ; Must be dumped before loaddefs is loaded
959746c534f6 [xemacs-hg @ 2006-04-29 16:15:21 by aidan]
aidan
parents: 3354
diff changeset
97 ; Used by help.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
98 ;; (pureload "hyper-apropos") Soon...
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
99 "files"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
100 "lib-complete"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
101 "format"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
102 "indent"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
103 "isearch-mode"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
104 "buffer"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
105 "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
106 "paths"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
107 "lisp"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
108 "page"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
109 "register"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
110 "iso8859-1" ; This must be before any modes
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
111 ; (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
112 "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
113 "help"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
114 "easymenu" ; Added for 20.3.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
115 "lisp-mode"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
116 "text-mode"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
117 "fill"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
118 "auto-save" ; Added for 20.4
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
119 "movemail" ; Added for 21.2
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
120 (when (eq system-type 'windows-nt) "win32-native")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
121 (when (featurep 'lisp-float-type) "float-sup")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
122 "itimer" ; for vars auto-save-timeout and
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
123 ; auto-gc-threshold
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
124 "itimer-autosave"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
125 "printer"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
126 "behavior"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
127 "behavior-defs"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
128 "diagnose"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
129
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
130 ;;;;;;;;;;;;;;;;;; GUI support
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
131 (when (featurep 'window-system)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
132 '("gui"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
133 "mouse"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
134 "mode-motion"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
135 ))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
136 (when (featurep 'toolbar) "toolbar")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
137 (when (featurep 'scrollbar) "scrollbar")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
138 (when (featurep 'menubar) "menubar")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
139 (when (featurep 'dialog) "dialog")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
140 (when (featurep 'gutter) "gutter")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
141 (when (featurep 'dragdrop-api) "dragdrop")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
142 "select"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
143
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
144 ;;;;;;;;;;;;;;;;;; Content for GUI's
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
145 ;; There used to be window-system inserted in the when-feature,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
146 ;; but IMHO your configure script should turn off the menubar,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
147 ;; toolbar, etc. features when there is no window system. We
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
148 ;; should just be able to assume that, if (featurep 'menubar),
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
149 ;; the menubar should work and if items are added, they can be
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
150 ;; seen clearly and usefully.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
151 (when (featurep '(and (not infodock) menubar)) "menubar-items")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
152 (when (featurep '(and gutter)) "gutter-items")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
153 (when (featurep '(and (not infodock) toolbar)) "toolbar-items")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
154 (when (featurep '(and (not infodock) dialog)) "dialog-items")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
155
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
156 ;;;;;;;;;;;;;;;;;; Coding-system support
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
157 "coding"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
158 "code-files"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
159 ;; Handle process with encoding/decoding coding-system.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
160 "code-process"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
161 ;; Provide basic commands to set coding systems to user
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
162 "code-cmds"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
163 "unicode"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
164 ;;;;;;;;;;;;;;;;;; MULE support
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
165 (when (featurep 'mule)
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
166 '("mule/mule-charset"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
167 "mule/mule-cmds" ; to sync with Emacs 20.1
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
168 "mule/mule-coding"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
169 "mule/mule-composite-stub"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
170 "mule/mule-composite"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
171 ))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
172 ;; may initialize coding systems
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
173 (when (featurep '(and mule x)) "mule/mule-x-init")
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
174 (when (featurep '(and mule tty)) "mule/mule-tty-init")
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
175 (when (and (featurep 'mule) (memq system-type '(windows-nt cygwin32)))
2474
a43cb0f95540 [xemacs-hg @ 2005-01-09 14:22:08 by adrian]
adrian
parents: 2465
diff changeset
176 "mule/mule-win32-init")
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
177 "code-init" ; set up defaults
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
178 ;; All files after this can have extended characters in them.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
179 (when (featurep 'mule)
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
180 '("mule/mule-category"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
181 "mule/kinsoku"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
182 ))
428
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 ;; after this goes the specific lisp routines for a particular input system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 ;; 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
186 ;; or user switching of input systems???
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 ;(if (featurep 'wnn)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 ; (progn
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 ; (pureload "egg")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 ; (pureload "egg-wnn")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 ; (setq egg-default-startup-file "eggrc-wnn")))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 ;; (if (and (boundp 'CANNA) CANNA)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 ;; (pureload "canna")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 ;; )
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
197 ;; 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
198 ;; 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
199 ;; 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
200 ;; compile with -no-packages.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
202 (when (featurep 'mule)
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
203 '("mule/arabic"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
204 "mule/chinese"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
205 "mule/cyrillic"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
206 "mule/english"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
207 "mule/ethiopic"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
208 "mule/greek"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
209 "mule/hebrew"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
210 "mule/indian"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
211 "mule/devanagari" ; must be loaded after indian.el
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
212 "mule/japanese"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
213 "mule/korean"
4072
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3932
diff changeset
214 "mule/lao" ; sucks.
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
215 "mule/latin"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
216 "mule/misc-lang"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
217 ;; "thai" #### merge thai and thai-xtis!!!
4072
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3932
diff changeset
218 ;; #### Even better; take out thai-xtis! It's not even a
aa28d959af41 [xemacs-hg @ 2007-07-22 22:03:29 by aidan]
aidan
parents: 3932
diff changeset
219 ;; standard, and no-one uses it.
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
220 "mule/thai-xtis"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
221 "mule/tibetan"
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
222 "mule/vietnamese"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
223 ))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
224
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 ;; Specialized language support
2973
414a64af46c9 [xemacs-hg @ 2005-10-04 17:51:13 by stephent]
stephent
parents: 2828
diff changeset
226 (when (featurep 'mule) "mule/canna-leim")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
227 ;; 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
228 ;; language-specific files.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
229 (when (and (featurep 'mule) (valid-console-type-p 'mswindows))
2465
afab4c317508 [xemacs-hg @ 2005-01-03 10:29:11 by michaels]
michaels
parents: 2367
diff changeset
230 "mule/mule-msw-init-late")
780
578cb2932d72 [xemacs-hg @ 2002-03-18 10:07:30 by ben]
ben
parents: 778
diff changeset
231
3707
f6f6fc9eb269 [xemacs-hg @ 2006-11-28 21:20:22 by aidan]
aidan
parents: 3368
diff changeset
232 (when (featurep 'mule)
f6f6fc9eb269 [xemacs-hg @ 2006-11-28 21:20:22 by aidan]
aidan
parents: 3368
diff changeset
233 "mule/general-late")
f6f6fc9eb269 [xemacs-hg @ 2006-11-28 21:20:22 by aidan]
aidan
parents: 3368
diff changeset
234
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 ;;; mule-load.el ends here
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
236
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
237 ;; preload InfoDock stuff. should almost certainly not be here if
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
238 ;; 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
239 ;; 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
240 ;; others to control this programmatically.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
241 (when (featurep '(and infodock (or x mswindows gtk) menubar))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
242 "id-menus")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
243 ;; preload the X code.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
244 (when (featurep '(and x scrollbar)) "x-scrollbar")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
245 (when (featurep 'x)
2828
a25c824ed558 [xemacs-hg @ 2005-06-26 18:04:49 by aidan]
aidan
parents: 2579
diff changeset
246 '("x-mouse"
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
247 "x-select"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
248 "x-misc"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
249 "x-init"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
250 "x-win-xfree86"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
251 "x-win-sun"))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
252 ;; preload the GTK code
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
253 (when (featurep 'gtk)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
254 '("gtk-ffi"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
255 "gtk-widgets"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
256 "gdk"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
257 "gtk-init"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
258 "gtk-select"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
259 "gtk-mouse"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
260 "gtk-glyphs"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
261 "widgets-gtk"))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
262 (when (featurep '(and gtk dialog)) "dialog-gtk")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
263 (when (featurep 'glade) "glade")
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
264
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 ;; preload the mswindows code.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
266 (when (valid-console-type-p 'mswindows)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
267 '("msw-glyphs"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
268 "msw-mouse"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
269 "msw-init"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
270 "msw-select"))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 ;; preload the TTY init code.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
272 (when (featurep 'tty) "tty-init")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273 ;;; Formerly in tooltalk/tooltalk-load.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 ;; Moved to tooltalk package
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
275 ;; (when (featurep 'tooltalk)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
276 ;; '("tooltalk-macros" "tooltalk-util" "tooltalk-init"))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 ;; "vc-hooks" ; Packaged. Available in two versions.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 ;; "ediff-hook" ; Packaged.
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
279 "fontl-hooks"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
280 "auto-show"
2579
1fc205405d85 [xemacs-hg @ 2005-02-10 03:26:14 by ben]
ben
parents: 2558
diff changeset
281 "paragraphs" ; needs easy-mmode, coding
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
282 (when (featurep 'ldap) "ldap")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
284 ;; (when (featurep 'energize) "energize/energize-load.el")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 ;;; formerly in sunpro/sunpro-load.el
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
286 ;; (when (featurep '(and mule sparcworks)) "mime-setup")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288 ;; Moved to Sun package
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
289 ;; (when (featurep 'sparcworks)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
290 ;; '("cc-mode" ; Requires cc-mode package
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
291 ;; "sunpro-init"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
292 ;; "ring"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
293 ;; "comint" ; Requires comint package
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
294 ;; "annotations"))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296 ;;; formerly in eos/sun-eos-load.el
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
297 ;; (when (featurep 'sparcworks)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
298 ;; '("sun-eos-init"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
299 ;; "sun-eos-common"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
300 ;; "sun-eos-editor"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
301 ;; "sun-eos-browser"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
302 ;; "sun-eos-debugger"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
303 ;; "sun-eos-debugger-extra"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
304 ;; "sun-eos-menubar"))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
305 "loaddefs" ; <=== autoloads get loaded here
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
306 ))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
307
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
308 (setq preloaded-file-list
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
309 (apply #'nconc
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
310 (mapcar #'(lambda (x)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
311 (if (listp x) x (list x)))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents: 1133
diff changeset
312 preloaded-file-list)))