From unknown Fri Aug 08 15:18:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. Resent-From: Ian Hulin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 02 Feb 2012 00:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10693 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 10693@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.132814365331537 (code B ref -1); Thu, 02 Feb 2012 00:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 00:47:33 +0000 Received: from localhost ([127.0.0.1]:49671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rskpn-0008CY-NB for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:47:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37560) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rskpj-0008CG-5B for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RskpE-0008VU-T6 for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:46:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:46902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpE-0008VM-OT for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:46:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpD-0003mm-5M for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RskpA-0008To-UR for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:33345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpA-0008SK-Kr for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rskp7-0002wQ-GH for bug-guile@gnu.org; Thu, 02 Feb 2012 01:46:49 +0100 Received: from cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com ([82.12.149.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 01:46:49 +0100 Received: from ian by cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 01:46:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Ian Hulin Date: Thu, 02 Feb 2012 00:46:34 +0000 Lines: 100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 X-Enigmail-Version: 1.3.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Using this small test file load-path-test.scm using meta/uninstalled-env bash with V2.0.5: (eval-when (compile load eval) (format #t "version: ~s\n" (version) ) (format #t "%load-path: ~s\n" %load-path) (format #t "(access? (%search-load-path \"c++.scm\"): ~s\n" (%search-load-path "c++.scm"))) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Loading the test file (no extra %load-path items) ian@nanny-ogg ~/src/lilypond (T2026-1)>> guile -l load-path-test.scm ;;; note: source file /home/ian/src/lilypond/load-path-test.scm ;;; newer than compiled /home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/cache/guile/ccache/2.0-LE-4-2.0/home/ian/src/lilypond/load-path-test.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/ian/src/lilypond/load-path-test.scm version: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f ;;; compiled /home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/cache/guile/ccache/2.0-LE-4-2.0/home/ian/src/lilypond/load-path-test.scm.go version: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f # ^^^^^^^^^not found, not in %load-path - correct ^^^^^^^^^^^^ GNU Guile 2.0.5 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,q ian@nanny-ogg ~/src/lilypond (T2026-1)>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Loading the test file (extra %load-path items specified with GUILE_LOAD_PATH environment variable) ian@nanny-ogg ~/src/lilypond (T2026-1)>> env GUILE_LOAD_PATH="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" guile -l load-path-test.scmversion: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/src/lilypond" "/home/ian/src/lilypond/scm") #^^^^^^^^ env variable contents parsed with scm_parse_path ^^^^^^^^^^^ (access? (%search-load-path "c++.scm"): "/home/ian/src/lilypond/scm/c++.scm" #^^^^^^^^^^^^^^^^ file found - correct ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GNU Guile 2.0.5 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,q >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Using guild-compile ian@nanny-ogg ~/src/lilypond (T2026-1)>> guild compile --load-path="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" --output=scm/out/load-path-test.go load-path-test.scm version: "2.0.5" %load-path: ("/home/ian/src/lilypond:/home/ian/src/lilypond/scm" "/home # ^^^^^^^^^^^^^option string not parsed ^^^^^^^^^^^^^^^^^^^ /ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f #^^^^^^^^^^^^^^ file not found in %load-path^^^^^^^^ wrote `scm/out/load-path-test.go' ian@nanny-ogg ~/src/lilypond (T2026-1)>> I get similar results using installed V2.0.5 on my laptop. Cheers, Ian Hulin From unknown Fri Aug 08 15:18:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 02 Feb 2012 05:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10693 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Ian Hulin Cc: 10693@debbugs.gnu.org Received: via spool by 10693-submit@debbugs.gnu.org id=B10693.132815928125986 (code B ref 10693); Thu, 02 Feb 2012 05:09:02 +0000 Received: (at 10693) by debbugs.gnu.org; 2 Feb 2012 05:08:01 +0000 Received: from localhost ([127.0.0.1]:49859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rsots-0006l0-Iv for submit@debbugs.gnu.org; Thu, 02 Feb 2012 00:08:00 -0500 Received: from world.peace.net ([96.39.62.75]:43586 ident=hope2) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rsotp-0006kr-8x for 10693@debbugs.gnu.org; Thu, 02 Feb 2012 00:07:58 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1RsotK-0001Cf-Qj; Thu, 02 Feb 2012 00:07:27 -0500 From: Mark H Weaver References: Date: Thu, 02 Feb 2012 00:05:52 -0500 In-Reply-To: (Ian Hulin's message of "Thu, 02 Feb 2012 00:46:34 +0000") Message-ID: <87obthddu7.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hi Ian, Ian Hulin writes: > ian@nanny-ogg ~/src/lilypond (T2026-1)>> guild compile > --load-path="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" According to both the Guile manual and the output of "guile compile -h": -L, --load-path=DIR add DIR to the front of the module load path In other words, it behaves as documented. The idea is that you should pass multiple --load-path options, one for each DIR. Having said this, one could reasonably argue that the long option name is misleading, and I tend to agree. On the other hand, the current behavior has the advantage of allowing _any_ directory to be added, even if its name contains a colon, and thus allows the creation of more robust code. We might want to change the long option name (while continuing to accept --load-path for backward compatibility), but I can't think of a good name. Any suggestions? Thanks, Mark From unknown Fri Aug 08 15:18:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. Resent-From: Ian Hulin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 02 Feb 2012 21:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10693 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 10693@debbugs.gnu.org Received: via spool by 10693-submit@debbugs.gnu.org id=B10693.13282163873092 (code B ref 10693); Thu, 02 Feb 2012 21:00:01 +0000 Received: (at 10693) by debbugs.gnu.org; 2 Feb 2012 20:59:47 +0000 Received: from localhost ([127.0.0.1]:51329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt3kw-0000np-V9 for submit@debbugs.gnu.org; Thu, 02 Feb 2012 15:59:47 -0500 Received: from asmtp5.iomartmail.com ([62.128.201.176]:43731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt3ku-0000nc-RC for 10693@debbugs.gnu.org; Thu, 02 Feb 2012 15:59:46 -0500 Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id q12Kx9mT029173 for <10693@debbugs.gnu.org>; Thu, 2 Feb 2012 20:59:09 GMT Received: from [192.168.1.100] (cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com [82.12.149.79]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id q12Kx8K1029165 for <10693@debbugs.gnu.org>; Thu, 2 Feb 2012 20:59:09 GMT Message-ID: <4F2AF921.9080505@hulin.org.uk> Date: Thu, 02 Feb 2012 20:59:13 +0000 From: Ian Hulin User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 References: <87obthddu7.fsf@netris.org> In-Reply-To: <87obthddu7.fsf@netris.org> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Copy of reply sent to Mark alone by mistake) Hi Mark On 02/02/12 05:05, Mark H Weaver wrote: > Hi Ian, > > Ian Hulin writes: >> ian@nanny-ogg ~/src/lilypond (T2026-1)>> guild compile >> --load-path="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" > > According to both the Guile manual and the output of "guile compile > -h": > > -L, --load-path=DIR add DIR to the front of the module load path > > In other words, it behaves as documented. The idea is that you > should pass multiple --load-path options, one for each DIR. > > Having said this, one could reasonably argue that the long option > name is misleading, and I tend to agree. On the other hand, the > current behavior has the advantage of allowing _any_ directory to > be added, even if its name contains a colon, and thus allows the > creation of more robust code. > > We might want to change the long option name (while continuing to > accept --load-path for backward compatibility), but I can't think > of a good name. Any suggestions? > - --add-to-load-path, then it matches the new procedure/macro that does the same thing? Note too that the guile command line does not have a long option name for -L. Also, how about documenting somewhere the difference in behaviour between setting the environment variable and using the long option name. Thanks very much for pointing out the bear-traps, Mark. Cheers, Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPKvkhAAoJEBqidDirZqAShiUIAJEy0qTxa9nfOTsidTG5DGmM CM0rvAOUPoBii39nUNX/vkpBtTPWRLerY7QhTVPNMNbu7T7+rify12KwDxYaz/bM 8CDXYzYD7ypTiBHYlJ4ZJaGPt+CZs7PR9JobtaGT3AuRx8S4iGRGEL6x0G2hByiy M7sEHkxU8D1FGgavTFxvWI9MLypde44xcjagv6Da3ATUD3nYO4HRDVSAMp9g1cmy 6dAGDtzEccbzlYfRtb126MtskAqD4Z9Fl/zfFIhN06CLXyJBi1xS+WL3F5EwI0lv evAN5VXwb1xkVaHFkjM1xaM4ny2BFAJEkJeBx7KTTqQJNWrplVBPJGUyzJWM7QU= =YiMF -----END PGP SIGNATURE----- From unknown Fri Aug 08 15:18:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 02 Feb 2012 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10693 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Mark H Weaver Cc: Ian Hulin , 10693@debbugs.gnu.org Received: via spool by 10693-submit@debbugs.gnu.org id=B10693.132822238812386 (code B ref 10693); Thu, 02 Feb 2012 22:40:02 +0000 Received: (at 10693) by debbugs.gnu.org; 2 Feb 2012 22:39:48 +0000 Received: from localhost ([127.0.0.1]:51410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt5Jk-0003Di-8D for submit@debbugs.gnu.org; Thu, 02 Feb 2012 17:39:48 -0500 Received: from xanadu.aquilenet.fr ([88.191.123.111]:45112) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt5Jh-0003Db-Sf for 10693@debbugs.gnu.org; Thu, 02 Feb 2012 17:39:46 -0500 Received: from localhost (xanadu.aquilenet.fr [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id CC0D72B1; Thu, 2 Feb 2012 23:39:15 +0100 (CET) Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mSM1sr1xJFp8; Thu, 2 Feb 2012 23:39:15 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id 15724236; Thu, 2 Feb 2012 23:39:14 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <87obthddu7.fsf@netris.org> (Mark H. Weaver's message of "Thu, 02 Feb 2012 00:05:52 -0500") References: <87obthddu7.fsf@netris.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Pluvi=C3=B4se?= an 220 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Thu, 02 Feb 2012 23:39:14 +0100 Message-ID: <87d39wrhbh.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Hi, Mark H Weaver skribis: > Ian Hulin writes: >> ian@nanny-ogg ~/src/lilypond (T2026-1)>> guild compile >> --load-path=3D"/home/ian/src/lilypond:/home/ian/src/lilypond/scm" > > According to both the Guile manual and the output of "guile compile -h": > > -L, --load-path=3DDIR add DIR to the front of the module load path > > In other words, it behaves as documented. The idea is that you should > pass multiple --load-path options, one for each DIR. [...] > We might want to change the long option name (while continuing to accept > --load-path for backward compatibility), but I can't think of a good > name. Any suggestions? As discussed on IRC, I agree that the long name can be misleading. Yet, I=E2=80=99d rather keep it, especially since the doc is non-ambiguous = and =E2=80=98-L=E2=80=99 looks familiar. Done? :-) Thanks, Ludo=E2=80=99. From unknown Fri Aug 08 15:18:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ian Hulin Subject: bug#10693: closed (Re: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed.) Message-ID: References: <874nv0wul1.fsf@netris.org> X-Gnu-PR-Message: they-closed 10693 X-Gnu-PR-Package: guile Reply-To: 10693@debbugs.gnu.org Date: Thu, 09 Feb 2012 03:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1328758502-26543-1" This is a multi-part message in MIME format... ------------=_1328758502-26543-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #10693: guild compile --load-path value is not processed with scm_parse_pat= h, GUILE_LOAD_PATH env variable value is parsed. 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 10693@debbugs.gnu.org. --=20 10693: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10693 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1328758502-26543-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 10693-done) by debbugs.gnu.org; 9 Feb 2012 03:34:33 +0000 Received: from localhost ([127.0.0.1]:33056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvKmF-0006tJ-G1 for submit@debbugs.gnu.org; Wed, 08 Feb 2012 22:34:32 -0500 Received: from world.peace.net ([96.39.62.75]:39852 ident=hope5) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvKmC-0006tA-Af for 10693-done@debbugs.gnu.org; Wed, 08 Feb 2012 22:34:29 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RvKl1-0002Xs-8P; Wed, 08 Feb 2012 22:33:15 -0500 From: Mark H Weaver To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#10693: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. References: <87obthddu7.fsf@netris.org> <87d39wrhbh.fsf@gnu.org> Date: Wed, 08 Feb 2012 22:31:54 -0500 In-Reply-To: <87d39wrhbh.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 02 Feb 2012 23:39:14 +0100") Message-ID: <874nv0wul1.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10693-done Cc: 10693-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver skribis: > >> We might want to change the long option name (while continuing to accept >> --load-path for backward compatibility), but I can't think of a good >> name. Any suggestions? > > As discussed on IRC, I agree that the long name can be misleading. > > Yet, I=E2=80=99d rather keep it, especially since the doc is non-ambiguou= s and > =E2=80=98-L=E2=80=99 looks familiar. > > Done? :-) Okay, I'm closing this bug. Mark ------------=_1328758502-26543-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Feb 2012 00:47:33 +0000 Received: from localhost ([127.0.0.1]:49671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rskpn-0008CY-NB for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:47:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37560) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rskpj-0008CG-5B for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RskpE-0008VU-T6 for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:46:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:46902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpE-0008VM-OT for submit@debbugs.gnu.org; Wed, 01 Feb 2012 19:46:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpD-0003mm-5M for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RskpA-0008To-UR for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:33345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RskpA-0008SK-Kr for bug-guile@gnu.org; Wed, 01 Feb 2012 19:46:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rskp7-0002wQ-GH for bug-guile@gnu.org; Thu, 02 Feb 2012 01:46:49 +0100 Received: from cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com ([82.12.149.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 01:46:49 +0100 Received: from ian by cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 01:46:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guile@gnu.org From: Ian Hulin Subject: guild compile --load-path value is not processed with scm_parse_path, GUILE_LOAD_PATH env variable value is parsed. Date: Thu, 02 Feb 2012 00:46:34 +0000 Lines: 100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc13-rdng21-2-0-cust334.15-3.cable.virginmedia.com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 X-Enigmail-Version: 1.3.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Using this small test file load-path-test.scm using meta/uninstalled-env bash with V2.0.5: (eval-when (compile load eval) (format #t "version: ~s\n" (version) ) (format #t "%load-path: ~s\n" %load-path) (format #t "(access? (%search-load-path \"c++.scm\"): ~s\n" (%search-load-path "c++.scm"))) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1. Loading the test file (no extra %load-path items) ian@nanny-ogg ~/src/lilypond (T2026-1)>> guile -l load-path-test.scm ;;; note: source file /home/ian/src/lilypond/load-path-test.scm ;;; newer than compiled /home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/cache/guile/ccache/2.0-LE-4-2.0/home/ian/src/lilypond/load-path-test.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/ian/src/lilypond/load-path-test.scm version: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f ;;; compiled /home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/cache/guile/ccache/2.0-LE-4-2.0/home/ian/src/lilypond/load-path-test.scm.go version: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f # ^^^^^^^^^not found, not in %load-path - correct ^^^^^^^^^^^^ GNU Guile 2.0.5 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,q ian@nanny-ogg ~/src/lilypond (T2026-1)>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2. Loading the test file (extra %load-path items specified with GUILE_LOAD_PATH environment variable) ian@nanny-ogg ~/src/lilypond (T2026-1)>> env GUILE_LOAD_PATH="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" guile -l load-path-test.scmversion: "2.0.5" %load-path: ("/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/src/lilypond" "/home/ian/src/lilypond/scm") #^^^^^^^^ env variable contents parsed with scm_parse_path ^^^^^^^^^^^ (access? (%search-load-path "c++.scm"): "/home/ian/src/lilypond/scm/c++.scm" #^^^^^^^^^^^^^^^^ file found - correct ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GNU Guile 2.0.5 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,q >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3. Using guild-compile ian@nanny-ogg ~/src/lilypond (T2026-1)>> guild compile --load-path="/home/ian/src/lilypond:/home/ian/src/lilypond/scm" --output=scm/out/load-path-test.go load-path-test.scm version: "2.0.5" %load-path: ("/home/ian/src/lilypond:/home/ian/src/lilypond/scm" "/home # ^^^^^^^^^^^^^option string not parsed ^^^^^^^^^^^^^^^^^^^ /ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/module" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5/guile-readline" "/home/ian/Dropbox/Development/Guile-and-Scheme/guile-2.0.5") (access? (%search-load-path "c++.scm"): #f #^^^^^^^^^^^^^^ file not found in %load-path^^^^^^^^ wrote `scm/out/load-path-test.go' ian@nanny-ogg ~/src/lilypond (T2026-1)>> I get similar results using installed V2.0.5 on my laptop. Cheers, Ian Hulin ------------=_1328758502-26543-1--