emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic modules: emacs-module.c and signaling errors


From: Aurélien Aptel
Subject: Re: Dynamic modules: emacs-module.c and signaling errors
Date: Fri, 27 Nov 2015 13:25:26 +0100

As tedious as it sounds, checking for errors after every API call is
the safest way to go. We have to remind ourselves we're extending an
editor in C. Crashing/aborting can make someone loose work.

As ignorant as it will sound, working on the dynamic modules feature
made me realize how Emacs core might leak memory everytime a call
signals in the middle a function if you're not careful. I find this
very error-prone.



reply via email to

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