From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value. Date: Mon, 21 May 2018 18:23:42 +0000 Message-ID: <20180521182342.GB5750@ACM> References: <20180521171019.GA5750@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1526926991 21894 195.159.176.226 (21 May 2018 18:23:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 18:23:11 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) Cc: Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 20:23:06 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fKpSc-0005dK-G7 for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 20:23:06 +0200 Original-Received: from localhost ([::1]:51889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKpUj-0004xe-Bk for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 14:25:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKpUd-0004vv-7d for emacs-devel@gnu.org; Mon, 21 May 2018 14:25:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKpUa-0004HX-25 for emacs-devel@gnu.org; Mon, 21 May 2018 14:25:11 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:56225 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fKpUZ-0004H5-MP for emacs-devel@gnu.org; Mon, 21 May 2018 14:25:07 -0400 Original-Received: (qmail 77406 invoked by uid 3782); 21 May 2018 18:25:05 -0000 Original-Received: from acm.muc.de (p5B1475DC.dip0.t-ipconnect.de [91.20.117.220]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 21 May 2018 20:25:04 +0200 Original-Received: (qmail 8564 invoked by uid 1000); 21 May 2018 18:23:42 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225523 Archived-At: Hello, Noam. On Mon, May 21, 2018 at 13:47:53 -0400, Noam Postavsky wrote: > > So, can I get edebug to print out the contents of a variable containing > > a function? If so how? > (fset 'edebug-prin1-to-string #'prin1-to-string) ; gives Emacs 25 behaviour Thanks, this works! > Or > (setq cl-print-compiled 'static) ; shows constants array, but not bytecode I'll need to try that, sometime. -- Alan Mackenzie (Nuremberg, Germany).