From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Dion Newsgroups: gmane.lisp.guile.user Subject: Re: Quiet compilation for scripting Date: Fri, 15 Mar 2024 14:51:51 -0400 Message-ID: <875xxn9vlk.fsf@laura> References: <874jd7nycq.fsf@free-comp-shop.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="24566"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, guile-user@gnu.org To: Keith Wright Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 15 19:52:29 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 1rlCfK-00064y-JG for guile-user@m.gmane-mx.org; Fri, 15 Mar 2024 19:52:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlCex-0005HZ-8y; Fri, 15 Mar 2024 14:52:03 -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 1rlCev-0005HH-0E for guile-user@gnu.org; Fri, 15 Mar 2024 14:52:01 -0400 Original-Received: from smtp.polymtl.ca ([132.207.4.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlCet-00047U-6v for guile-user@gnu.org; Fri, 15 Mar 2024 14:52:00 -0400 Original-Received: from localhost ([209.209.33.179]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 42FIpp1w014419; Fri, 15 Mar 2024 14:51:56 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 42FIpp1w014419 In-Reply-To: <874jd7nycq.fsf@free-comp-shop.com> X-Poly-FromMTA: ([209.209.33.179]) at Fri, 15 Mar 2024 18:51:51 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:19476 Archived-At: On Fri, 15 Mar 2024, Keith Wright wrote: > Olivier Dion writes: > >>>> Like the warning says, you ought to either use the GUILE_AUTO_COMPILE >>>> environment variable or use the `--no-auto-compile' switch. >>>> Unfortunately, there is no `--quiet' or `--warning=/dev/null' option. >>> >>> I think the OP is fine with autocompilation (I even guess they expect >>> it, i.e. changing the source file and getting old behaviour would be >>> a surprise), they just want it to happen silently (as Tomas has hinted >>> at). >> >> Not possible unfortunately :-( > > Why would this be unfortunate? This seems like a feature (non-bug). I think most of Guile user actually want this feature for a long time. I can understand. > If it is autocompiling something you think is already compiled > then either your thought or the build/make/autocompile system is > buggy. It depends. You do not want to auto-compile script do you? You certainly do not want user to see this after installing your script. As for none-script files, I actually like the auto-compile warning. It tells me about changes in my project. -- Olivier Dion oldiob.ca