From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: The poor quality of Emacs's backtraces Date: Fri, 14 Jul 2023 11:08:45 +0200 Message-ID: <04C7EE32-F6C4-4310-A8B8-FEFF45C6ACB7@gmail.com> References: <3D901B62-4826-4783-B684-968E6890E75A@gmail.com> <87wmz2j52m.fsf@localhost> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 14 12:34:34 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qKG8A-0008Jv-CB for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Jul 2023 12:34:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKG7L-0007qH-7F; Fri, 14 Jul 2023 06:33:44 -0400 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 1qKEnC-00031Z-6Y for emacs-devel@gnu.org; Fri, 14 Jul 2023 05:08:50 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKEnA-0004Fg-O7 for emacs-devel@gnu.org; Fri, 14 Jul 2023 05:08:49 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b703d7ed3aso25639261fa.1 for ; Fri, 14 Jul 2023 02:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689325727; x=1691917727; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=bmFYzzn4wWlJYkUYAW6tSR3/tlaG1MfurTlkPB0cot8=; b=M2mq7VjciRRjQJKYuasq1wZl267gvgTK4t1pHK/ZrAeoVUtmt4Do1c8bhSfgKpv895 8FDkKjOKF25Vdaxd6d9c8e5YOTpDbT1e7cKeNolfvAMvlmJtG4tFMZVGidu5gaYNqtuB 6k1VcQg0Oe0wqxsOV584LBsLaBoPU0mi193XyX62EAHxBb3Yj6DMaHLqO+LTDIt++muW 4by09ugzI7kVdhlsc7E1z/LFhH5sHxIAmXRKq5yDT/IfNxaSWXQsn0pWVhxAB5Qpj80q iSS4m4By/GCpvaG/mH/Y8x3JpGiV5KdtCqd1sdhdl+fuVqAW+Mbyg8ujuYBeV1p2sJiR hYyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689325727; x=1691917727; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bmFYzzn4wWlJYkUYAW6tSR3/tlaG1MfurTlkPB0cot8=; b=PoP9Z2BwOkBTn3uc+hYgqbx++Rh0/J9+i7qZGiQIaIAgqKosUK7rX0++TuOF98wI0t 6HivkGRvF0sVeFw1/iJB+pb1ymXAc8hhvuJFkBiuXCUUziazbXpSC5lKtLwb/MTRH/iX dRZCOM7RXdoX/iF03ef2Ud7rlBntH/l7Z/Xle4VdvHJJ+T9qMv2W2Pw6InwDqHLBNBCu grHpJQ4lC1XwGWk6W8fAmP30N9VgieR9sqBgTruIk6kZI4l+wKo87DCad/wWmTS37wpl pOl0xIW2ktiRYOlEsLF8xn1LcEUU80vbTJpaekXP6z3VvNHMAr5SEwA/XLA+qQtAzgYC 4MhQ== X-Gm-Message-State: ABy/qLbmU4cfcVZLP+yNadt9+RFWeKNXb9f41U9DyAt1S6BypMbXPerC PbbAvNwHrycBVn+DHZ/ShKk= X-Google-Smtp-Source: APBJJlEGVu0/kb0ZWYrdoJGz9RjzRqctKihjcmifNhNBf2mXJ2KVRX+j2aFcrogurBEuDObHpysRaA== X-Received: by 2002:a19:911b:0:b0:4fb:94fd:645f with SMTP id t27-20020a19911b000000b004fb94fd645fmr2866067lfd.68.1689325726407; Fri, 14 Jul 2023 02:08:46 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id m19-20020a195213000000b004f873ca4139sm1403839lfb.71.2023.07.14.02.08.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2023 02:08:46 -0700 (PDT) In-Reply-To: <87wmz2j52m.fsf@localhost> X-Mailer: Apple Mail (2.3654.120.0.1.15) Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=mattias.engdegard@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 14 Jul 2023 06:33:41 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307861 Archived-At: 14 juli 2023 kl. 10.00 skrev Ihor Radchenko : > It would be nice if the backtraces used `pp' instead of dumb = truncation. > Though would make things much, much more readable. Not necessarily as it also means that uninteresting data takes up much = more space. Better have a way to expand and pretty-print individual stack frames on = demand in the backtrace buffer. > Of course, the `condition-case' created by ERT will still be an issue. Yes, and that was probably what really caused Alan's troubles. We could = do something about that.