1

If I modify the dotemacs file, it may introduce an error. Without --debug-init option, emacs does not invoke debugger on error while processing dotemacs. Because I modify dotemacs often, I edited my Emacs shortcut (on MS Windows) to include the --debug-init option in the shortcut. Is there any downside to this? If not, why is this option an opt-in instead of an opt-out?

1 Answer 1

1

The manual explains this nicely:

entry to the debugger is not a normal consequence of an error. Many commands signal Lisp errors when invoked inappropriately, and during ordinary editing it would be very inconvenient to enter the debugger each time this happens.

I think the key point is that errors are not normal when just using emacs. You'll probably only enable debugging when you've broken your config, are developing emacs lisp code, or when when you've found a bug in someone else's code that you want to help debug.

1
  • I think you mean "errors are normal when just using emacs"
    – Qsigma
    Oct 1, 2019 at 10:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .