unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: How can I rethrow an error after recording a backtrace?
Date: Sat, 6 Aug 2016 11:49:36 -0400	[thread overview]
Message-ID: <8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com> (raw)
In-Reply-To: <83fuqhkj73.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 1046 bytes --]

On 2016-08-06 11:31, Eli Zaretskii wrote:
>> Cc: emacs-devel@gnu.org
>> From: Clément Pit--Claudel <clement.pit@gmail.com>
>> 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 
>>     (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?

Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-08-06 15:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05  2:12 How can I rethrow an error after recording a backtrace? Clément Pit--Claudel
2016-08-05  2:23 ` Stefan Monnier
2016-08-05  9:40   ` Clément Pit--Claudel
2016-08-06  2:11     ` Stefan Monnier
2016-08-06 10:03       ` Eli Zaretskii
2016-08-06 13:29         ` Stefan Monnier
2016-08-05  2:34 ` Clément Pit--Claudel
2016-08-05  6:12   ` Eli Zaretskii
     [not found]     ` <73dc7988-7b41-385d-1083-6a6fa4bfbd91@gmail.com>
2016-08-05 13:40       ` Eli Zaretskii
2016-08-05 15:38         ` Clément Pit--Claudel
2016-08-06 10:02           ` Eli Zaretskii
2016-08-06 15:24             ` Clément Pit--Claudel
2016-08-06 15:31               ` Eli Zaretskii
2016-08-06 15:49                 ` Clément Pit--Claudel [this message]
2016-08-06 17:38                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ec74f21-6945-44fa-fe7b-78740c2db5e2@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).