all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* eieio, pretty printing, and edebug
@ 2014-10-27 18:22 Eric Abrahamsen
  2014-10-28 16:44 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Abrahamsen @ 2014-10-27 18:22 UTC (permalink / raw)
  To: emacs-devel

Right now, using edebug with eieio objects can be difficult, as they are
printed with regular prin1.

In the case of very large objects (I ran into this with the Gnus
registry object, which can have an enormous hash table attached to it),
Emacs can run out memory as the cursor passes the variable holding the
object, and tries to pretty print it.

Line 895 in eieio.el, were it not commented out, would fix this by
having edebug print using the object-print generic, not prin1. I eval'ed
the line and tried it, and it seemed to work fine.

How come it's currently commented out? Can I open a bug for this?

Eric




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

end of thread, other threads:[~2014-10-30  2:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 18:22 eieio, pretty printing, and edebug Eric Abrahamsen
2014-10-28 16:44 ` Stefan Monnier
2014-10-29  2:38   ` Eric Ludlam
2014-10-29 23:40     ` Eric Abrahamsen
2014-10-30  1:57       ` Stefan Monnier
2014-10-30  2:36         ` Eric Abrahamsen
2014-10-30  2:34       ` Stefan Monnier
2014-10-30  2:50         ` Eric Abrahamsen

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.