From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#25295: 26.0.50; Represent eieio objects using object-print in backtraces and edebug Date: Thu, 02 Mar 2017 09:35:36 -0800 Message-ID: <87y3wn8tuf.fsf@ericabrahamsen.net> References: <87pokampa4.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488476172 18189 195.159.176.226 (2 Mar 2017 17:36:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2017 17:36:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25295@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 02 18:36:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjUe7-00046E-5I for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Mar 2017 18:36:07 +0100 Original-Received: from localhost ([::1]:53623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjUeD-0007W1-3U for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Mar 2017 12:36:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjUe7-0007V8-8X for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2017 12:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjUe2-0000zH-Cr for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2017 12:36:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjUe2-0000z3-4f for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2017 12:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjUe1-0001Ml-R0 for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2017 12:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Mar 2017 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25295-submit@debbugs.gnu.org id=B25295.14884761435213 (code B ref 25295); Thu, 02 Mar 2017 17:36:01 +0000 Original-Received: (at 25295) by debbugs.gnu.org; 2 Mar 2017 17:35:43 +0000 Original-Received: from localhost ([127.0.0.1]:36779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjUdj-0001M1-Lm for submit@debbugs.gnu.org; Thu, 02 Mar 2017 12:35:43 -0500 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:37311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjUdh-0001Ls-Tu for 25295@debbugs.gnu.org; Thu, 02 Mar 2017 12:35:42 -0500 Original-Received: from localhost (71-212-6-137.tukw.qwest.net [71.212.6.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4B1D3BE053; Thu, 2 Mar 2017 17:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1488476140; bh=WFpLAlmHmWy1gM4P+nvw+5s9881aYOxfQDYzmabylho=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=D9/Btz5/VMv7PEEmpSQvdcKhx6ct3AuTiTVudCnVGpIh89Qc0GAdFObHKjZcanVjl 8V1zmjt9GzPVUbPG80Jbt6oakSq8mrNsT7L/6190xzMi7dKQkg81s+NttB5ybCRNeg UjMHjLxPlp8pirSe1Z5S3np4rYY2RW5kB+WvLBXI= In-Reply-To: (Stefan Monnier's message of "Thu, 02 Mar 2017 02:00:53 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130062 Archived-At: On 03/02/17 02:00 AM, Stefan Monnier wrote: >> Objects have an `object-print' method which produces the # >> representation, but this appears to only sometimes be used in edebug, >> and never in backtraces. > > I've installed a cl-print.el package into Emacs's master branch which is > like EIEIO's object-print but more thorough. This is now used in > edebug, so it should hopefully fix the "only sometimes" part (and it > additionally knows about cl-defstructs as well, rather than only EIEIO > objects). Very cool! How does this interact with the existing `object-print' method? That method seems to be getting called at some point, but I don't see where. Is the intention that we'd stop using that?