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: Fri, 31 Aug 2018 10:00:08 -0400 Message-ID: <7152691535724008@iva7-7c2970ec7645.qloud-c.yandex.net> References: <1871411535582940@sas1-d856b3d759c7.qloud-c.yandex.net> <87in3rbabx.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1535723947 31330 195.159.176.226 (31 Aug 2018 13:59:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2018 13:59:07 +0000 (UTC) Cc: "32580@debbugs.gnu.org" <32580@debbugs.gnu.org> To: Maxim Cournoyer Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Aug 31 15:59:03 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 1fvjx0-0007yE-H1 for guile-bugs@m.gmane.org; Fri, 31 Aug 2018 15:59:02 +0200 Original-Received: from localhost ([::1]:53865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvjz7-0003LR-0V for guile-bugs@m.gmane.org; Fri, 31 Aug 2018 10:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvjyz-0003J6-Ia for bug-guile@gnu.org; Fri, 31 Aug 2018 10:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvjyw-0004sY-CW for bug-guile@gnu.org; Fri, 31 Aug 2018 10:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35721) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvjyw-0004sU-3i for bug-guile@gnu.org; Fri, 31 Aug 2018 10:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvjyw-0004Pz-2b for bug-guile@gnu.org; Fri, 31 Aug 2018 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: seamus phenetols Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 31 Aug 2018 14:01: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.153572402116927 (code B ref 32580); Fri, 31 Aug 2018 14:01:02 +0000 Original-Received: (at 32580) by debbugs.gnu.org; 31 Aug 2018 14:00:21 +0000 Original-Received: from localhost ([127.0.0.1]:40739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvjyH-0004Ox-1T for submit@debbugs.gnu.org; Fri, 31 Aug 2018 10:00:21 -0400 Original-Received: from forward4o.cmail.yandex.net ([37.9.109.248]:55035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvjyC-0004Oh-MF for 32580@debbugs.gnu.org; Fri, 31 Aug 2018 10:00:19 -0400 Original-Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id EF66B2112F; Fri, 31 Aug 2018 17:00:09 +0300 (MSK) Original-Received: from localhost (localhost [::1]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Bbq0wyenX3-08fGTmDH; Fri, 31 Aug 2018 17:00:08 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1535724008; bh=NzhGeJZTcqpMM0kR9JFg3tZR4tc9jp4+37EhIWfTexs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:Message-Id; b=raqpL9xn4SSVzb5qrhEXksHStSH96Ogkgg/x/P/nZY8zxeUpadFCWFEsR6eMZK9ga V8buXHsrIp7aiicnmM+F530hNOLelcrTVy45FjkKo0BWZMePas6TDgtpzfa7ZF6sev Aw7CZQ4kiHE9ucRe8qsDdCH4TRcYjXjcAKQIZ2Ko= Authentication-Results: mxback12g.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by iva7-7c2970ec7645.qloud-c.yandex.net with HTTP; Fri, 31 Aug 2018 17:00:08 +0300 In-Reply-To: <87in3rbabx.fsf@gmail.com> X-Mailer: Yamail [ http://yandex.ru ] 5.0 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:9143 Archived-At: Hello MC, > 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). I assumed ~/.guile would be evaluated before any script. Perhaps I am mistaken. > Try exporting the GUILE_AUTO_COMPILE variable before running your > program, or setting it inline in front of your guile command: Yes, that does work. Now every time I want to disable autocompile I must: GUILE_AUTO_COMPILE=0 guile ~/scheme/hello.scm If there is a hello.go under $XDG_CACHE_HOME/guile then it will be used anyway unless it is considered out of date. I would very much prefer to: eliminate the unnecessary chatter when no warnings or errors occur OR disable the auto-compile feature in ~/.guile. If these aren't possible, then I suppose I can make a shell alias or function for: GUILE_AUTO_COMPILE=0 guile > 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 :) %load-should-autocompile was mentioned in IRC by the person who asked me to report this as a bug. It's also present in some commit messages I found by a general web search. Thanks.