From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61847: debug-early-backtrace only works some of the time. Date: Tue, 28 Feb 2023 12:36:32 -0500 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3497"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61847@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 18:37:12 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pX3ua-0000ha-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 18:37:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX3uS-0008J3-Kb; Tue, 28 Feb 2023 12:37:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX3uR-0008Iq-1R for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 12:37:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX3uQ-000138-Pp for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 12:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pX3uQ-0006qd-E5 for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2023 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61847 X-GNU-PR-Package: emacs Original-Received: via spool by 61847-submit@debbugs.gnu.org id=B61847.167760581426308 (code B ref 61847); Tue, 28 Feb 2023 17:37:02 +0000 Original-Received: (at 61847) by debbugs.gnu.org; 28 Feb 2023 17:36:54 +0000 Original-Received: from localhost ([127.0.0.1]:51933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX3uH-0006qG-IU for submit@debbugs.gnu.org; Tue, 28 Feb 2023 12:36:53 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX3uF-0006q2-LG for 61847@debbugs.gnu.org; Tue, 28 Feb 2023 12:36:52 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0762A1000BF; Tue, 28 Feb 2023 12:36:44 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0CF101000BD; Tue, 28 Feb 2023 12:36:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1677605795; bh=73uAuzf7Q4RlvuRIQfY/ea7AYO248Zo80cTVPesVYIU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OE3Q1uk9Nl2H/18hFqcS8R06F84FogQb6bFOPONmPefU1CsGWSYZqCcB1byoZ9DbO inXT8CYO1dBzkPLzt1q9EEvwMNCMTG/EjIjzIYIIdkz9ozf1i2ew/u8KRTBpaRhQ0I 1d0fxBsR9dG/2I/MNKClwb4WH/MqL93b9Ti5WUtP0xVDJ+di/xAo0cBzbCsvYWKUoY m3v5vEDWRUcUFJxJ1vi0E4Mb06Ek9yaBpXLdXHlUYVRpAY6SM2K8ZnwAw77hhVRHnQ K9oduwera6/u5CYHWKdfbOA0+zEOOZG/k7TGH5x2t12udKziQJjfNTykMnv6A1AGp5 AfxcMZ6KvDasQ== Original-Received: from ceviche (unknown [216.154.34.24]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DB4A11231C3; Tue, 28 Feb 2023 12:36:34 -0500 (EST) In-Reply-To: (Alan Mackenzie's message of "Tue, 28 Feb 2023 09:12:08 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256998 Archived-At: >> To get more readable backtraces when used after bootstrapping (as well as >> in the later phases of bootstrapping). > > More readable? Just how is a backtrace produced using cl-prin1 more > readable than one using prin1? They both look pretty much the same. But > cl-prin1 only outputs partial information for some things, such as > compiled functions, so it is not a good choice. debug-early-backtrace > should produce _complete_ backtraces. The output for compiled functions is the main one which I think is more readable (among those that occur often in backtraces), so let's just agree to disagree on this one. > And how will the contition-case you suggest help? (require 'cl-print nil > t) returns non-nil in the pertinent circumstances. The `noerror` argument of `require` doesn't silence the errors that happen while loading the file, instead it prevents signaling an error when the file is not found. > Putting a condition-case around that isn't going to change this. I'm hoping it will. > Have you actually tried out your patch? No. Stefan