home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!destroyer!ncar!csn!news.den.mmc.com!traffic!kevin
- From: kevin@traffic.den.mmc.com (Kevin Rodgers)
- Subject: Re: another .emacs problem
- Message-ID: <1992Sep2.154319.15711@den.mmc.com>
- Sender: news@den.mmc.com (News)
- Nntp-Posting-Host: traffic.den.mmc.com
- Organization: Martin Marietta Western Internal Systems, Technical Operations
- References: <1992Sep1.182617.15356@engage.pko.dec.com> <1992Sep1.195517.18971@ncar.ucar.edu>
- Distribution: usa
- Date: Wed, 2 Sep 1992 15:43:19 GMT
- Lines: 42
-
- In article <1992Sep1.195517.18971@ncar.ucar.edu> southern@ncar.ucar.edu writes:
- >I don't know what's biting you, but an invaluable emacs debugging
- >function that might pinpoint it is available by setting:
- >
- >(setq stack-trace-on-error t) ; Trace errors in other window
-
- Set debug-on-error instead. From the (elisp)'Internals of Debugger'
- info node:
-
- | * User Option: stack-trace-on-error
- |
- | ...
- |
- | We consider this feature to be obsolete and superseded by the
- | debugger itself.
-
- And from the (elisp)'Error Debugging' info node:
-
- |Entering the Debugger When an Error Occurs
- |------------------------------------------
- |
- | The most important time to enter the debugger is when a Lisp error
- |happens. This allows you to investigate the immediate causes of the
- |error.
- |
- | However, entry to the debugger is not a normal consequence of an
- |error. Many commands frequently get Lisp errors when invoked in
- |inappropriate contexts (such as `C-f' at the end of the buffer) and
- |during ordinary editing it would be very unpleasant to enter the
- |debugger each time this happens. If you want errors to enter the
- |debugger, set the variable `debug-on-error' to non-`nil'.
- |
- | * User Option: debug-on-error
- | This variable determines whether the debugger is called when a
- | error is signaled and not handled. If `debug-on-error' is
- | non-`nil', then the debugger is called when an error happens.
- | Otherwise the debugger is not called for errors.
- --
- Kevin Rodgers kevin@traffic.den.mmc.com
- Martin Marietta MS A16401 (303) 790-3971
- 116 Inverness Dr. East
- Englewood CO 80112 USA GO BUFFS!
-