From unknown Sat Jun 21 10:20:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10581 <10581@debbugs.gnu.org> To: bug#10581 <10581@debbugs.gnu.org> Subject: Status: exit-hook is undocumented and is not called from a non-interactive environment Reply-To: bug#10581 <10581@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:20:55 +0000 retitle 10581 exit-hook is undocumented and is not called from a non-intera= ctive environment reassign 10581 guile submitter 10581 Andrew Psaltis severity 10581 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 15:32:38 2012 Received: (at submit) by debbugs.gnu.org; 22 Jan 2012 20:32:38 +0000 Received: from localhost ([127.0.0.1]:40228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp45e-00051E-0R for submit@debbugs.gnu.org; Sun, 22 Jan 2012 15:32:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44461) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp3ZH-0004Gd-A2 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 14:59:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp3Z0-00059g-W8 for submit@debbugs.gnu.org; Sun, 22 Jan 2012 14:58:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:34436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp3Z0-00059c-Ue for submit@debbugs.gnu.org; Sun, 22 Jan 2012 14:58:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp3Z0-0008Ug-2a for bug-guile@gnu.org; Sun, 22 Jan 2012 14:58:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp3Yz-00059S-8G for bug-guile@gnu.org; Sun, 22 Jan 2012 14:58:54 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:46156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp3Yz-00059O-3r for bug-guile@gnu.org; Sun, 22 Jan 2012 14:58:53 -0500 Received: by werl4 with SMTP id l4so1987205wer.0 for ; Sun, 22 Jan 2012 11:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=E+cCl2aGZadwJgJ7scEgLkGA2C3KuheX7/ME15MIwBw=; b=DZyriEcsoy/sQqO/VDa0NYqQjIs7gJoTQkmx0qODvpoTZtcPnXlWkURleblPPcfPPA 9Z+3kUum/w1RzeHpKiqLoYgbiE89k2Cn5WC/2Ulzi1WqfVTSf1skO3cAQZ/UqW0h6CXh YEtYkJSZMnz6SmS55z+j7osr1p5zEu7t2sakA= MIME-Version: 1.0 Received: by 10.216.135.194 with SMTP id u44mr2940791wei.40.1327262331370; Sun, 22 Jan 2012 11:58:51 -0800 (PST) Received: by 10.180.8.103 with HTTP; Sun, 22 Jan 2012 11:58:51 -0800 (PST) Date: Sun, 22 Jan 2012 14:58:51 -0500 Message-ID: Subject: exit-hook is undocumented and is not called from a non-interactive environment From: Andrew Psaltis To: bug-guile@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 22 Jan 2012 15:32:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Currently using guile version 1.8.8. I have been told that this also affects the current upstream version as well. My current project involves using a C library that has some initialization and cleanup functions. First: The library initialization part is well-handled, but I could not find a way to do the library cleanup part. After doing some web searches, I found an answer in "exit-hook", except that it was not clear from the Guile reference manual that it existed. It should probably be documented a little more clearly. Second: When I write a scheme script that adds some function to exit-hook, it is not invoked from a non-interactive call to guile. I have a file test.scm that looks like so: (add-hook! exit-hook (lambda () (display "bye\n"))) In an interactive environment: $ guile -l test.scm guile> (exit) bye $ In a non-interactive environment: $ guile -s test.scm $ Nothing is printed. As far as I can tell, exit-hook should be made available in a non-interactive environment so that modules loading libraries can cleanup easily. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 21:15:15 2012 Received: (at 10581) by debbugs.gnu.org; 23 Jan 2012 02:15:16 +0000 Received: from localhost ([127.0.0.1]:40359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp9RD-0006GK-DT for submit@debbugs.gnu.org; Sun, 22 Jan 2012 21:15:15 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:63383) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp9R9-0006G5-0p for 10581@debbugs.gnu.org; Sun, 22 Jan 2012 21:15:12 -0500 Received: by werp11 with SMTP id p11so1658507wer.3 for <10581@debbugs.gnu.org>; Sun, 22 Jan 2012 18:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=nE2mqvbTCdZTzMqFEhXBKdeFFpC637Z37uCz4SfPlZU=; b=IZHpE7kd7NLB2JLhSpVyLK+uh+/AOsreML7Sswi/HZUN6XF4qty1/u+o8wuJVOE9gw DFG3sxYbay9KbsDVRoS2C2TU+JQ9gfvUQ+jN/bwuAmeVS8iahvv+ZdgiC/rVYVm0oRPl 4hYYXgxp6lQAfFjhUc9N6d0kxqIdL+bzaHeSY= Received: by 10.216.138.220 with SMTP id a70mr3571418wej.24.1327284893427; Sun, 22 Jan 2012 18:14:53 -0800 (PST) Received: from Kagami.home (host109-158-226-141.range109-158.btcentralplus.com. [109.158.226.141]) by mx.google.com with ESMTPS id q7sm10430361wix.5.2012.01.22.18.14.51 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jan 2012 18:14:52 -0800 (PST) From: Ian Price To: Andrew Psaltis Subject: Re: bug#10581: exit-hook is undocumented and is not called from a non-interactive environment References: Date: Mon, 23 Jan 2012 02:08:14 +0000 In-Reply-To: (Andrew Psaltis's message of "Sun, 22 Jan 2012 14:58:51 -0500") Message-ID: <8739b7dvch.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10581 Cc: 10581@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) --=-=-= Andrew Psaltis writes: > Second: > When I write a scheme script that adds some function to exit-hook, it > is not invoked from a non-interactive call to guile. I have a file > test.scm that looks like so: > > (add-hook! exit-hook (lambda () (display "bye\n"))) > > In an interactive environment: > > $ guile -l test.scm > guile> (exit) > bye > $ > > In a non-interactive environment: > $ guile -s test.scm > $ > > Nothing is printed. As far as I can tell, exit-hook should be made > available in a non-interactive environment so that modules loading > libraries can cleanup easily. Assuming exit-hook is supposed to do this, and I would presume it is meant to. I have a patch which will implement this for stable-2.0. Basically, I wrap everything in a large catch, and when guile gets a 'quit exception it runs the exit hooks before throwing the exception again. As far as I can see, this covers the case where guile exits normally either by use of quit/exit, or just by finishing the script. It does _not_ perform the cleanup if guile quits because of an uncaught exception, but if someone thinks this is desirable, it should be a matter of changing the catch. I'm not quite sure how to add a test case for this though. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Run-exit-hook-when-scripts-finish-normally.patch Content-Description: exit-hook patch >From baaf226cb91a41de66b7dc663c433c67f1c0f0e5 Mon Sep 17 00:00:00 2001 From: Ian Price Date: Sun, 22 Jan 2012 19:47:16 +0000 Subject: [PATCH] Run exit-hook when scripts finish normally. * module/ice-9/command-line.scm (compile-shell-switches): Wrap the body of the output expression in a catch for `quit' exceptions, so that we can run the `exit-hook'. --- module/ice-9/command-line.scm | 68 +++++++++++++++++++++------------------- 1 files changed, 36 insertions(+), 32 deletions(-) diff --git a/module/ice-9/command-line.scm b/module/ice-9/command-line.scm index 8aed74e..e33fac8 100644 --- a/module/ice-9/command-line.scm +++ b/module/ice-9/command-line.scm @@ -385,38 +385,42 @@ If FILE begins with `-' the -s switch is mandatory. `(;; It would be nice not to load up (ice-9 control), but the ;; default-prompt-handler is nontrivial. (@ (ice-9 control) %) - (begin - ;; If we didn't end with a -c or a -s and didn't supply a -q, load - ;; the user's customization file. - ,@(if (and interactive? (not inhibit-user-init?)) - '((load-user-init)) - '()) - - ;; Use-specified extensions. - ,@(map (lambda (ext) - `(set! %load-extensions (cons ,ext %load-extensions))) - user-extensions) - - ;; Add the user-specified load path here, so it won't be in - ;; effect during the loading of the user's customization file. - ,@(map (lambda (path) - `(set! %load-path (cons ,path %load-path))) - user-load-path) - - ;; Put accumulated actions in their correct order. - ,@(reverse! out) - - ;; Handle the `-e' switch, if it was specified. - ,@(if entry-point - `((,entry-point (command-line))) - '()) - ,(if interactive? - ;; If we didn't end with a -c or a -s, start the - ;; repl. - '((@ (ice-9 top-repl) top-repl)) - ;; Otherwise, after doing all the other actions - ;; prescribed by the command line, quit. - '(quit))))) + (catch 'quit + (lambda () + ;; If we didn't end with a -c or a -s and didn't supply a -q, load + ;; the user's customization file. + ,@(if (and interactive? (not inhibit-user-init?)) + '((load-user-init)) + '()) + + ;; Use-specified extensions. + ,@(map (lambda (ext) + `(set! %load-extensions (cons ,ext %load-extensions))) + user-extensions) + + ;; Add the user-specified load path here, so it won't be in + ;; effect during the loading of the user's customization file. + ,@(map (lambda (path) + `(set! %load-path (cons ,path %load-path))) + user-load-path) + + ;; Put accumulated actions in their correct order. + ,@(reverse! out) + + ;; Handle the `-e' switch, if it was specified. + ,@(if entry-point + `((,entry-point (command-line))) + '()) + ,(if interactive? + ;; If we didn't end with a -c or a -s, start the + ;; repl. + '((@ (ice-9 top-repl) top-repl)) + ;; Otherwise, after doing all the other actions + ;; prescribed by the command line, quit. + '(quit))) + (lambda args + (run-hook exit-hook) + (apply throw args))))) (if (pair? args) (begin -- 1.7.7.5 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 06:51:34 2012 Received: (at 10581) by debbugs.gnu.org; 5 Feb 2012 11:51:34 +0000 Received: from localhost ([127.0.0.1]:55010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru0d1-0007E1-C7 for submit@debbugs.gnu.org; Sun, 05 Feb 2012 06:51:33 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:57372 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru0cx-0007Ds-89 for 10581@debbugs.gnu.org; Sun, 05 Feb 2012 06:51:29 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id CE0FD837B; Sun, 5 Feb 2012 06:50:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=fibRm16d5dzdHpFiBNRYkOgYQlQ=; b=RXLqA1 2nObKreuqQXWtXDyFmWqHzeS+R9oQB+ikd2t5tEt2U9ZKXB1z+ewIScEEXaVwj9+ gVjxqOZg8ogUWqVOAuOcsL2aEQYFmfF6Wilvu3JKSCuQh1PNTWHN5a0pTMrme4cZ Pf/S5Vw5TBiPK2wrrEi+SgRfJP37kigsrR64g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=PninRlIAKoxicf9QDxhZ4FMjixvD+kTY 9lf+A9EUkLm/1uwtB0n4ua6Gil7NUhXJm6RnXf09bgIzCDydkf8xVvK0cnc8QJrq DL4RgojawI5XVZrA5HNotkzH9hYDVRJpcNqOdBptZQwyh+KrWyX4gsFkNTuZ67G8 tY09CCEfYug= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BF53E837A; Sun, 5 Feb 2012 06:50:42 -0500 (EST) Received: from badger (unknown [193.191.37.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 487368379; Sun, 5 Feb 2012 06:50:42 -0500 (EST) From: Andy Wingo To: Andrew Psaltis Subject: Re: bug#10581: exit-hook is undocumented and is not called from a non-interactive environment References: Date: Sun, 05 Feb 2012 12:50:39 +0100 In-Reply-To: (Andrew Psaltis's message of "Sun, 22 Jan 2012 14:58:51 -0500") Message-ID: <87r4y9h52o.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: A18B7112-4FEF-11E1-9385-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10581 Cc: 10581@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hi Andrew, On Sun 22 Jan 2012 20:58, Andrew Psaltis writes: > After doing some web searches, I found an answer in "exit-hook", > except that it was not clear from the Guile reference manual that it > existed. It should probably be documented a little more clearly. It's not documented at all, actually. It was added in 1998 to boot-9.scm with the following comment: ;;; This hook is run at the very end of an interactive session. ;;; (define exit-hook (make-hook)) It has not been changed since then. > When I write a scheme script that adds some function to exit-hook, it > is not invoked from a non-interactive call to guile. Indeed, as the comment notes. I think it's fair to say that this is a historical interface, and that it probably shouldn't be changed. Why not use atexit(), if you need to clean up the C library? Just wondering. Andy -- http://wingolog.org/ From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 14:21:08 2012 Received: (at 10581) by debbugs.gnu.org; 5 Feb 2012 19:21:08 +0000 Received: from localhost ([127.0.0.1]:55841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru7e7-0005Uh-EA for submit@debbugs.gnu.org; Sun, 05 Feb 2012 14:21:08 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:48600) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru7e5-0005UE-LA for 10581@debbugs.gnu.org; Sun, 05 Feb 2012 14:21:06 -0500 Received: by werm10 with SMTP id m10so3872219wer.3 for <10581@debbugs.gnu.org>; Sun, 05 Feb 2012 11:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=lTauh4XghpOqp8K2AmIntUXQpcYqomXPTyrO/OZbWp0=; b=OyBs7wdJpcszLlDU4HXeH2A780mMxLDsxfdVcFAjJlvOSXqRg4GajmOq9gjpjobUL9 79xTUVekPAgMkUpXb7oyw9OsFSQPk9WuSFGlG4eGaSTb7jx3aWBerm9fUkFnAsJAEy5o oeqq6HjC7tjyYV+9DSTj2MpoylHBV6v2epiOc= MIME-Version: 1.0 Received: by 10.216.132.148 with SMTP id o20mr2247380wei.33.1328469613704; Sun, 05 Feb 2012 11:20:13 -0800 (PST) Received: by 10.180.96.225 with HTTP; Sun, 5 Feb 2012 11:20:13 -0800 (PST) In-Reply-To: <87r4y9h52o.fsf@pobox.com> References: <87r4y9h52o.fsf@pobox.com> Date: Sun, 5 Feb 2012 14:20:13 -0500 Message-ID: Subject: Re: bug#10581: exit-hook is undocumented and is not called from a non-interactive environment From: Andrew Psaltis To: Andy Wingo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10581 Cc: 10581@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Feb 5, 2012 at 06:50, Andy Wingo wrote: > Hi Andrew, > > On Sun 22 Jan 2012 20:58, Andrew Psaltis writes: > >> After doing some web searches, I found an answer in "exit-hook", >> except that it was not clear from the Guile reference manual that it >> existed. =C2=A0It should probably be documented a little more clearly. > > It's not documented at all, actually. =C2=A0It was added in 1998 to > boot-9.scm with the following comment: > > =C2=A0;;; This hook is run at the very end of an interactive session. > =C2=A0;;; > =C2=A0(define exit-hook (make-hook)) > > It has not been changed since then. > Ah, yes. >> When I write a scheme script that adds some function to exit-hook, it >> is not invoked from a non-interactive call to guile. > > Indeed, as the comment notes. > > I think it's fair to say that this is a historical interface, and that > it probably shouldn't be changed. > > Why not use atexit(), if you need to clean up the C library? =C2=A0Just > wondering. > That would be because I forgot that it existed. I probably should just use that instead. Thanks. ~Andrew From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 06 08:16:36 2012 Received: (at 10581-done) by debbugs.gnu.org; 6 Jul 2012 12:16:36 +0000 Received: from localhost ([127.0.0.1]:51560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sn7Sc-0002UI-Gv for submit@debbugs.gnu.org; Fri, 06 Jul 2012 08:16:35 -0400 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:36984 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sn7SZ-0002U6-U0 for 10581-done@debbugs.gnu.org; Fri, 06 Jul 2012 08:16:33 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id EB4CAB3C5 for <10581-done@debbugs.gnu.org>; Fri, 6 Jul 2012 08:11:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=wN88LOOgf5RRBlxwaFQXiHpJzEY=; b=tUDQbj dAjvh9BB8a7DXbo9BOkfltHBB919EuNIGwyLSTRS5HkszT8nZyhRZVbT8hrLsc8q LzhQPdLzycxHaTAGdW9/XBm0FCtbaemQUlBEFXZ+rJ4fUOpqtBdgE1/2T/w+LKxm yQ/xln9SeAxmBiosaG+KlvkqwKYOOj81C4LQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=IuYHYtrH7F27oJrxsmQzpiVqk2cc7sYs rr2/g87qQBh7IW5Ezpxi2jeDazR4D2t0Vm/gM/9cFK9wuAeH6SNGqNpNB/Yl0NYn t39NwELkD0uHtI5X1n1dFNShHIxxEXWaJ5nkb44KCH1kdvsTLuTciJqWMDl/E8KD QN3qrap3jSQ= Received: from b-pb-sasl-sd. (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E4F18B3C4 for <10581-done@debbugs.gnu.org>; Fri, 6 Jul 2012 08:11:33 -0400 (EDT) Received: from badger (unknown [89.131.176.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 27559B3B9 for <10581-done@debbugs.gnu.org>; Fri, 6 Jul 2012 08:11:33 -0400 (EDT) From: Andy Wingo To: 10581-done@debbugs.gnu.org Subject: Re: bug#10581: exit-hook is undocumented and is not called from a non-interactive environment References: <87r4y9h52o.fsf@pobox.com> Date: Fri, 06 Jul 2012 13:21:41 +0200 In-Reply-To: <87r4y9h52o.fsf@pobox.com> (Andy Wingo's message of "Sun, 05 Feb 2012 12:50:39 +0100") Message-ID: <87fw95yw1m.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: B9F19218-C763-11E1-9FD4-FA6787E41631-02397024!b-pb-sasl-sd.pobox.com X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10581-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hi, Closing out this bug, as it seems that the current situation shouldn't be changed, and also that atexit sounds sufficient. Please open a new report if you still have issues :) Regards, Andy -- http://wingolog.org/ From unknown Sat Jun 21 10:20:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Aug 2012 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator