[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic modules: emacs-module.c and signaling errors
From: |
Daniel Colascione |
Subject: |
Re: Dynamic modules: emacs-module.c and signaling errors |
Date: |
Tue, 24 Nov 2015 23:18:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/24/2015 11:14 PM, Paul Eggert wrote:
> Daniel Colascione wrote:
>> C provides many error checking alternatives. Longjmping outside Emacs is
>> not one of them.
>
> Surely there is a reasonably natural way to address the problem without
> requiring module authors to call longjmp, or to have a complex and
> error-prone check after every call.
How is it any worse than checking whether open(2) returns -1? I'd be
fine with just making future calls fail until a module clears the
pending condition or returns to Emacs.
signature.asc
Description: OpenPGP digital signature
- Dynamic modules: emacs-module.c and signaling errors, Eli Zaretskii, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Eli Zaretskii, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Tom Tromey, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Eli Zaretskii, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/24
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors,
Daniel Colascione <=
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Paul Eggert, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Daniel Colascione, 2015/11/25
- Re: Dynamic modules: emacs-module.c and signaling errors, Eli Zaretskii, 2015/11/25