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: Should 'signal' sometimes return? Date: Fri, 22 Jul 2016 14:12:29 +0200 Message-ID: <78a058bb-3d54-fc6f-a783-23ccfcb99830@cs.ucla.edu> References: <2537965b-b814-66e2-f961-45c8e994c832@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469189762 12935 80.91.229.3 (22 Jul 2016 12:16:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2016 12:16:02 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 14:15:53 2016 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 1bQZMu-0004V6-9I for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 14:15:52 +0200 Original-Received: from localhost ([::1]:46964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZMt-0002cT-Kq for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2016 08:15:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZK8-0000qB-Pr for emacs-devel@gnu.org; Fri, 22 Jul 2016 08:13:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQZK5-0000SN-GY for emacs-devel@gnu.org; Fri, 22 Jul 2016 08:13:00 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:44161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQZK5-0000S7-Ah for emacs-devel@gnu.org; Fri, 22 Jul 2016 08:12:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7C38C161197; Fri, 22 Jul 2016 05:12:55 -0700 (PDT) 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 oooyfXU7ApzT; Fri, 22 Jul 2016 05:12:54 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CE21516125B; Fri, 22 Jul 2016 05:12:54 -0700 (PDT) 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 MSc7wSZt_lvo; Fri, 22 Jul 2016 05:12:54 -0700 (PDT) Original-Received: from [192.168.1.52] (AMontpellier-656-1-366-38.w109-210.abo.wanadoo.fr [109.210.214.38]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A789B161197; Fri, 22 Jul 2016 05:12:50 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: 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.21 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" Xref: news.gmane.org gmane.emacs.devel:206020 Archived-At: On 07/21/2016 05:43 PM, Stefan Monnier wrote: > There's indeed one back-door, which is that Fsignal can return from > a `quit' signal. This is part of the support for debug-on-quit and > I wouldn't want to lose this. > > I agree that the current situation is unsatisfactory. As I understand it, the debug-on-quit support is intended to catch the user typing C-g, as opposed to altering code that calls 'signal' so that it returns. If so, how about keeping the current approach for C-g, and merely changing 'signal' itself so that it does not return? I wrote a new patch to do that, and will send it to Bug#24047.