In my emacs, i have set (debug-on-error t)
to see the error's stacktrace. It is very helpful but for mundane errors, it becomes annoying...
One such error is,
Debugger entered--Lisp error: (error "Command attempted to use minibuffer while in minibuffer")
read-from-minibuffer("Goto line: " nil nil nil nil ("1"))
Emacs has provided a way to suppress backtrace prints
on such errors using the variable, debug-ignored-errors
. It takes a list of error codes. Say for the error that the variable has no value - the code is '(void-variable)
.
Where do i find the error codes for all the other stacktrace messages?
enable-recursive-minibuffers
tot
. – legoscia Apr 23 '15 at 11:27