From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How can I rethrow an error after recording a backtrace? Date: Sat, 06 Aug 2016 20:38:52 +0300 Message-ID: <83d1llkdar.fsf@gnu.org> References: <53ca9864-3a3b-8406-65c9-8458d0512299@gmail.com> <83mvkrlp6c.fsf@gnu.org> <73dc7988-7b41-385d-1083-6a6fa4bfbd91@gmail.com> <83fuqjl4fo.fsf@gnu.org> <83zioqjjve.fsf@gnu.org> <83fuqhkj73.fsf@gnu.org> <8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1470505203 27965 195.159.176.226 (6 Aug 2016 17:40:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 17:40:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 06 19:39:59 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 1bW5Zc-0004wW-Ax for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 19:39:48 +0200 Original-Received: from localhost ([::1]:50129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5ZY-0000xE-4j for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 13:39:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5Z6-0000eH-OI for emacs-devel@gnu.org; Sat, 06 Aug 2016 13:39:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW5Z2-0007cY-Gc for emacs-devel@gnu.org; Sat, 06 Aug 2016 13:39:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5Z2-0007cO-Cz; Sat, 06 Aug 2016 13:39:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2726 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bW5Yz-0001sB-Jw; Sat, 06 Aug 2016 13:39:12 -0400 In-reply-to: <8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel on Sat, 6 Aug 2016 11:49:36 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:206457 Archived-At: > Cc: emacs-devel@gnu.org > From: Clément Pit--Claudel > Date: Sat, 6 Aug 2016 11:49:36 -0400 > > >> (condition-case err1 > >> (condition-case err2 > >> (error "A") > >> (error (error "B))) > >> (error (message "Oups"))) > >> > >> Only the first error would be captured by the debugger. > > > > Which is a separate issue, as Stefan points out. One issue at a time, > > okay? > > Of course. It's not always trivial to tell what is an isn't an issue, let alone which ones are separate issues. Especially with virtually no knowledge of Emacs internals. Sorry for introducing confusion. > > Am I mistaken to think that a fix for that separate issue would solve the more specific issue with the daemon? Maybe so, but I'd like to solve the immediate issue at hand first, without introducing backward-incompatible changes.