Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.