Mercurial > hg > xemacs-beta
comparison lisp/startup.el @ 1123:37bdd24225ef
[xemacs-hg @ 2002-11-27 07:15:02 by ben]
bug fixes, profiling debugging improvements
configure.in: Check for GCC version and only use -Wpacked in v3.
.cvsignore: Add .idb, .ilk for MS Windows VC++.
cl-macs.el: Document better.
cmdloop.el: Removed.
Remove nonworking breakpoint-on-error now that debug-on-error
works as documented.
help.el: Extract out with-displaying-help-buffer into a more general
mechanism.
lib-complete.el: Support thunks in find-library-source-path.
startup.el: Don't catch errors when noninteractive, because that makes
stack traces from stack-trace-on-error useless.
.cvsignore: Windows shit.
alloc.c: Better redisplay-related assert.
elhash.c: Comment change.
eval.c: Don't generate large warning strings (e.g. backtraces) when they will
be discarded.
Implement debug-on-error as documented -- it will enter the
debugger and crash when an uncaught signal happens noninteractively
and we are --debug.
Better redisplay-related asserts.
frame-msw.c, frame.c, lisp.h, redisplay.c, scrollbar-gtk.c, scrollbar-x.c, signal.c, sysdep.c: Fix up documentation related to QUIT (which CANNOT garbage-collect
under any circumstances), and to redisplay critical sections.
lread.c: Add load-ignore-out-of-date-elc-files,
load-always-display-messages, load-show-full-path-in-messages for
more robust package compilation and debugging.
profile.c: Overhaul profile code. Change format to include call count and be
extensible for further info. Remove call-count-profile-table.
Add set-profiling-info. See related profile.el changes (which
SHOULD ABSOLUTELY be in the core! Get rid of xemacs-devel and
xemacs-base packages *yesterday*!).
author | ben |
---|---|
date | Wed, 27 Nov 2002 07:15:36 +0000 |
parents | 25e260cb7994 |
children | 5636ae1c0234 |
comparison
equal
deleted
inserted
replaced
1122:7abc2b15a990 | 1123:37bdd24225ef |
---|---|
536 (startup-setup-paths-warning)) | 536 (startup-setup-paths-warning)) |
537 | 537 |
538 (startup-load-autoloads) | 538 (startup-load-autoloads) |
539 | 539 |
540 (let (error-data) | 540 (let (error-data) |
541 (condition-case data | 541 ;; if noninteractive, an error will kill us. by catching and |
542 ;; resignalling, we don't accomplish much, but do make it difficult | |
543 ;; to determine where the error really occurred. when interactive, | |
544 ;; however, an error processing the command line does NOT kill us; | |
545 ;; instead, the error handler tries to display an error on the frame. | |
546 ;; In that case, we must make sure that all the remaining initialization | |
547 ;; gets done!!! | |
548 ;; | |
549 ;; #### A better solution in the interactive case is to use | |
550 ;; call-with-condition-handler, which would let us do the rest of | |
551 ;; the initialization AND allow the user to get an accurate backtrace. | |
552 (if (noninteractive) | |
542 (command-line) | 553 (command-line) |
543 ;; catch non-error signals, especially quit | 554 (condition-case data |
544 (t (setq error-data data))) | 555 (command-line) |
556 ;; catch non-error signals, especially quit | |
557 (t (setq error-data data)))) | |
545 ;; Do this again, in case the init file defined more abbreviations. | 558 ;; Do this again, in case the init file defined more abbreviations. |
546 (setq default-directory (abbreviate-file-name default-directory)) | 559 (setq default-directory (abbreviate-file-name default-directory)) |
547 ;; Specify the file for recording all the auto save files of | 560 ;; Specify the file for recording all the auto save files of |
548 ;; this session. This is used by recover-session. | 561 ;; this session. This is used by recover-session. |
549 (if auto-save-list-file-prefix | 562 (if auto-save-list-file-prefix |