From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29077: 26.0; NEWS: "Values in call stack frames are now displayed using `cl-prin1'" Date: Mon, 30 Oct 2017 15:18:57 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509402014 3005 195.159.176.226 (30 Oct 2017 22:20:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 22:20:14 +0000 (UTC) To: 29077@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 30 23:20: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 1e9IPf-0008WE-CG for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 23:20:07 +0100 Original-Received: from localhost ([::1]:42829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9IPm-0005Xy-Nk for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 18:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9IPe-0005Wa-2T for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9IPa-0008Mf-Lb for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34147) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9IPa-0008MV-E5 for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9IPa-0001pH-6D for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Oct 2017 22:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15094019596957 (code B ref -1); Mon, 30 Oct 2017 22:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2017 22:19:19 +0000 Original-Received: from localhost ([127.0.0.1]:42828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9IOs-0001o8-NM for submit@debbugs.gnu.org; Mon, 30 Oct 2017 18:19:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9IOq-0001nw-SX for submit@debbugs.gnu.org; Mon, 30 Oct 2017 18:19:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9IOf-0007ly-U2 for submit@debbugs.gnu.org; Mon, 30 Oct 2017 18:19:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9IOf-0007lr-NV for submit@debbugs.gnu.org; Mon, 30 Oct 2017 18:19:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9IOe-0005If-Ge for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9IOb-0007j9-6h for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:19:04 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:48280) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9IOa-0007io-W1 for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 18:19:01 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9UMIxDo012239 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Oct 2017 22:18:59 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v9UMIxCh012247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Oct 2017 22:18:59 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v9UMIwiR013132 for ; Mon, 30 Oct 2017 22:18:58 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4600.0 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:139223 Archived-At: [Note: I could not send this from the Emacs 26 pretest, because of bug #290= 74. I'm just mailing this in.] 1. The NEWS entry says only this (with British spelling, BTW): The old behaviour of using 'prin1' can be restored by customizing the new option 'debugger-print-function'. That doesn't tell a user how to restore the old behavior. Please tell us what print function to use to get the old behavior. The defcustom for `debugger-print-function' should offer a set of reasonabl= e choices, plus let you specify an arbitrary function. Those choices shoul= d include cl-prin1 and whatever the previously used print function was (wha= t was it? clearly it was not `print'). 2. Also, the function used is apparently really `cl-prin1', and there is NO= doc for that function. C-h f cl-prin1 shows this: cl-prin1 is an autoloaded Lisp closure in `cl-print.el'. (cl-prin1 OBJECT &optional STREAM) Not documented. That's another bug, but please fix it as part of this report. 3. Also, is the backtrace really printed using prin1 or cl-prin1? I have pr= int-length and print-level set to nil and print-circle set to t or nil (nei= ther helps). I turn off truncated lines. And yet for a return value that = is a list of 57 elements in *Backtrace* I cannot move to the end of the lis= t - the displayed list is truncated after a bit. That's useless. Users should be able to get a full *Backtrace*, being able= to move over full Lisp objects such as lists. I don't see this problem in previous Emacs releases. This "feature" (of cl-prin1 or whatever) has apparently not been road-teste= d. Please revert it as the default behavior. Let users opt in to use it, = until you get it to work. It's generally a bad idea to change the default = behavior to some new, untested behavior. Let users try it out for a few re= leases, before deciding to make it the new default behavior.