home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3961 < prev    next >
Encoding:
Text File  |  1992-09-02  |  2.2 KB  |  56 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!destroyer!ncar!csn!news.den.mmc.com!traffic!kevin
  3. From: kevin@traffic.den.mmc.com (Kevin Rodgers)
  4. Subject: Re: another .emacs problem
  5. Message-ID: <1992Sep2.154319.15711@den.mmc.com>
  6. Sender: news@den.mmc.com (News)
  7. Nntp-Posting-Host: traffic.den.mmc.com
  8. Organization: Martin Marietta Western Internal Systems, Technical Operations
  9. References: <1992Sep1.182617.15356@engage.pko.dec.com> <1992Sep1.195517.18971@ncar.ucar.edu>
  10. Distribution: usa
  11. Date: Wed, 2 Sep 1992 15:43:19 GMT
  12. Lines: 42
  13.  
  14. In article <1992Sep1.195517.18971@ncar.ucar.edu> southern@ncar.ucar.edu writes:
  15. >I don't know what's biting you, but an invaluable emacs debugging
  16. >function that might pinpoint it is available by setting:
  17. >
  18. >(setq stack-trace-on-error t)         ; Trace errors in other window
  19.  
  20. Set debug-on-error instead.  From the (elisp)'Internals of Debugger'
  21. info node:
  22.  
  23. | * User Option: stack-trace-on-error
  24. |
  25. |     ...
  26. |
  27. |     We consider this feature to be obsolete and superseded by the
  28. |     debugger itself.
  29.  
  30. And from the (elisp)'Error Debugging' info node:
  31.  
  32. |Entering the Debugger When an Error Occurs
  33. |------------------------------------------
  34. |
  35. |   The most important time to enter the debugger is when a Lisp error
  36. |happens.  This allows you to investigate the immediate causes of the
  37. |error.
  38. |
  39. |   However, entry to the debugger is not a normal consequence of an
  40. |error.  Many commands frequently get Lisp errors when invoked in
  41. |inappropriate contexts (such as `C-f' at the end of the buffer) and
  42. |during ordinary editing it would be very unpleasant to enter the
  43. |debugger each time this happens.  If you want errors to enter the
  44. |debugger, set the variable `debug-on-error' to non-`nil'.
  45. |
  46. | * User Option: debug-on-error
  47. |     This variable determines whether the debugger is called when a
  48. |     error is signaled and not handled.  If `debug-on-error' is
  49. |     non-`nil', then the debugger is called when an error happens. 
  50. |     Otherwise the debugger is not called for errors.
  51. -- 
  52. Kevin Rodgers                kevin@traffic.den.mmc.com
  53. Martin Marietta MS A16401        (303) 790-3971
  54. 116 Inverness Dr. East
  55. Englewood CO 80112 USA            GO BUFFS!
  56.