From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Abou Samra Newsgroups: gmane.lisp.guile.bugs Subject: bug#50060: The REPL does not honor --no-auto-compile Date: Sat, 14 Aug 2021 21:41:31 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10969"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: 50060@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sat Aug 14 21:42:26 2021 Return-path: Envelope-to: guile-bugs@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 1mEzY2-0002ci-7r for guile-bugs@m.gmane-mx.org; Sat, 14 Aug 2021 21:42:26 +0200 Original-Received: from localhost ([::1]:60072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEzY0-0000Hj-Ur for guile-bugs@m.gmane-mx.org; Sat, 14 Aug 2021 15:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEzXe-0000HW-AZ for bug-guile@gnu.org; Sat, 14 Aug 2021 15:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEzXe-0004vd-3t for bug-guile@gnu.org; Sat, 14 Aug 2021 15:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEzXd-0005Sp-Tv for bug-guile@gnu.org; Sat, 14 Aug 2021 15:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Abou Samra Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 14 Aug 2021 19:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50060 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162897010420972 (code B ref -1); Sat, 14 Aug 2021 19:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Aug 2021 19:41:44 +0000 Original-Received: from localhost ([127.0.0.1]:45443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEzXI-0005S9-Uh for submit@debbugs.gnu.org; Sat, 14 Aug 2021 15:41:44 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEzXD-0005Rt-Q7 for submit@debbugs.gnu.org; Sat, 14 Aug 2021 15:41:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEzXD-0000Gq-DU for bug-guile@gnu.org; Sat, 14 Aug 2021 15:41:35 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:46045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEzXB-0004Ye-Jz for bug-guile@gnu.org; Sat, 14 Aug 2021 15:41:35 -0400 Original-Received: from [192.168.1.130] ([82.65.251.18]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.168]) with ESMTPSA (Nemesis) id 1Mbies-1mnlaP2Qc2-00dG5J for ; Sat, 14 Aug 2021 21:41:31 +0200 Content-Language: en-US X-Provags-ID: V03:K1:ls5mamzYiml8C+H4SMC1Q5GWaJjlvcrDZJHVtwNjlcKPzyn3t2O MiytnRIVgYEtHiBNSU+Roj9qsHC07LFCKZERk1DMMTmEm5VrkujvuB6S348E1ylJJVoTcg9 DiZg/HK87rmge6z3zo4OBlxItnfIXCPCay8mBUAgS8maw003zB3VKGCpl2nGQ2QG3t+i4X5 +qsb0YKP4bL+IyDkQ0FCQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:2z2NpGg0CVU=:Lc6besMtohPgOC9RaAFZiI HECZSSFFs/dkbXLWHikhg6WCDHO6EppxJobPfO4JDE7N9x5ViL9UK7k+0Kaay46xnRiuhBEXn U/S1cMGQs8nYUHfrwgoXw92A90fFFb98f2cLaNmjkGlnGTpIUkLbtVRUUibal6LXSRdVzQpO+ hvR/W211k7VdZmi/rQMgTZyHT3DMUHXBr3PelbOzZw9azp6tknCqwOeHgXxn5NmY8oEOFCIy9 M77C3laK/Hf+6RDJbgXQqKeGjMJR+ooY1t2SzA+QOxXsjd5c0Ibp2p4Yoe5vEzgEqL/qYFwmJ uhC3b5822LHvp/heZaayvVchqrVv7xRGUtg2CyRkc9QAq22GLU7P42gNXGbQLj6Xr5iMsnYhF T5BnExuJRr39rRZb4FOJfF101DJl7JpsQlR03LMjgCvH3V+X4d1Jn1IRX0Rx64B069O/Ixwlz s66RKuLP42HXp4nyKP3hzSGFhwTyCJ6kaWgjVqJtV5BAX+5riA40hxL2Uu3l4TzZuPJZ8baVG FialQ5SmbKyFS5i5M/3JTKSckQvG1WckJS1nbWxqo3hdOPrKFlmgqsN2+A2APrC5MXL/FdtR9 q1CW6t8YuyvHhQB9ih9LsPIobX5V8p/NO4RE3Oe0Pm5W+94u30P73d38Nz5aq9k8WGXSS8LyT HQnpREQFyoHIMMQqsXUvuHCkfbLmjpCNbN4F6HZZS1xidpR1H+X93CRfi+BKtsjAoUFvGJTQ+ I4QAsa2NrgG/oB9OJ1Ee9dNll+KPN2ikCyMgIbKY+lMrzriXQjKI4gGiSMJGozGfAR+jFOoa Received-SPF: none client-ip=212.227.126.133; envelope-from=jean@abou-samra.fr; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10165 Archived-At: Even when guile is run with --no-auto-compile, the REPL still seems to be compiling the source. $ guile --no-auto-compile GNU Guile 3.0.5.130-5a1e7 [Legalese…] scheme@(guile-user)> unbound-variable ;;; :1:0: warning: possibly unbound variable `unbound-variable' [Backtrace…] This "possibly unbound variable" warning comes from compilation (which can be seen by putting the same code in a script and running with or without auto-compilation). This is annoying, because in the REPL the code is run immediately and we don't need the warning about a "possibly unbound variable" just before the actual error. In fact, it would seem desirable to make "no auto-compilation" the default for the REPL. Code run there is typically not performance-sensitive. (Originally reported at https://lists.gnu.org/archive/html/guile-user/2021-06/msg00065.html.)