Subject: bug#180: GNU Emacs Lisp

From: Chong Yidong <[email-masked]>
Date: Fri, 02 May 2008 11:17:03 -0400

> I see that when running a program in GNU Emacs Lisp
> that errors in the message area below the mode-line but
> without a line-number corresponding to the line of the
> error in the source code being run.
>
> So, without the line number, it is hunt-and-peck, much
> harder to find the section of code with the problem. Is there
> a way to locate the erring S-expression more quickly?

Set debug-on-error to t, and you will get a backtrace, which can be used
to jump to the function that signalled the error (as well as the
functions that called it).