From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Maxim Cournoyer Newsgroups: gmane.lisp.guile.bugs Subject: bug#32580: Setting variables %load-should-autocompile and GUILE_AUTO_COMPILE in ~/.guile doesn't prevent compiling Date: Thu, 30 Aug 2018 21:20:50 -0400 Message-ID: <87in3rbabx.fsf@gmail.com> References: <1871411535582940@sas1-d856b3d759c7.qloud-c.yandex.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535678346 26901 195.159.176.226 (31 Aug 2018 01:19:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2018 01:19:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 32580@debbugs.gnu.org To: seamus phenetols Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Aug 31 03:19: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 1fvY5V-0006p9-Hr for guile-bugs@m.gmane.org; Fri, 31 Aug 2018 03:19:01 +0200 Original-Received: from localhost ([::1]:51466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvY7b-0005L9-Kl for guile-bugs@m.gmane.org; Thu, 30 Aug 2018 21:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvY7W-0005L4-Lv for bug-guile@gnu.org; Thu, 30 Aug 2018 21:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvY7S-0000Fc-N8 for bug-guile@gnu.org; Thu, 30 Aug 2018 21:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvY7S-0000FY-Il for bug-guile@gnu.org; Thu, 30 Aug 2018 21:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvY7S-0002RT-Eb for bug-guile@gnu.org; Thu, 30 Aug 2018 21:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 31 Aug 2018 01:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32580 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 32580-submit@debbugs.gnu.org id=B32580.15356784609358 (code B ref 32580); Fri, 31 Aug 2018 01:21:02 +0000 Original-Received: (at 32580) by debbugs.gnu.org; 31 Aug 2018 01:21:00 +0000 Original-Received: from localhost ([127.0.0.1]:39600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvY7P-0002Qs-RR for submit@debbugs.gnu.org; Thu, 30 Aug 2018 21:21:00 -0400 Original-Received: from mail-it0-f41.google.com ([209.85.214.41]:51697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvY7N-0002Qd-Mh for 32580@debbugs.gnu.org; Thu, 30 Aug 2018 21:20:58 -0400 Original-Received: by mail-it0-f41.google.com with SMTP id e14-v6so5166321itf.1 for <32580@debbugs.gnu.org>; Thu, 30 Aug 2018 18:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VbgtQH1JrOC2HyytAZzi9E9vfTOGczRQsvG71zgU40U=; b=VIGb6QcCHxkBCacQCbmjE9wTsYkluPMw25SiMzrIki6Ao08y6NQkAfDK4bdjyqkLvk B4euDV8Pku/slOcZ0glSaQ3qkLtm2Tqx/poJ0RgI93V5uhSsc6LFsnrJ+BkmdAaQiEWI oHZB5Zdm+zAoYqX1pCgVBnpaIDtfYBVwnvkf7UAeH9T+q83L6e4OnQRjuaEkTkhbyLEc AoHP1j6C8z/SYwTc9Y1KtvLTNlF2B8DD1QbQw/7WgJV1me4B454jMDq2WvCgybKNAbzk pCrhvbKvaZTl2GvQGhqFJ+6HSYpOjAVYFtIsrHdw/9IOkXC1MrBiTRjxduVXfCM/oiNv 4rNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VbgtQH1JrOC2HyytAZzi9E9vfTOGczRQsvG71zgU40U=; b=VjV+Z6/YcAdPZm/btv2MBM2WF12esFodglvKV8X0GqH3e8sY5bvjVNky6UJH+XP51L 91a2crzYXdKlPSrQDqWOnr4aEqnDKnCHvlzHGaXYjBn9pBVI4viTQ9HaBCUOX+hocPea u9tOfbfxZhJo+RJtx3yQBdwP5ziMq9s3DHoOxEsZVvIaCwWypBa7MaRc7+8jZZqOcTlq Zq3/rB0z9qkOuaT/SumJv8iH0Ea/Hx2m0939IbSn3Rr9phiFhhbekXTMWR0Bg3kDcaiS RDsg2/Y4TOQ5HLAw/R7I92TwJiR7gBm+RtG3ZKOCVZHMyyaJ6ZBv0tNxW+utH/NPWNML smAg== X-Gm-Message-State: APzg51Ch4cIdXfmOrPpKIG3Cq1N9+7AH7vHzXmA85XJx1CNvvRe1Djmi PWKZej6EgaClAM8PwZqMdJHTMgZjOng= X-Google-Smtp-Source: ANB0VdZzZ0tGAJJMR+sRsXdNFdJPg9A7CcZ5J71jFjo6+eWzgVlYJjBEbcLhcvV8lKZCfLkEhz4xmw== X-Received: by 2002:a24:dcc3:: with SMTP id q186-v6mr3647273itg.126.1535678452124; Thu, 30 Aug 2018 18:20:52 -0700 (PDT) Original-Received: from apteryx (107-179-139-151.cpe.teksavvy.com. [107.179.139.151]) by smtp.gmail.com with ESMTPSA id d26-v6sm3178951iob.67.2018.08.30.18.20.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Aug 2018 18:20:51 -0700 (PDT) In-Reply-To: <1871411535582940@sas1-d856b3d759c7.qloud-c.yandex.net> (seamus phenetols's message of "Wed, 29 Aug 2018 18:49:00 -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:9142 Archived-At: Hello, seamus phenetols writes: > 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. My guess is that setting GUILE_AUTO_COMPILE dynamically in your ~/.guile is too late; the Guile process would have already been fire-up without it set early enough to take effect (just a guess). Try exporting the GUILE_AUTO_COMPILE variable before running your program, or setting it inline in front of your guile command: --8<---------------cut here---------------start------------->8--- guile hello.scm ;;; note: source file /home/maxim/hello.scm ;;; newer than compiled /home/maxim/.cache/guile/ccache/2.2-LE-8-3.A/home/maxim/hello.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/maxim/hello.scm ;;; compiled /home/maxim/.cache/guile/ccache/2.2-LE-8-3.A/home/maxim/hello.scm.go Hello World maxim@apteryx ~$ rm .cache/guile/ccache/2.2-LE-8-3.A/home/maxim/hello.scm.go maxim@apteryx ~$ GUILE_AUTO_COMPILE=0 guile hello.scm Hello World --8<---------------cut here---------------end--------------->8--- Where have you seen that %load-should-autocompile variable documented? It doesn't appear in the Guile Reference info manual. This doesn't seem to be a bug :) Thank you, Maxim