From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: seamus phenetols Newsgroups: gmane.lisp.guile.bugs Subject: bug#32580: Setting variables %load-should-autocompile and GUILE_AUTO_COMPILE in ~/.guile doesn't prevent compiling Date: Wed, 29 Aug 2018 18:49:00 -0400 Message-ID: <1871411535582940@sas1-d856b3d759c7.qloud-c.yandex.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1535586306 3056 195.159.176.226 (29 Aug 2018 23:45:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 23:45:06 +0000 (UTC) To: 32580@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Aug 30 01:45:02 2018 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvA90-0000dJ-0n for guile-bugs@m.gmane.org; Thu, 30 Aug 2018 01:45:02 +0200 Original-Received: from localhost ([::1]:45379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvAB6-0008QO-9l for guile-bugs@m.gmane.org; Wed, 29 Aug 2018 19:47:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvAB0-0008QI-8k for bug-guile@gnu.org; Wed, 29 Aug 2018 19:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvAAx-0006oU-4W for bug-guile@gnu.org; Wed, 29 Aug 2018 19:47:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60859) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvAAw-0006oG-Rd for bug-guile@gnu.org; Wed, 29 Aug 2018 19:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvAAw-0004kC-IW for bug-guile@gnu.org; Wed, 29 Aug 2018 19:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: seamus phenetols Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 29 Aug 2018 23:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32580 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153558639018185 (code B ref -1); Wed, 29 Aug 2018 23:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Aug 2018 23:46:30 +0000 Original-Received: from localhost ([127.0.0.1]:37644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvAAP-0004jE-Au for submit@debbugs.gnu.org; Wed, 29 Aug 2018 19:46:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fv9H1-0001KS-6v for submit@debbugs.gnu.org; Wed, 29 Aug 2018 18:49:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv9Gv-0006FU-5e for submit@debbugs.gnu.org; Wed, 29 Aug 2018 18:49:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv9Gv-0006FK-1s for submit@debbugs.gnu.org; Wed, 29 Aug 2018 18:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv9Gu-0001ip-2I for bug-guile@gnu.org; Wed, 29 Aug 2018 18:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv9Gq-0006DJ-Sa for bug-guile@gnu.org; Wed, 29 Aug 2018 18:49:08 -0400 Original-Received: from forward104j.mail.yandex.net ([5.45.198.247]:41669) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv9Gq-0006Af-FS for bug-guile@gnu.org; Wed, 29 Aug 2018 18:49:04 -0400 Original-Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 359F943A7E for ; Thu, 30 Aug 2018 01:49:01 +0300 (MSK) Original-Received: from localhost (localhost [::1]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id uDpBnvd0Yp-n0uGkN7C; Thu, 30 Aug 2018 01:49:00 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1535582940; bh=maiLDdqkg2nKAzD3cCvIGIQlFlSsE+ZTLS+Qsby0WGM=; h=From:To:Subject:Date:Message-Id; b=fXqBv8V9ntNpA3rfHTjQQxj2ZAo7h023Rddea0zb7T3nfHi2Jgowb94GmjD5sIAcL W0HexFYMfi1ouSUeGVPOQGlrArZzhSa4wEnIwBBPsmQ4Hzrbn98Zj2AN21l/A+4SxN cJEHW1dr+MzXUyF9vUo01UbZBegiuBTckEVm+z7g= Authentication-Results: mxback2j.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by sas1-d856b3d759c7.qloud-c.yandex.net with HTTP; Thu, 30 Aug 2018 01:49:00 +0300 X-Mailer: Yamail [ http://yandex.ru ] 5.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 29 Aug 2018 19:46:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9141 Archived-At: I'm new to guile and scheme. I compiled 2.2.4 from source yesterday. I wish to silence the auto-compile chatter, other than real warnings and errors while testing my programs. There seems to be no way to do it, so I looked for a way to disable auto-compile in ~/.guile configuration file. No luck so far, but the variables %load-should-autocompile and GUILE_AUTO_COMPILE seem promising. Sadly, they don't seem to prevent auto-compile when set within ~/.guile. Below is an excerpt of my shell session to demonstrate. In case it may be poorly formatted, I could make a web paste for easy viewing. $ rm -R $XDG_CACHE_HOME/guile/ccache rm: cannot remove '/home/me/.cache/guile/ccache': No such file or directory $ rm ~/.guile rm: cannot remove '/home/me/.guile': No such file or directory $ $ printf %s\\n '(display "Hello world!")' '(newline)' | tee ~/scheme/hello.scm (display "Hello world!") (newline) $ $ guile ~/scheme/hello.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/me/scheme/hello.scm ;;; compiled /home/me/.cache/guile/ccache/2.2-LE-8-3.A/media/data/me/scheme/hello.scm.go Hello world! $ $ rm -R $XDG_CACHE_HOME/guile/ccache $ $ printf %s\\n '(setenv "GUILE_AUTO_COMPILE" "0")' '(set! %load-should-autocompile #f)' | tee ~/.guile (setenv "GUILE_AUTO_COMPILE" "0") (set! %load-should-autocompile #f) $ $ guile ~/scheme/hello.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/me/scheme/hello.scm ;;; compiled /home/me/.cache/guile/ccache/2.2-LE-8-3.A/media/data/me/scheme/hello.scm.go Hello world! $ $ guile --version guile (GNU Guile) 2.2.4 Copyright (C) 2018 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ ls --full-time -gGh ~/Downloads/src/guile-2.2.4.tar.gz -rw-r--r-- 1 18M 2018-08-24 17:37:08.405232060 -0400 /home/me/Downloads/src/guile-2.2.4.tar.gz $