From unknown Fri Aug 15 19:36:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23943: Guile loads "init.scm" from the current directory Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 11 Jul 2016 07:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23943 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 23943@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1468223095640 (code B ref -1); Mon, 11 Jul 2016 07:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2016 07:44:55 +0000 Received: from localhost ([127.0.0.1]:45934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMVtf-0000AG-6s for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMVtd-0000A0-KX for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMVtX-00045G-Eh for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtX-000458-BX for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtV-0002sp-68 for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMVtP-00044r-7c for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:44 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:36406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtP-00044n-0j for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:39 -0400 Received: by mail-lf0-x22d.google.com with SMTP id q132so64044566lfe.3 for ; Mon, 11 Jul 2016 00:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=LJva8zSFMrvRvfDwQZpveJZ2djGXnk9rW6Axo/7eE3Y=; b=p5pCHiinVZ67cVCit07jlDW12RgFCoGLktfvQffnvOZM/+6kLXKFGbl3gmyzOxe1kU Ud2oDGWAiH29Ne4D8w1a/ApCkyQHY014+Sq8QGPCXxQhd+2vyJ3t48P8QUsu98WHfCKy 64/mQ/0/FJi0iRftEMCdr9Xv61cJY5EPuBPYeJyWNpJ3UyuCQVuMHvVaZFR0cxmJSYPb CYbtWjSc8jpCvuFB153PxQo7Bp5tw0q/FTVmom1B/3X4Vn69/BfLKrCTCclLahI0RShI LHT4ExQl5NxFji1CzP5D1JV0Sur5/kP9Z//Dl9jxYoWv164ymMs5aGkbuGr/babRRn8z JRJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=LJva8zSFMrvRvfDwQZpveJZ2djGXnk9rW6Axo/7eE3Y=; b=laudVaJafz8Qsg5hpbR3Gf9yntRNGv3whGAe8zOApoudhD93xbnLMmhYzyPXjtSQWo XojGPgLiL9NI+pZNsa6D7/y8WCablBAgTntSz5Jap7ew8+TVDQMJfVoYnpJ25LDrrHhQ /kdcRo8MQqebTUP3IokiZm/i5KteapD7dajAdWOq3G7n9uG/3xZoxtsZeG0qMP1i1EVz 4h/LCvmWvSuBH83b1qtMia198XoMxMDhmPOhJ4gtFau+YRc+oZqKfACGFmqlzq/52ICE kXoeErKFdu892Nr7Q3Jfds0FX3JCs/SF3530Lb7ffOyyHT7VZzEEUWl4wbwGZwzo1I6T t3ng== X-Gm-Message-State: ALyK8tK18NdcNAHe5BzGm0tz+jRU8cuW992H+sOrRjlDvjOUkWhWyF5hJj5TrCAocyRahg== X-Received: by 10.46.32.150 with SMTP id g22mr4472808lji.30.1468223077759; Mon, 11 Jul 2016 00:44:37 -0700 (PDT) Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id c129sm2463027lfb.32.2016.07.11.00.44.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 00:44:37 -0700 (PDT) From: Alex Kost Date: Mon, 11 Jul 2016 10:44:36 +0300 Message-ID: <877fcsr53v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello. If you start guile from a directory that contains "init.scm" file, it will be loaded. Try this recipe (GUILE_..._PATH are unset for a pure experiment): cd /tmp echo foo > init.scm GUILE_LOAD_COMPILED_PATH= GUILE_LOAD_PATH= guile -q And it fails with this error: guile: uncaught throw to unbound-variable: (#f Unbound variable: ~S (foo) #f) Cannot exit gracefully when init is in progress; aborting. Aborted (core dumped) I'm not sure I understand it right from the commentary in "init.c"[1], but I think this behavior is not intended, or is it? [1] http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/init.c#n238 -- Alex From unknown Fri Aug 15 19:36:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Alex Kost Subject: bug#23943: closed (Re: bug#23943: Guile loads "init.scm" from the current directory) Message-ID: References: <87h9bw40qm.fsf@pobox.com> <877fcsr53v.fsf@gmail.com> X-Gnu-PR-Message: they-closed 23943 X-Gnu-PR-Package: guile Reply-To: 23943@debbugs.gnu.org Date: Mon, 11 Jul 2016 16:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1468253282-23083-1" This is a multi-part message in MIME format... ------------=_1468253282-23083-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23943: Guile loads "init.scm" from the current directory which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23943@debbugs.gnu.org. --=20 23943: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23943 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1468253282-23083-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23943-done) by debbugs.gnu.org; 11 Jul 2016 16:07:48 +0000 Received: from localhost ([127.0.0.1]:47057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMdkK-0005zs-LC for submit@debbugs.gnu.org; Mon, 11 Jul 2016 12:07:48 -0400 Received: from pb-sasl1.pobox.com ([64.147.108.66]:57181 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMdkI-0005zk-PI for 23943-done@debbugs.gnu.org; Mon, 11 Jul 2016 12:07:47 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 84CD9287E4; Mon, 11 Jul 2016 12:07:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=xBPtAScp+0JtELp9x+zuawd9nGY=; b=bwkNj6 V6Xq5gZLYgIo8LWnSaBVMWoSQq2YpEmRvDfwcfUjJyu/v2rOITbs8bmQwKDQyVmT 3ebRymBVVTQMaH023xBNbFlroLcxtj2K1N/tHJ/COGeYovEPPo89WZEgDd7Aawod uutY/Hll8L3bvKDTyWr7ZKSB3iFSfV0QJjOgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Xu7VWo4g7FUtOBB6yAxIv3MV4mYxWqyi 3+Dd9CA7cZEpuI7fc9ResuI3nCOWqw523nOdhVHtoG9PIU8X44VElKN/1idHgzBM f+NHb/Zkdcy/QjsMBA/6RidS+0WA6pOxOQa/P9bfFzXM/EKzYwzdj9UMOHsFlzCd Qxua3W1m8Sk= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 7B42D287E3; Mon, 11 Jul 2016 12:07:44 -0400 (EDT) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id D1096287E1; Mon, 11 Jul 2016 12:07:39 -0400 (EDT) From: Andy Wingo To: Alex Kost Subject: Re: bug#23943: Guile loads "init.scm" from the current directory References: <877fcsr53v.fsf@gmail.com> Date: Mon, 11 Jul 2016 18:07:29 +0200 In-Reply-To: <877fcsr53v.fsf@gmail.com> (Alex Kost's message of "Mon, 11 Jul 2016 10:44:36 +0300") Message-ID: <87h9bw40qm.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 9784BDDE-4781-11E6-A0C0-C1836462E9F6-02397024!pb-sasl1.pobox.com X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 23943-done Cc: 23943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) On Mon 11 Jul 2016 09:44, Alex Kost writes: > cd /tmp > echo foo > init.scm > GUILE_LOAD_COMPILED_PATH= GUILE_LOAD_PATH= guile -q > > And it fails with this error: > > guile: uncaught throw to unbound-variable: (#f Unbound variable: ~S (foo) #f) > Cannot exit gracefully when init is in progress; aborting. > Aborted (core dumped) > > I'm not sure I understand it right from the commentary in "init.c"[1], > but I think this behavior is not intended, or is it? > > [1] http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/init.c#n238 Your invocation does not unset GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH, but rather *sets* them to contain only one element, the current directory. Use "unset" or similar to unset these variables. Andy ------------=_1468253282-23083-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jul 2016 07:44:55 +0000 Received: from localhost ([127.0.0.1]:45934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMVtf-0000AG-6s for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMVtd-0000A0-KX for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMVtX-00045G-Eh for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtX-000458-BX for submit@debbugs.gnu.org; Mon, 11 Jul 2016 03:44:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtV-0002sp-68 for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMVtP-00044r-7c for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:44 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:36406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMVtP-00044n-0j for bug-guile@gnu.org; Mon, 11 Jul 2016 03:44:39 -0400 Received: by mail-lf0-x22d.google.com with SMTP id q132so64044566lfe.3 for ; Mon, 11 Jul 2016 00:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=LJva8zSFMrvRvfDwQZpveJZ2djGXnk9rW6Axo/7eE3Y=; b=p5pCHiinVZ67cVCit07jlDW12RgFCoGLktfvQffnvOZM/+6kLXKFGbl3gmyzOxe1kU Ud2oDGWAiH29Ne4D8w1a/ApCkyQHY014+Sq8QGPCXxQhd+2vyJ3t48P8QUsu98WHfCKy 64/mQ/0/FJi0iRftEMCdr9Xv61cJY5EPuBPYeJyWNpJ3UyuCQVuMHvVaZFR0cxmJSYPb CYbtWjSc8jpCvuFB153PxQo7Bp5tw0q/FTVmom1B/3X4Vn69/BfLKrCTCclLahI0RShI LHT4ExQl5NxFji1CzP5D1JV0Sur5/kP9Z//Dl9jxYoWv164ymMs5aGkbuGr/babRRn8z JRJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=LJva8zSFMrvRvfDwQZpveJZ2djGXnk9rW6Axo/7eE3Y=; b=laudVaJafz8Qsg5hpbR3Gf9yntRNGv3whGAe8zOApoudhD93xbnLMmhYzyPXjtSQWo XojGPgLiL9NI+pZNsa6D7/y8WCablBAgTntSz5Jap7ew8+TVDQMJfVoYnpJ25LDrrHhQ /kdcRo8MQqebTUP3IokiZm/i5KteapD7dajAdWOq3G7n9uG/3xZoxtsZeG0qMP1i1EVz 4h/LCvmWvSuBH83b1qtMia198XoMxMDhmPOhJ4gtFau+YRc+oZqKfACGFmqlzq/52ICE kXoeErKFdu892Nr7Q3Jfds0FX3JCs/SF3530Lb7ffOyyHT7VZzEEUWl4wbwGZwzo1I6T t3ng== X-Gm-Message-State: ALyK8tK18NdcNAHe5BzGm0tz+jRU8cuW992H+sOrRjlDvjOUkWhWyF5hJj5TrCAocyRahg== X-Received: by 10.46.32.150 with SMTP id g22mr4472808lji.30.1468223077759; Mon, 11 Jul 2016 00:44:37 -0700 (PDT) Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id c129sm2463027lfb.32.2016.07.11.00.44.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 00:44:37 -0700 (PDT) From: Alex Kost To: bug-guile@gnu.org Subject: Guile loads "init.scm" from the current directory Date: Mon, 11 Jul 2016 10:44:36 +0300 Message-ID: <877fcsr53v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello. If you start guile from a directory that contains "init.scm" file, it will be loaded. Try this recipe (GUILE_..._PATH are unset for a pure experiment): cd /tmp echo foo > init.scm GUILE_LOAD_COMPILED_PATH= GUILE_LOAD_PATH= guile -q And it fails with this error: guile: uncaught throw to unbound-variable: (#f Unbound variable: ~S (foo) #f) Cannot exit gracefully when init is in progress; aborting. Aborted (core dumped) I'm not sure I understand it right from the commentary in "init.c"[1], but I think this behavior is not intended, or is it? [1] http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/init.c#n238 -- Alex ------------=_1468253282-23083-1-- From unknown Fri Aug 15 19:36:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23943: Guile loads "init.scm" from the current directory Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 12 Jul 2016 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23943 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 23943@debbugs.gnu.org Cc: wingo@pobox.com Received: via spool by 23943-submit@debbugs.gnu.org id=B23943.146830883931139 (code B ref 23943); Tue, 12 Jul 2016 07:34:02 +0000 Received: (at 23943) by debbugs.gnu.org; 12 Jul 2016 07:33:59 +0000 Received: from localhost ([127.0.0.1]:47543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMsCd-00086B-6X for submit@debbugs.gnu.org; Tue, 12 Jul 2016 03:33:59 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:34815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMsCb-00085w-Vi for 23943@debbugs.gnu.org; Tue, 12 Jul 2016 03:33:58 -0400 Received: by mail-lf0-f43.google.com with SMTP id h129so5062168lfh.1 for <23943@debbugs.gnu.org>; Tue, 12 Jul 2016 00:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mhHKp1HHs9q0Sc2ojbo6l7Kc0kSzauzdEHYgmzIdnL0=; b=iF+ZXrJI2sDqczqc0t9W4WLeGRkxkgS5hUtLYQL3iNF1hgODELhh1HCS2ZVzA6F0z2 8HjB+oTDX0s8q203NmgoGozJA8fknwaB+juWhQcBlf2NVCwpdzXC2yx3fLzX5aL6Gow+ 0SdS2xlpjIF8cyLcvjHSzKzO9DbD6ty0668FGP/i7CnZCw4TJI5jkQxD4cNQofybZmtv yk8j0sYrFcRwt+pnuwkpKDZ8BSKeoE/ZzGZZCfeq3FYVZEptFKzQaGKVQqB0sTBIc/ik 5KR1CUoFle/OD2/mPd9Pl4GYd8RzjDvNwC+DIIo/EZBGUKQPg1a9+x+cLbw6f+8yFQw7 dFYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mhHKp1HHs9q0Sc2ojbo6l7Kc0kSzauzdEHYgmzIdnL0=; b=iF3AXfcMCve4vrvLOMBHLFUdkt+WTnzGG7TRooaXeiZE7frxiu5uVuBCBKQAGglPRp D8OOadbt8uJkOpLwIS7WWmST11o88Up9C3B0hhp7Z6rGuTxRYT2c/LVSZPp/yCEW8OI+ GsvVH7g1/INqv1gJvEfTBZmcMYb0Um6Zf6zTEcGjRLkDnkURpcZUshEH+OwROR954B0Z i3Q/KR3L6kRDa6McECq8tZsCNE2Y6g0HTLo3pUNuVIWQ4kCDNbKcuyzPklbdhx6gVRtd 8+YcIBOp9SUwamMlAnpn9cEOOcUCIARzw9uEWPh2GH1kALcVr/R3pJM5HfpzVJaUAlEr R2HA== X-Gm-Message-State: ALyK8tI8BzQ0+UzkhPAC0Q2Hvp8urEqlydEBbskQtwon+22LffAMG2Ge22vdoDfYORXzRw== X-Received: by 10.25.125.139 with SMTP id y133mr284838lfc.140.1468308832079; Tue, 12 Jul 2016 00:33:52 -0700 (PDT) Received: from leviafan ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id o184sm4890341lfb.19.2016.07.12.00.33.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 00:33:51 -0700 (PDT) From: Alex Kost References: <877fcsr53v.fsf@gmail.com> <87h9bw40qm.fsf@pobox.com> Date: Tue, 12 Jul 2016 10:33:52 +0300 In-Reply-To: <87h9bw40qm.fsf@pobox.com> (Andy Wingo's message of "Mon, 11 Jul 2016 18:07:29 +0200") Message-ID: <87vb0bnwdb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Andy Wingo (2016-07-11 19:07 +0300) wrote: > On Mon 11 Jul 2016 09:44, Alex Kost writes: > >> cd /tmp >> echo foo > init.scm >> GUILE_LOAD_COMPILED_PATH= GUILE_LOAD_PATH= guile -q >> >> And it fails with this error: >> >> guile: uncaught throw to unbound-variable: (#f Unbound variable: ~S (foo) #f) >> Cannot exit gracefully when init is in progress; aborting. >> Aborted (core dumped) >> >> I'm not sure I understand it right from the commentary in "init.c"[1], >> but I think this behavior is not intended, or is it? >> >> [1] http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/init.c#n238 > > Your invocation does not unset GUILE_LOAD_PATH and > GUILE_LOAD_COMPILED_PATH, but rather *sets* them to contain only one > element, the current directory. Use "unset" or similar to unset these > variables. Aha, now I see that "GUILE_LOAD_PATH= guile" adds "" (an empty string) to %load-path. Thanks for the answer! -- Alex