[S 21.5] Division by zero & continuable errors
james at xemacs.org
Mon Oct 12 13:59:24 EDT 2009
On Fri, Oct 9, 2009 at 7:04 AM, Aidan Kehoe <kehoea at parhasard.net> wrote:
> It’s not much of an incompatibility;
> (condition-case nil
> (floor pi 0)
> (message "we have an arith error")))
> still works, because domain-error inherits from arith-error.
Okay, but I'm still going to leave it as arith-error for now. We can
talk about changing it later if there's a compelling reason to do so.
> > I took a look at how Emacs handles this situation. They signal a
> > noncontinuable error in both bytecode and interpreted code.
> Right, of course they do; they don’t have continuable errors.
<* Boggle *> They don't! Wow, I've got to use Emacs more often so I
can pick up on stuff like this...
More information about the XEmacs-Patches