From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ksoft@sent.com Newsgroups: gmane.lisp.guile.user Subject: Quiet compilation for scripting Date: Fri, 15 Mar 2024 12:15:33 -0500 Message-ID: <4f8f12d4-92f9-4183-b094-3b04f52c9f95@app.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9691"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.11.0-alpha0-300-gdee1775a43-fm-20240315.001-gdee1775a To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 15 18:16:52 2024 Return-path: Envelope-to: guile-user@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 1rlBAp-0002Ju-OO for guile-user@m.gmane-mx.org; Fri, 15 Mar 2024 18:16:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlBAJ-0005XM-GC; Fri, 15 Mar 2024 13:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlBAH-0005WH-S6 for guile-user@gnu.org; Fri, 15 Mar 2024 13:16:18 -0400 Original-Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlBAE-0004iV-Cl for guile-user@gnu.org; Fri, 15 Mar 2024 13:16:16 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 0A2521800087 for ; Fri, 15 Mar 2024 13:16:09 -0400 (EDT) Original-Received: from imap51 ([10.202.2.101]) by compute2.internal (MEProxy); Fri, 15 Mar 2024 13:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sent.com; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1710522968; x=1710609368; bh=rYfuO/s80NZ8B1ULld+Dns1T41bjF4Ng hSj7JaZBnwE=; b=CNIesQRTSnDvyU6s6dKQLjsyxPwzCmMMXbcSuSCLan6FJ6NE l6SXK/XK3hNXeTN1s3U9mgAlj2AHa/7MLfeFoCN4kvVNRVD80SBAgdaEHla6boq1 ausN0NHw2Mutp76l1epsaGj3+Sk37mIXC/F2Io4QIMwQ0l71N25AgTr0iVDi0mJ+ cba+JiR0MafNSmuvHFMURnKL6AVGQKPrKGi6wiNXl5zeihuDlAguTaGxaXwe246I CrSXLjkJNTedWTkTRfC3m/sR1CUcJZKuCQ+4xLL+QSbf2SqufJO5uMNjB0cqKDlA 9K9iaV28OMMqGBIHnvoWlNWPc2Um3IpbYbBz6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1710522968; x=1710609368; bh=rYfuO/s80NZ8B1ULld+Dns1T41bjF4NghSj 7JaZBnwE=; b=eELohWYR1z7I42Oz7iE06dPvjZrhgjtKBk5oxyG3ORukevF06VV BGHoQojapMf/AUlVUzcCTOaNLgY7Tor1Yc7mrXeBdiuOacKfCBJ7mVd4N8J3mREZ Avrj2JRpFCQCD7MQ07ipitvR1dlei04rO5gNCNXaQ5e4w8NPnvUlCiqIAuacC5wG l1d/cPHDEqfTIXRrF5NSzADp/FRUxX1G4ONvmj2qwTchS90eh/VTgJjeMD/8kA1c 1ocLKh5yK6D4gjz9KaGKyoh0o4UV7FTrYPAl15ROjFqcYWOBNnoZNF5cKMh+5XOU 9C+ly4VustOxdBxOhd3GE1dMtpRqN7uELdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeelgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesrgdtreerre ertdenucfhrhhomhepkhhsohhfthesshgvnhhtrdgtohhmnecuggftrfgrthhtvghrnhep feekhfehvddvtedufeejheeileethedthfelffdvieehgefhjeevueejueehjefgnecuff homhgrihhnpehgnhhurdhorhhgpdguvggsihgrnhdrohhrghenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkshhofhhtsehsvghnthdrtghomh X-ME-Proxy: Feedback-ID: i91714646:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3E693B6008D; Fri, 15 Mar 2024 13:16:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Received-SPF: pass client-ip=64.147.123.152; envelope-from=ksoft@sent.com; helo=wfhigh1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19470 Archived-At: I am in the process of rewriting in Guile a script that I use regularly. Running Guile 3.0.9, when I execute a file containing #!/usr/local/bin/guile -s !# (display "Hello, mailing list!") (newline) the following is printed to standard error: ;;; note: source file /Users/me/./test.scm ;;; newer than compiled /Users/me/.cache/guile/ccache/3.0-LE-8-4.6/Users/me/test.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /Users/me/./test.scm ;;; compiled /Users/me/.cache/guile/ccache/3.0-LE-8-4.6/Users/me/test.scm.go While not showstopping, it would be preferable if there were a way to suppress the message. This has been mentioned here and in other venues previously [1][2][3], but the last mention was over 10 years ago and perusal of the Guile manual suggests nothing toward this end has been implemented yet. Would adding a --quiet switch cause breakage? Best, Kevin [1] https://lists.gnu.org/archive/html/guile-user/2011-03/msg00002.html [2] https://lists.gnu.org/archive/html/guile-devel/2011-03/msg00373.html [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734009