all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Improving representation of EIEIO objects in backtraces/error messages
@ 2016-12-29 19:02 Eric Abrahamsen
  2016-12-29 20:32 ` Eli Zaretskii
  2016-12-31 19:48 ` Eric Ludlam
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Abrahamsen @ 2016-12-29 19:02 UTC (permalink / raw)
  To: emacs-devel

I can't be the first one to be bitten by this...

When developing using EIEIO objects, backtraces and edebug messages can
be very difficult to use. In edebug, if you're lucky, you get the
#<object-class I'm an object> representation, but if you're unlucky, you
get the vector. In backtraces, you always get the vector.

For large objects, or those involving recursive data structures, this
makes error reporting frustrating, to put it delicately. It can take the
printer a good couple seconds to barf up the representation of an
object, and when it does it makes a huge mess of the minibuffer and/or
*Message* buffer.

I've defined `object-print' methods for some classes, and would dearly
love it if those methods could be used everywhere, even in simple
`eval-expression' situations. Or if there were at least an option that
would allow me to turn this behavior on and off.

Can I open a bug report?

Eric




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-12  1:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 19:02 Improving representation of EIEIO objects in backtraces/error messages Eric Abrahamsen
2016-12-29 20:32 ` Eli Zaretskii
2016-12-29 20:54   ` Eric Abrahamsen
2016-12-30  7:45     ` Eli Zaretskii
2016-12-31 19:48 ` Eric Ludlam
2016-12-31 20:48   ` Eric Abrahamsen
2017-01-08  1:51     ` Eric Ludlam
2017-01-08 17:24       ` Eric Abrahamsen
2017-01-12  0:47         ` Eric Ludlam
2017-01-12  1:36           ` Eric Abrahamsen
2017-01-12  1:47           ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.