From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Dynamic modules: emacs-module.c and signaling errors Date: Tue, 24 Nov 2015 23:14:46 -0800 Organization: UCLA Computer Science Department Message-ID: <56555FE6.4080702@cs.ucla.edu> References: <83k2p7xk13.fsf@gnu.org> <87wpt7p369.fsf@tromey.com> <83d1uzxgvw.fsf@gnu.org> <5654D7CF.90001@cs.ucla.edu> <5654DCDC.3090200@dancol.org> <56555A96.3040001@cs.ucla.edu> <56555D4F.10508@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448435719 18232 80.91.229.3 (25 Nov 2015 07:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2015 07:15:19 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, p.stephani2@gmail.com, tzz@lifelogs.com, emacs-devel@gnu.org To: Daniel Colascione , Eli Zaretskii , Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 25 08:15:08 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1UIE-0005Fa-Cx for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 08:15:06 +0100 Original-Received: from localhost ([::1]:43517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1UIF-0005nW-W2 for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 02:15:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1UI1-0005n2-Hl for emacs-devel@gnu.org; Wed, 25 Nov 2015 02:14:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1UI0-0008Eg-P4 for emacs-devel@gnu.org; Wed, 25 Nov 2015 02:14:53 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1UHw-0008DF-TN; Wed, 25 Nov 2015 02:14:49 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AC04C1606CC; Tue, 24 Nov 2015 23:14:47 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id c4Qs-YH0lVfr; Tue, 24 Nov 2015 23:14:46 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C6D61160707; Tue, 24 Nov 2015 23:14:46 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BSUumQaZmAhh; Tue, 24 Nov 2015 23:14:46 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8EA101606CC; Tue, 24 Nov 2015 23:14:46 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <56555D4F.10508@dancol.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195208 Archived-At: 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.