[comp.emacs] Better error handling for .emac

liberte@m.cs.uiuc.edu (05/25/89)

/* Written  1:27 pm  May 19, 1989 by Ram-Ashwin@cs.yale.edu in m.cs.uiuc.edu:comp.emacs */
Most Lisp systems (and even some shells) provide a "backtrace"
command that can be invoked after an error has occurred, without
having to "anticipate" the error (i.e., without having to turn on
any flags in advance).  This would take care of Daniel's problem,
and would be very useful in other situations too.

-- Ashwin.
/* End of text from m.cs.uiuc.edu:comp.emacs */


You could set the debugger variable to a function of your creation
that lets one display a backtrace or exit to top level.  But this
would require an action by the user rather than the current default
of exiting to the top ready for the next editing command.
So, set debug-on-error to t to invoke the debugger of your choice.
Alas, there is only one debugger you can currently use.

Dan LaLiberte
uiucdcs!liberte
liberte@cs.uiuc.edu
liberte%a.cs.uiuc.edu@uiucvmd.bitnet