|
From: | Paul Eggert |
Subject: | Re: Dynamic modules: emacs-module.c and signaling errors |
Date: | Tue, 24 Nov 2015 13:34:07 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 11/24/2015 12:49 PM, Eli Zaretskii wrote:
Btw, using this method the module code becomes very tedious
It's so tedious I can't imagine using it that way. Module authors shouldn't have to call env->non_local_exit_check (env) after every function call, to see whether the function actually worked. Functions should be able to signal an error, just as they can in the Emacs core, and the error should propagate through calls in a natural way.
[Prev in Thread] | Current Thread | [Next in Thread] |