From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61847: debug-early-backtrace only works some of the time. Date: Wed, 01 Mar 2023 18:53:13 +0200 Message-ID: <83cz5sfm6e.fsf@gnu.org> References: <83lekgfvgs.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: g@acm.muc.de, monnier@iro.umontreal.ca, 61847@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 01 17:54:21 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 1pXPif-0004Sz-II for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Mar 2023 17:54:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXPiP-00008b-8V; Wed, 01 Mar 2023 11:54:05 -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 1pXPiN-00007Q-3l for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 11:54: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 1pXPiM-0006tA-Nb for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 11:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXPiM-000287-95 for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2023 16:54: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.16776895918126 (code B ref 61847); Wed, 01 Mar 2023 16:54:02 +0000 Original-Received: (at 61847) by debbugs.gnu.org; 1 Mar 2023 16:53:11 +0000 Original-Received: from localhost ([127.0.0.1]:54779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXPhX-00026y-CS for submit@debbugs.gnu.org; Wed, 01 Mar 2023 11:53:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXPhV-00026l-0F for 61847@debbugs.gnu.org; Wed, 01 Mar 2023 11:53:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXPhN-0006jo-SM; Wed, 01 Mar 2023 11:53:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mM7sHgr6T5HDN9DF4AMrJmOuAX6IdD4TCIxmtysqJ4c=; b=UvaFtSF/sKjb eco6xbNP3doGuZZo/RM/adK1QtHkHSqm3VTJvGt/3giIssdPCftX/r8WIxfoFyknwi4F7qO9QpG6r 8kQiGj87wC21w6B9NIFJ3JShVMm8oYAkPQ5p6gINCzHmlv4JlJS6q/MagfDPLYjlIi0Uor/3h9SO4 bJ/DlKpB3EQq+JXGMCHXkzOHYhkEqQMYeM7Vuxt4cPrbUQmlbjUxQePFHisEu2tq3aK7N1Esys5IT 9rP1MLlLt4gYCp2e7y2WS1MVq8KuWGMKHX++AsVHoEvfyfHOY7CUV6K2aUfZVtNXT1r6B+Xreyk+W OG8jX/b9d4kPLoLJ2QTkMA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXPhN-0001I0-2r; Wed, 01 Mar 2023 11:53:01 -0500 In-Reply-To: (message from Alan Mackenzie on Wed, 1 Mar 2023 16:05:58 +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:257083 Archived-At: > Date: Wed, 1 Mar 2023 16:05:58 +0000 > Cc: monnier@iro.umontreal.ca, 61847@debbugs.gnu.org > From: Alan Mackenzie > > My main argument against cl-prin1 is that it's Lisp, and loading Lisp in > early bootstrap is an uncertain, difficult process, as this bug shows. My main point, which I evidently fail to drive home, is that we must do that anyway, if we want these backtraces to show a reasonably readable information. > prin1 is _far_ from "infinitely useless". I've used it to good effect. Yes, and when I was younger, I used MSDOS to good effect. > cl-prin1 is not useful for printing compiled functions. Then let's make it useful! That's the right direction, not falling back to prin1. > How about this suggestion: to fix the bug right now, we put prin1 back > in, as it was in the original debug-early.el. When cl-prin1 has > improved sufficiently, we then consider putting it back into > debug-early.el? No.