From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How can I rethrow an error after recording a backtrace? Date: Fri, 05 Aug 2016 22:11:55 -0400 Message-ID: References: <53ca9864-3a3b-8406-65c9-8458d0512299@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470449672 13095 195.159.176.226 (6 Aug 2016 02:14:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 02:14:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?windows-1252?Q?Cl=E9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 06 04:14:29 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bVr6P-0006l2-QD for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 04:12:41 +0200 Original-Received: from localhost ([::1]:47803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr6M-00076r-DP for ged-emacs-devel@m.gmane.org; Fri, 05 Aug 2016 22:12:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr5o-00076Y-6l for emacs-devel@gnu.org; Fri, 05 Aug 2016 22:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVr5j-0004XK-RD for emacs-devel@gnu.org; Fri, 05 Aug 2016 22:12:03 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:48711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVr5j-0004XD-MD for emacs-devel@gnu.org; Fri, 05 Aug 2016 22:11:59 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u762CNMf000803; Fri, 5 Aug 2016 22:12:24 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 88E54AE0F1; Fri, 5 Aug 2016 22:11:55 -0400 (EDT) In-Reply-To: (=?windows-1252?Q?=22Cl=E9ment?= Pit--Claudel"'s message of "Fri, 5 Aug 2016 05:40:45 -0400") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5757=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5757> : inlines <5074> : streams <1679507> : uri <2261563> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206434 Archived-At: > Hmm. Even with that, I'm not sure. Take the following (untested) program: > > (condition-case err1 > (condition-case err2 > (error "A") > (error (error "B))) > (error (message "Oups"))) This problem also affects the normal case (i.e. without server.el). As I said elsewhere, I think this num-* side-condition can be dropped because the inhibit-debugger variable should catch the same problems but better. Stefan