From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25295: 26.0.50; Represent eieio objects using object-print in backtraces and edebug Date: Sat, 11 Mar 2017 00:43:14 -0500 Message-ID: <87k27w8j2l.fsf@users.sourceforge.net> References: <87pokampa4.fsf@ericabrahamsen.net> <87innrc03h.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489210993 29425 195.159.176.226 (11 Mar 2017 05:43:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2017 05:43:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Eric Abrahamsen , 25295@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 11 06:43:09 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 1cmZo3-0006sn-6c for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 06:43:07 +0100 Original-Received: from localhost ([::1]:42033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmZo9-0007xH-BK for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 00:43:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmZo2-0007x1-Rn for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 00:43:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmZny-0007ud-RB for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 00:43:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51983) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmZny-0007uR-O1 for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 00:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cmZny-0006xG-Hx for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 00:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Mar 2017 05:43:02 +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.148921092426670 (code B ref 25295); Sat, 11 Mar 2017 05:43:02 +0000 Original-Received: (at 25295) by debbugs.gnu.org; 11 Mar 2017 05:42:04 +0000 Original-Received: from localhost ([127.0.0.1]:50182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmZn2-0006w5-Gj for submit@debbugs.gnu.org; Sat, 11 Mar 2017 00:42:04 -0500 Original-Received: from mail-io0-f170.google.com ([209.85.223.170]:36485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmZn1-0006vZ-5f for 25295@debbugs.gnu.org; Sat, 11 Mar 2017 00:42:03 -0500 Original-Received: by mail-io0-f170.google.com with SMTP id l7so60228992ioe.3 for <25295@debbugs.gnu.org>; Fri, 10 Mar 2017 21:42:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vBZn6/B+nort2ewdRTpLgVoK9zuYsA8IxvYJldE4+54=; b=jiu3/RuDO5L9fp3RXiXzFhO16MVGJk9BP0seCH+PC+nceiMaayPA2fMDNDMP1tUct8 9SzE1UHTjP2Ji0D9wQC8PjEpMpcnf5nfudpFYHWpYqCNgJkgYS8lKa2GVkqW+zGla0OF 020TDoWEMFSnlpgAjwFTIqG7GA0hPOIzFSFuslkBkzEO4W9cqbFsM5lmMNMbHGHbfriL RkSiN1spxF74I9MfDxznkO38l3z4Cll3UbAwe5KqcXKBZ2alDVLw4FYgVJyr8YqAYKIc 21FcT4+7lC3D4CITyq/P6mi5WPeDVJzdtvjiuwkGf4H3WxYDrh6/ac1FmDsnjr6G6OE+ fETA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=vBZn6/B+nort2ewdRTpLgVoK9zuYsA8IxvYJldE4+54=; b=SHmVT5EoB/vZBkohJSK5x2kOv9m1vGzNxiQOxqljrJtk3DZOqKXUBsVE+hPJAmO4dP 0k+Kw54RPsA4IQYJushPdXL5uKQnqqECeJpmKdHSnkNtkiQngWiGP2FijQouuS8D7bNL njw6KvWBgS3CQTrvlpcb02mfKE6ha/xiNYE7Q/xFC+pGQv1nYEnqqd5A3hdTPaW63Gqq l7d/AdedsV2FNzZxCkw4bugpwlFjFar8QlKjoAmySJ1Nd5ZVsL88qsjXQzD3f2yGsxhd 4LN2d7doZcBTsv41CoB3++lADZwn/cIZGr/K5KDlfkON6n3MPEt3inFDq4Azcdh9RrJ+ PM+w== X-Gm-Message-State: AMke39lbJUFlV0jinwoOJamrLSoFVWGafVmlNL8wDXoGtuGS0TpsKcKrfKLF3F1fObqGaA== X-Received: by 10.107.46.163 with SMTP id u35mr21299479iou.196.1489210917645; Fri, 10 Mar 2017 21:41:57 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 62sm965430itl.1.2017.03.10.21.41.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2017 21:41:57 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 02 Mar 2017 08:38:18 -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:130463 Archived-At: Stefan Monnier writes: >> I have an idea to use this for the pretty printer so it that produces >> the correct spacing while printing. I think this would end up faster >> than calling indent-sexp afterwards. But it would involve dispatching >> on STREAM, and according to the comments in cl-generic.el multiple >> dispatch adds more apply calls. Thoughts? > > No idea, how would that work? I posted an initial draft at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25122#21, I'm not seeing as much speedup as I'd hoped, though I haven't tried optimizing it yet.