From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: How can I rethrow an error after recording a backtrace? Date: Sat, 6 Aug 2016 11:49:36 -0400 Message-ID: <8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FgEpG9knrdXvR3ntrhenq4ReBFXQI2rKD" X-Trace: blaine.gmane.org 1470498608 13480 195.159.176.226 (6 Aug 2016 15:50:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 15:50:08 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 06 17:50:04 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 1bW3rL-0002Dx-1c for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 17:49:59 +0200 Original-Received: from localhost ([::1]:49762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW3rH-0007ri-Se for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2016 11:49:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW3rC-0007rR-99 for emacs-devel@gnu.org; Sat, 06 Aug 2016 11:49:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW3r8-0003Ps-5c for emacs-devel@gnu.org; Sat, 06 Aug 2016 11:49:49 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:50090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW3r7-0003PE-Qq; Sat, 06 Aug 2016 11:49:46 -0400 Original-Received: from [18.189.62.146] ([18.189.62.146]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0Ldqml-1anxTg1UPb-00j24p; Sat, 06 Aug 2016 17:49:43 +0200 In-Reply-To: <83fuqhkj73.fsf@gnu.org> X-Provags-ID: V03:K0:CqkcmBCBTU9dEuJ7ugX7CL7Vqyx55xQ3h73wq086YfO5G4HQEGU Y/rekbcF9W5pPopv3Kv1KczSsN+De3SfLFU1MYw8fgf3Qe8JUUjljYmm7rNa1KsYLPkC4y0 G0Hd0yyCHWW8OLbRUt0PYoJG0lmiMZ+Ea0vnnIFV/MpUqCd4vqx0VJzXhcbQVn8EzJVcgu9 mKZWb7ldvNShvnmbLfXgw== X-UI-Out-Filterresults: notjunk:1;V01:K0:O3CqOKkRWO0=:T+NXMHnSRHCOtf54yxw5DW HRiNUpfasalAxwxBKnEXi+adhHm5d0bJAwmDB3cRJsbQFZVAsKbecOC4kpYbRK4gcqAcrMrqB VL0nR2KQs9aubV1p1kriycWo7LsCwUTJgnWlerbZagm26Mk0EGccliN2e3RT5WdorMoBHJzex Frcx6VjeQCvAUIRXYVDv2nkRIzEKkAXOOyQz1AOESt1dTMmS2lv4I4faIbv6IDe7SJvZEPe33 0O6a8qUlhhHIDNLODmpxSJt793tj62Q7wM47HfYb5waTolyLuY+kcQL+93vD3AGye5QBDZWEE /4wrXL0DDGmxBN+CWGRZKs7uG13fzcGff2y3Npq+M4KorRqhKZibgI8rAB6zRqO27k7VJ9BW1 yRHvRxVKkJpN+bwFWsUOLJenbwZfcL7+eKXbSgxLWc7r+vgfW/qhs/5cHhLWIGX0D/8L09Gv1 ez2hhDK4y7xiGAqbK3h4eHCcn+kVBxDfh+6hb5psuq6LTPJUBc4/NRepZZWywiDgUCpK3YT6e TVck8gTLyQJbjbk5PYcUU6OK4rVPxCTfMoIy80/3Tkrm2gr0tTmfF6bsiYEaXKza26i1GmQZN N3ZIDX6iHtDz4QQOYaxUYTlvOlFZF8VXvcia2PZrFrQ/XZdV1Vy0Zg9prqY0dbF/LTIKHXe6E TGs7J9QOMpTP7kIHeTQlKwQi6Ox+S9SOuX0ccKd/hzXj3itm9lXUukM47r7+e9NPsMbc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 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:206451 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FgEpG9knrdXvR3ntrhenq4ReBFXQI2rKD Content-Type: multipart/mixed; boundary="jui6DPWd00s0KaDVmuQSi5JbpWIOA49ih" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: Eli Zaretskii Cc: emacs-devel@gnu.org Message-ID: <8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com> Subject: Re: How can I rethrow an error after recording a backtrace? 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> In-Reply-To: <83fuqhkj73.fsf@gnu.org> --jui6DPWd00s0KaDVmuQSi5JbpWIOA49ih Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-06 11:31, Eli Zaretskii wrote: >> Cc: emacs-devel@gnu.org >> From: Cl=C3=A9ment Pit--Claudel >> Date: Sat, 6 Aug 2016 11:24:03 -0400 >> >>> So you are saying that the problem is the daemon doesn't increment >>> num-nonmacro-input-events for each new connection? That should be >>> easy enough to fix, isn't it? >> >> Yes, but I fear it wouldn't cover the following case: >> >> (condition-case err1=20 >> (condition-case err2 >> (error "A") >> (error (error "B))) >> (error (message "Oups"))) >> >> Only the first error would be captured by the debugger. >=20 > 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 know= ledge 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? Cl=C3=A9ment. --jui6DPWd00s0KaDVmuQSi5JbpWIOA49ih-- --FgEpG9knrdXvR3ntrhenq4ReBFXQI2rKD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXpgcQAAoJEPqg+cTm90wjAB8QAIjHtZa00j9onrJfs5biwgAe UsTzJdubLeaK4Xc0noqTkxnuNWnTXg3Z0a9cGFrkANbst9xCOxdsh4vs7FgTouD4 kd6u8+33uMU+eZougFAQNFFl/tML6qTzqhhSv/WqmWY82kvtM+eLGqi9gkNAzJ7x wxLWev+7DtF3g8r7iLvMuDlRxZDdMrJv2tdanEceXBHqtGJfuBbw86jdC7wC9sTK 1g6cK+AzoIvRknVsANNIS7ESBmSZRiOSgIIi+U/eguYmGCYC0P3Tp1bM6eE73QGA k9Bj+3jgF8AfnHXexulV9mJFk/IWc2rDhwCkV0IyTaewkdzHvjD6mSlw5aCdSQTy b4lfxeJSe0u2ca2oRJ+fWuUbu+Lk6D6ePMlulbYTtOHIYouJisROwArYpo3DPcfO XUniKN9STcEu8zwqiT5OtG+7eXxxG3o1cc/cOSN0aTIeq6WSsn65u23oKFQzHi4b u4pKA7N+5P47gD4izlRa/3gUfLLF7iRyn+Xgve5+TYcxLnqufaxqeU6RDZUn4qKC dVtD3TI4le7LkMvId/VmFQ9bBIBvcdpBE8e2orN+8qshWogwdL1wLsLsZ01j9GFP TL73gX2finNS4B33JRr7cLQ2T7tGNDGP0Dgdk47/Og/O5yHJb9Z63I12B6cRYocz V2A7xfNJKZhSpL+h+Jtr =PrJ3 -----END PGP SIGNATURE----- --FgEpG9knrdXvR3ntrhenq4ReBFXQI2rKD--