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: edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value. Date: Mon, 21 May 2018 17:10:19 +0000 Message-ID: <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 1526922599 10880 195.159.176.226 (21 May 2018 17:09:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 May 2018 17:09:59 +0000 (UTC) User-Agent: Mutt/1.9.4 (2018-02-28) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 19:09:55 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 1fKoJl-0002gy-Oy for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 19:09:53 +0200 Original-Received: from localhost ([::1]:51649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKoLr-0007AN-4w for ged-emacs-devel@m.gmane.org; Mon, 21 May 2018 13:12:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKoLh-0007A7-U9 for emacs-devel@gnu.org; Mon, 21 May 2018 13:11:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKoLc-00061E-Vu for emacs-devel@gnu.org; Mon, 21 May 2018 13:11:53 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:61799 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fKoLc-0005xu-J5 for emacs-devel@gnu.org; Mon, 21 May 2018 13:11:48 -0400 Original-Received: (qmail 48816 invoked by uid 3782); 21 May 2018 17:11:42 -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 19:11:42 +0200 Original-Received: (qmail 5811 invoked by uid 1000); 21 May 2018 17:10:19 -0000 Content-Disposition: inline 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:225520 Archived-At: Hello, Emacs. In the upcoming Emacs 26.1, I'm in edebug. In the program I'm debugging, there is something nasty in the variable `syntax-propertize-function', and I need to find out what. So I do "e" and type in that variable name. What comes back is this: #f(compiled-function (start end) #) . This is thoroughly unhelpful. In previous versions of Emacs, this would have printed out the function in enough detail to give variable names, function names, etc., which could be used to search through the Emacs source with. What am I supposed to do with "0x191eb39"? Can I give that as an argument to some *Help* function which will give me more details? I've searched through NEWS for details of this change, in the hope of finding an option to reverse it, but found nothing. I searched for "edebug", then "debug". Why is there nothing in NEWS about this somewhat significant change? So, can I get edebug to print out the contents of a variable containing a function? If so how? I can remember vaguely this topic being discussed on emacs-devel, and wish I'd paid more attention at the time. It looks like I might need to go back to Emacs 25.3 to do debugging. This isn't good. -- Alan Mackenzie (Nuremberg, Germany).