From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: More over-engineering Date: Fri, 27 Nov 2015 13:53:22 -0500 Message-ID: References: <83si3rqp96.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448650423 25935 80.91.229.3 (27 Nov 2015 18:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 18:53:43 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 19:53:32 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 1a2O9D-0007xU-Uf for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 19:53:32 +0100 Original-Received: from localhost ([::1]:58183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2O9G-00036T-Vl for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 13:53:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2O9D-00036C-7O for emacs-devel@gnu.org; Fri, 27 Nov 2015 13:53:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2O9C-0007hL-Aj for emacs-devel@gnu.org; Fri, 27 Nov 2015 13:53:31 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:17292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2O96-0007gl-8C; Fri, 27 Nov 2015 13:53:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AsEwA731xV/yr292hcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBAQYBAQEBHos6hQUHhC0FjDCoVCOEFiCCeAEBAQ X-IPAS-Result: A0AsEwA731xV/yr292hcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBAQYBAQEBHos6hQUHhC0FjDCoVCOEFiCCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="179578231" Original-Received: from 104-247-246-42.cpe.teksavvy.com (HELO pastel.home) ([104.247.246.42]) by ironport2-out.teksavvy.com with ESMTP; 27 Nov 2015 13:53:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id B0C9D6016E; Fri, 27 Nov 2015 13:53:22 -0500 (EST) In-Reply-To: <83si3rqp96.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Nov 2015 20:19:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:195409 Archived-At: >> should protect itself from signals and 'throw' in the called >> Emacs functions, by placing the macros MODULE_HANDLE_SIGNALS >> and/or MODULE_HANDLE_THROW right after the above 2 tests. >> + FIXME: Why is it always needed? What happens if we don't? >> + Why is only one of the two needed rather than always both? > I indeed think we should have only one macro that does the job of all > three of them. It's on my todo to make that change, if no one beats > me to it. How 'bout the other question: what happens if we don't use that macro? Stefan