From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
Daniel Colascione writes:
=C2=A0> On 09/13/2015 01:31 PM, Stefan Monnier wrote:
=C2=A0> >> It's not possible to skip frames in module code usi= ng longjmp, so
=C2=A0> >
=C2=A0> > Why not?
=C2=A0>
=C2=A0> Because most C code isn't expecting to be unwound. Forcing n= on-local
=C2=A0> flow control on module code is completely unacceptable.
"Completely unacceptable" is nonsense.=C2=A0 Module code needs to= be
written the same way any other Emacs code is written,
using various
unwind-protect constructs.
=C2=A0=
And I'm sure that there's non-robust code in libraries out there th= at
will be totally horked on a non-local exit.=C2=A0 But AFAICS you have the same problem there if you link statically or at Emacs initialization
-- that code just shouldn't be linked into Emacs period.