From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why does signaling an error not call set-message-function? Date: Tue, 05 Apr 2022 16:39:06 +0300 Message-ID: <834k37ejk5.fsf@gnu.org> References: <87tub8hsax.fsf@blind.guru> <83h777ep5r.fsf@gnu.org> <87sfqrg2hf.fsf@blind.guru> <83bkxfen5h.fsf@gnu.org> <837d83ekeu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7050"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mlang@blind.guru, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 05 15:39:37 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbjPF-0001fI-ER for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Apr 2022 15:39:37 +0200 Original-Received: from localhost ([::1]:44716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbjPD-0006gG-Vj for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Apr 2022 09:39:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbjOh-000604-JA for emacs-devel@gnu.org; Tue, 05 Apr 2022 09:39:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbjOg-00038R-O2; Tue, 05 Apr 2022 09:39:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XJNvGhe7qzRt5QI99S7QVhJCQQBcFqvMK8UM+4FZa5c=; b=L9kL2URs9KSB 0l7tod4pOLQteSbVEAVyoAJLEdBg5wix1NYRGIVRy0fENuxB7Cc8bPGLoajgrUCXB0V9/luHR/QEP 9QZPWPLNSBkn3IVfkfjyGlYfHjZP2bzJpG2V3WY/7RDYITMgpXJmrRWpWPwxk1LF8kikjdfNnRKOR 6YG6pj2WoN4vBl5U1X0AoYDuhwvtyIZ/AwXb1yzOjZG0QZLtuEgR6HbOH5mbAafRVMl0iREBwVhu2 LOoXgihRCrEMUL/LR6CFZ/tYBaTPsgykSQ+yyFF3NmUOjtEslzDVk+P6KS7ELsRr87kvvc/5KRj5R i4Z/1S3wdRLGQwSxY4cXkw==; Original-Received: from [87.69.77.57] (port=3929 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbjOg-0002uJ-76; Tue, 05 Apr 2022 09:39:02 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 05 Apr 2022 09:34:03 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287817 Archived-At: > From: Stefan Monnier > Cc: mlang@blind.guru, emacs-devel@gnu.org > Date: Tue, 05 Apr 2022 09:34:03 -0400 > > > But not when we signal an error, surely? > > Why not? > > I don't see a problem running arbitrary ELisp code at that time. > > After all, we already exited the error-signaling context We did?