From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Redisplay hook error backtraces Date: Wed, 13 Jul 2022 16:49:27 -0400 Message-ID: References: <83r1396lvr.fsf@gnu.org> <83edz87ivz.fsf@gnu.org> <83r1375m6x.fsf@gnu.org> <837d4hw5to.fsf@gnu.org> <83ilo0vnwh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32438"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , larsi@gnus.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 13 23:01:36 2022 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 1oBjUG-0008Ee-81 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Jul 2022 23:01:36 +0200 Original-Received: from localhost ([::1]:60190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBjUF-0000Ad-8v for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Jul 2022 17:01:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBjIf-0002vf-BF for emacs-devel@gnu.org; Wed, 13 Jul 2022 16:49:38 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:3617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBjIc-0006t6-6G; Wed, 13 Jul 2022 16:49:35 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0A1AF100164; Wed, 13 Jul 2022 16:49:33 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4D1F2100040; Wed, 13 Jul 2022 16:49:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1657745371; bh=ZU0oqkGOhyz1HBoMnNCu8skQAyRCmBFJfO5uaBnWTpQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iYW92XBKXVHhsvRxZCsQcUm71msrJn5zs+45lMLATbpvLulyi7GZIar/A3eMUDwZo lw3RhL94NERyywHRf42bbuS0HIjpyjQ5h1JcoMdSaFaKNCQbiQZ9Ulf9Q3Tr2Bv+Ua /OvNRH9cfqeWcownEugnhT8Y3GFnB9jNa8qmRZOXSjG/OJbnKoPZ3DCzO7WzfmEhfu HqTKLZJFYgjz2jRwWCLaMHIKFZ0q/ers6Cp/JeAzfFlGKQJO8GAyMnQCse/BRs7diO rua/tWHqTxAcuoP+piO3uQV0VM6rwzLbzUfDMJUffCIuk/yUR1sHDBHxTj1Vtnrpjm dMKe30rlCTRpQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2D607120679; Wed, 13 Jul 2022 16:49:31 -0400 (EDT) In-Reply-To: (Alan Mackenzie's message of "Wed, 13 Jul 2022 20:12:42 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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-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" Xref: news.gmane.io gmane.emacs.devel:292116 Archived-At: >> I still don't think I understand why testing redisplaying_p and the >> new optional variable would not be enough. > > We've got to distinguish between the signals we want to generate > backtraces for and those we don't. redisplaying_p is not relevant to > that, I think. For example, we don't want to generate a backtrace for a > "failed" evaluation of the code generated by `c-safe'. BTW, `c-safe` is called `ignore-errors` in standard ELisp since Emacs-23 (before that it was provided by `cl`). Stefan