emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I rethrow an error after recording a backtrace?


From: Clément Pit--Claudel
Subject: Re: How can I rethrow an error after recording a backtrace?
Date: Sat, 6 Aug 2016 11:49:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 2016-08-06 11:31, Eli Zaretskii wrote:
>> Cc: address@hidden
>> From: Clément Pit--Claudel <address@hidden>
>> 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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]