Bob Weiner <weiner(a)altrasoft.com> writes:
A second suggestion that we have long been following with good
results in our own software is to embed the name of the function
that signals an error within the error message, since often users
will get errors like the one above but will not have a stack trace
available. This allows them to report the error and pinpoint the
location of its generation for quicker debugging. We use errors of
the following form:
(error "(function-name): error message")
I consider this unnecessary. The user can find the name of the
function using `debug-on-error'. In the case of Emacs exiting without
printing a proper backtrace, I consider it a bug that needs to be
fixed.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.