Mercurial > hg > xemacs-beta
comparison src/emacs.c @ 563:183866b06e0b
[xemacs-hg @ 2001-05-24 07:50:48 by ben]
Makefile.in.in, abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, casetab.c, chartab.c, cmdloop.c, cmds.c, console-msw.c, console-msw.h, console-stream.c, console-tty.c, console-x.c, console.c, data.c, database.c, debug.c, device-gtk.c, device-msw.c, device-tty.c, device-x.c, device.c, dialog-gtk.c, dialog-msw.c, dialog-x.c, dialog.c, dired-msw.c, dired.c, doc.c, doprnt.c, dragdrop.c, editfns.c, eldap.c, eldap.h, elhash.c, emacs-widget-accessors.c, emacs.c, emodules.c, esd.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, events.c, extents.c, faces.c, file-coding.c, fileio.c, filelock.c, floatfns.c, fns.c, font-lock.c, frame-gtk.c, frame-x.c, frame.c, general-slots.h, glade.c, glyphs-gtk.c, glyphs-msw.c, glyphs-widget.c, glyphs-x.c, glyphs.c, glyphs.h, gpmevent.c, gui-gtk.c, gui-x.c, gui.c, gutter.c, hpplay.c, indent.c, input-method-xlib.c, insdel.c, intl.c, keymap.c, libsst.c, libsst.h, linuxplay.c, lisp.h, lread.c, lstream.c, lstream.h, macros.c, marker.c, md5.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, menubar.c, minibuf.c, miscplay.c, miscplay.h, mule-ccl.c, mule-charset.c, mule-wnnfns.c, mule.c, nas.c, ntplay.c, ntproc.c, objects-gtk.c, objects-msw.c, objects-x.c, objects.c, postgresql.c, print.c, process-nt.c, process-unix.c, process.c, ralloc.c, rangetab.c, redisplay.c, scrollbar.c, search.c, select-gtk.c, select-x.c, select.c, sgiplay.c, sheap.c, sound.c, specifier.c, sunplay.c, symbols.c, symeval.h, symsinit.h, syntax.c, sysdep.c, toolbar-msw.c, toolbar.c, tooltalk.c, ui-byhand.c, ui-gtk.c, undo.c, unexaix.c, unexapollo.c, unexconvex.c, unexec.c, widget.c, win32.c, window.c:
-- defsymbol -> DEFSYMBOL.
-- add an error type to all errors.
-- eliminate the error functions in eval.c that let you just
use Qerror as the type.
-- redo the error API to be more consistent, sensibly named,
and easier to use.
-- redo the error hierarchy somewhat. create new errors:
structure-formation-error, gui-error, invalid-constant,
stack-overflow, out-of-memory, process-error, network-error,
sound-error, printing-unreadable-object, base64-conversion-
error; coding-system-error renamed to text-conversion error;
some others.
-- fix Mule problems in error strings in emodules.c, tooltalk.c.
-- fix error handling in mswin open-network-stream.
-- Mule-ize all sound files and clean up the headers.
-- nativesound.h -> sound.h and used for all sound files.
-- move some shared stuff into glyphs-shared.c: first attempt
at eliminating some of the massive GTK code duplication.
xemacs.mak: add glyphs-shared.c.
xemacs-faq.texi: document how to debug X errors
subr.el: fix doc string to reflect reality
author | ben |
---|---|
date | Thu, 24 May 2001 07:51:33 +0000 |
parents | ed498ef2108b |
children | 023b83f4e54b |
comparison
equal
deleted
inserted
replaced
562:c775bd016b32 | 563:183866b06e0b |
---|---|
1235 INIT_LRECORD_IMPLEMENTATION() | 1235 INIT_LRECORD_IMPLEMENTATION() |
1236 defsymbol(), DEFSYMBOL(), or DEFSYMBOL_MULTIWORD_PREDICATE() | 1236 defsymbol(), DEFSYMBOL(), or DEFSYMBOL_MULTIWORD_PREDICATE() |
1237 defsubr() (i.e. DEFSUBR) | 1237 defsubr() (i.e. DEFSUBR) |
1238 deferror(), DEFERROR(), or DEFERROR_STANDARD() | 1238 deferror(), DEFERROR(), or DEFERROR_STANDARD() |
1239 defkeyword() or DEFKEYWORD() | 1239 defkeyword() or DEFKEYWORD() |
1240 Fput() | |
1240 | 1241 |
1241 Order does not matter in these functions. | 1242 Order does not matter in these functions. |
1242 */ | 1243 */ |
1243 | 1244 |
1244 syms_of_abbrev (); | 1245 syms_of_abbrev (); |
1290 syms_of_font_lock (); | 1291 syms_of_font_lock (); |
1291 syms_of_frame (); | 1292 syms_of_frame (); |
1292 syms_of_general (); | 1293 syms_of_general (); |
1293 syms_of_glyphs (); | 1294 syms_of_glyphs (); |
1294 syms_of_glyphs_eimage (); | 1295 syms_of_glyphs_eimage (); |
1296 syms_of_glyphs_shared (); | |
1295 syms_of_glyphs_widget (); | 1297 syms_of_glyphs_widget (); |
1296 syms_of_gui (); | 1298 syms_of_gui (); |
1297 syms_of_gutter (); | 1299 syms_of_gutter (); |
1298 syms_of_indent (); | 1300 syms_of_indent (); |
1299 syms_of_intl (); | 1301 syms_of_intl (); |
2596 int *wampum_all_len = alloca_array (int, nargs); | 2598 int *wampum_all_len = alloca_array (int, nargs); |
2597 | 2599 |
2598 assert (!gc_in_progress); | 2600 assert (!gc_in_progress); |
2599 | 2601 |
2600 if (run_temacs_argc < 0) | 2602 if (run_temacs_argc < 0) |
2601 error ("I've lost my temacs-hood."); | 2603 invalid_operation ("I've lost my temacs-hood.", Qunbound); |
2602 | 2604 |
2603 /* Need to convert the orig_invoc_name and all of the arguments | 2605 /* Need to convert the orig_invoc_name and all of the arguments |
2604 to external format. */ | 2606 to external format. */ |
2605 | 2607 |
2606 TO_EXTERNAL_FORMAT (LISP_STRING, orig_invoc_name, | 2608 TO_EXTERNAL_FORMAT (LISP_STRING, orig_invoc_name, |
3211 { | 3213 { |
3212 CHECK_STRING (path); | 3214 CHECK_STRING (path); |
3213 | 3215 |
3214 while (!STRINGP (Vpath_separator) | 3216 while (!STRINGP (Vpath_separator) |
3215 || (XSTRING_CHAR_LENGTH (Vpath_separator) != 1)) | 3217 || (XSTRING_CHAR_LENGTH (Vpath_separator) != 1)) |
3216 Vpath_separator = signal_simple_continuable_error | 3218 Vpath_separator = signal_continuable_error |
3217 ("`path-separator' should be set to a single-character string", | 3219 (Qinvalid_state, |
3220 "`path-separator' should be set to a single-character string", | |
3218 Vpath_separator); | 3221 Vpath_separator); |
3219 | 3222 |
3220 return (split_string_by_emchar_1 | 3223 return (split_string_by_emchar_1 |
3221 (XSTRING_DATA (path), XSTRING_LENGTH (path), | 3224 (XSTRING_DATA (path), XSTRING_LENGTH (path), |
3222 charptr_emchar (XSTRING_DATA (Vpath_separator)))); | 3225 charptr_emchar (XSTRING_DATA (Vpath_separator)))); |
3387 #endif /* QUANTIFY */ | 3390 #endif /* QUANTIFY */ |
3388 | 3391 |
3389 DEFSUBR (Fsplit_string_by_char); | 3392 DEFSUBR (Fsplit_string_by_char); |
3390 DEFSUBR (Fsplit_path); /* #### */ | 3393 DEFSUBR (Fsplit_path); /* #### */ |
3391 | 3394 |
3392 defsymbol (&Qkill_emacs_hook, "kill-emacs-hook"); | 3395 DEFSYMBOL (Qkill_emacs_hook); |
3393 defsymbol (&Qsave_buffers_kill_emacs, "save-buffers-kill-emacs"); | 3396 DEFSYMBOL (Qsave_buffers_kill_emacs); |
3394 } | 3397 } |
3395 | 3398 |
3396 void | 3399 void |
3397 vars_of_emacs (void) | 3400 vars_of_emacs (void) |
3398 { | 3401 { |