From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 19 17:40:40 2012 Received: (at submit) by debbugs.gnu.org; 19 Jan 2012 22:40:40 +0000 Received: from localhost ([127.0.0.1]:35809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro0et-00074v-8y for submit@debbugs.gnu.org; Thu, 19 Jan 2012 17:40:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59102) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro0ep-00074l-Cv for submit@debbugs.gnu.org; Thu, 19 Jan 2012 17:40:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro0db-0003SX-WE for submit@debbugs.gnu.org; Thu, 19 Jan 2012 17:39:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:57013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro0db-0003ST-Um for submit@debbugs.gnu.org; Thu, 19 Jan 2012 17:39:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro0db-0007Ox-4R for bug-guile@gnu.org; Thu, 19 Jan 2012 17:39:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro0da-0003SH-8x for bug-guile@gnu.org; Thu, 19 Jan 2012 17:39:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:50808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro0da-0003S7-2c for bug-guile@gnu.org; Thu, 19 Jan 2012 17:39:18 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ro0dY-0000o0-TE for bug-guile@gnu.org; Thu, 19 Jan 2012 23:39:16 +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, 19 Jan 2012 23:39:16 +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, 19 Jan 2012 23:39:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-guile@gnu.org From: Ian Hulin Subject: GUILE_LOAD_PATH variable value ignored when setting %load-path. Date: Thu, 19 Jan 2012 22:39:02 +0000 Lines: 41 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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:8.0) Gecko/20111124 Thunderbird/8.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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.2 (----) 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 (----) This doesn't appear to work as per page 41, section 4.2.2 Environment Variables in the docs. Strangely enough, though settings of GUILE_LOAD_COMPILED_PATH *are* observed and added to the front of %load-compiled-path. Cheers, Ian Hulin ================================================================================================== ian@ian-laptop ~/src/lilypond (T1686)$ echo $GUILE_LOAD_PATH ian@ian-laptop ~/src/lilypond (T1686)$ guile GNU Guile 2.0.3 Copyright (C) 1995-2011 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)> %load-path $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile") scheme@(guile-user)> ,q ian@ian-laptop ~/src/lilypond (T1686)$ declare -x GUILE_LOAD_COMPILED_PATH='/home/ian/src/lilypond/scm/out' ian@ian-laptop ~/src/lilypond (T1686)$ guile GNU Guile 2.0.3 Copyright (C) 1995-2011 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)> %load-path $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile") scheme@(guile-user)> ^\Quit ian@ian-laptop ~/src/lilypond (T1686)$ From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 02:56:18 2012 Received: (at 10557) by debbugs.gnu.org; 20 Jan 2012 07:56:18 +0000 Received: from localhost ([127.0.0.1]:36071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro9Kb-0005uJ-Et for submit@debbugs.gnu.org; Fri, 20 Jan 2012 02:56:18 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:62646) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro9KZ-0005uC-62 for 10557@debbugs.gnu.org; Fri, 20 Jan 2012 02:56:16 -0500 Received: by werp11 with SMTP id p11so178416wer.3 for <10557@debbugs.gnu.org>; Thu, 19 Jan 2012 23:54:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:subject:references:cc:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=RmELiDCVhyd35WV5b+Rz0xwDiUsK+nwR928m7kZe7K4=; b=oqPiVP02uO/01gVVGE/pkYu5OwS17zar7DsElVORFB9yFpSIgkoUI4LaFZ8uKejEWt U+X6xcbmabdbdMeB1NP8N8YX1fypcS+Ue4zMFZlQTC/jvhEI9Cfw+e7VsdMqOEGcSGYV a7ADQVSX0gHdyPzD4V7QUILw6g6x4LMw5woYk= Received: by 10.216.137.25 with SMTP id x25mr202055wei.55.1327046098526; Thu, 19 Jan 2012 23:54:58 -0800 (PST) Received: from Kagami.home (host86-171-27-136.range86-171.btcentralplus.com. [86.171.27.136]) by mx.google.com with ESMTPS id t15sm28235287wiv.6.2012.01.19.23.54.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 23:54:55 -0800 (PST) From: Ian Price To: 10557@debbugs.gnu.org Subject: Re: bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path. References: Date: Fri, 20 Jan 2012 07:48:15 +0000 In-Reply-To: (Ian Hulin's message of "Thu, 19 Jan 2012 22:39:02 +0000") Message-ID: <87ty3qlsqo.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10557 Cc: Ian Hulin 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: -2.3 (--) Ian Hulin writes: > ian@ian-laptop ~/src/lilypond (T1686)$ echo $GUILE_LOAD_PATH > > ian@ian-laptop ~/src/lilypond (T1686)$ guile > GNU Guile 2.0.3 > Copyright (C) 1995-2011 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)> %load-path > $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" > "/usr/local/share/guile/site" "/usr/local/share/guile") > scheme@(guile-user)> ,q > ian@ian-laptop ~/src/lilypond (T1686)$ declare -x > GUILE_LOAD_COMPILED_PATH='/home/ian/src/lilypond/scm/out' > ian@ian-laptop ~/src/lilypond (T1686)$ guile > GNU Guile 2.0.3 > Copyright (C) 1995-2011 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)> %load-path > $1 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" > "/usr/local/share/guile/site" "/usr/local/share/guile") > scheme@(guile-user)> ^\Quit > ian@ian-laptop ~/src/lilypond (T1686)$ Err, all you have done here is show that GUILE_LOAD_COMPILED_PATH has no bearing on %load-path, which is perfectly in accordance with the documentation as far as I can see. As for the question of GUILE_LOAD_PATH not prepending to %load-path, I can't reproduce this on a recent stable-2.0 with fedora 16. [ian@Kagami ~]$ env GUILE_LOAD_PATH=notadir guile -q GNU Guile 2.0.3.155-6f0e5 ...... scheme@(guile-user)> %load-path $1 = ("notadir" "/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile") scheme@(guile-user)> I'll report back again after I've built the 2.0.3 release -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 03:32:54 2012 Received: (at 10557) by debbugs.gnu.org; 20 Jan 2012 08:32:54 +0000 Received: from localhost ([127.0.0.1]:36121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro9ty-0006ui-7R for submit@debbugs.gnu.org; Fri, 20 Jan 2012 03:32:54 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:38144) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ro9ts-0006uV-OB for 10557@debbugs.gnu.org; Fri, 20 Jan 2012 03:32:49 -0500 Received: by werp11 with SMTP id p11so196313wer.3 for <10557@debbugs.gnu.org>; Fri, 20 Jan 2012 00:31:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:subject:references:cc:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=YUY7xyaDb8biwKdZl7HvfBy6pgjMxJa6DTdkFOQ4c0A=; b=AMxvazjlJi7M9cZ/z9pmOzjbmVXmuE9+NPFrmyXtaG5tJb2johnGTKUaXRzbyvW2im 77Aa4lzRJs5B+EK3zBX62C05/Ps0U29cqCPe6rJDBgRcLXpCdS+zx+MEhQOrXqJ/7ww3 EyZn0jQwoX7P19iI/sGhsd1+YGqakzW21rXMs= Received: by 10.216.136.195 with SMTP id w45mr12530416wei.20.1327048287849; Fri, 20 Jan 2012 00:31:27 -0800 (PST) Received: from Kagami.home (host86-171-27-136.range86-171.btcentralplus.com. [86.171.27.136]) by mx.google.com with ESMTPS id bu13sm6591757wib.6.2012.01.20.00.31.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jan 2012 00:31:26 -0800 (PST) From: Ian Price To: 10557@debbugs.gnu.org Subject: Re: bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path. References: <87ty3qlsqo.fsf@Kagami.home> Date: Fri, 20 Jan 2012 08:24:46 +0000 In-Reply-To: <87ty3qlsqo.fsf@Kagami.home> (Ian Price's message of "Fri, 20 Jan 2012 07:48:15 +0000") Message-ID: <87pqeelr1t.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 10557 Cc: Ian Hulin 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: -2.3 (--) > I'll report back again after I've built the 2.0.3 release [ian@Kagami ~]$ env GUILE_LOAD_PATH=notadir GUILE_LOAD_COMPILED_PATH=notadir2 guile -q GNU Guile 2.0.3 ...... scheme@(guile-user)> %load-path $1 = ("notadir" "/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" "/usr/local/share/guile/site" "/usr/local/share/guile") scheme@(guile-user)> %load-compiled-path $2 = ("notadir2" "/usr/local/lib/guile/2.0/ccache" "/usr/local/lib/guile/2.0/site-ccache") scheme@(guile-user)> As you can see, I get the same behaviour on 2.0.3 -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 14:29:16 2012 Received: (at 10557-done) by debbugs.gnu.org; 3 Feb 2012 19:29:16 +0000 Received: from localhost ([127.0.0.1]:52689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtOot-0001UK-RY for submit@debbugs.gnu.org; Fri, 03 Feb 2012 14:29:16 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:57705 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtOos-0001UE-60 for 10557-done@debbugs.gnu.org; Fri, 03 Feb 2012 14:29:14 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id DBE8C91DF; Fri, 3 Feb 2012 14:28:39 -0500 (EST) 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=2hyIuoKHVhto6nKx1qhMcbONuRA=; b=oXgP4K +yWldBm/l1Wz9GJ2j8s4drN0LK5nLB15L3Xf++kQtGF6dZDNQGyDtPkrRlv0UOWV 1zi6dMJ7ZyMjtMyifwNNdpOvly/X0HsBfricl0s5bjyw/CCiTIcY3fgEUKrrlpLQ Kf7RCKSXeARRoKIveUPmOK94+kOqbyrrLqoLM= 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=hS6NzctPSnVAgO3b29p370CkpIWdrH5V ALAAqqLPeiVOPr4RL6DM2lW73ougNTb81HI6reKrnHTtYj4EB5og//fh72mmSiOk aOBCS4991pGunaWjZYfaCOlu5Fa/ITttRYzJr5hikuCT84k6+eft9EEuIwXeiDix j3edat6gU3o= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D3FAD91DE; Fri, 3 Feb 2012 14:28:39 -0500 (EST) Received: from badger (unknown [94.139.51.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 428CA91DD; Fri, 3 Feb 2012 14:28:39 -0500 (EST) From: Andy Wingo To: Ian Hulin Subject: Re: bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path. References: Date: Fri, 03 Feb 2012 16:32:16 +0100 In-Reply-To: (Ian Hulin's message of "Thu, 19 Jan 2012 22:39:02 +0000") Message-ID: <87wr84hr0f.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 464BF518-4E9D-11E1-A3F6-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 10557-done Cc: 10557-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: -0.3 (/) Hi Ian, I think I agree with ijp's assessment of things. If you can point to something in the manual that is confusing in this regard, please let us know. Thanks! Andy -- http://wingolog.org/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 18:25:43 2012 Received: (at 10557-done) by debbugs.gnu.org; 4 Feb 2012 23:25:43 +0000 Received: from localhost ([127.0.0.1]:54739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtozG-0006sN-FD for submit@debbugs.gnu.org; Sat, 04 Feb 2012 18:25:43 -0500 Received: from asmtp5.iomartmail.com ([62.128.201.176]:54935) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtozD-0006s5-W2 for 10557-done@debbugs.gnu.org; Sat, 04 Feb 2012 18:25:41 -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 q14NOqK2024561; Sat, 4 Feb 2012 23:24:52 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 q14NOpAB024537; Sat, 4 Feb 2012 23:24:51 GMT Message-ID: <4F2DBE48.3090700@hulin.org.uk> Date: Sat, 04 Feb 2012 23:24:56 +0000 From: Ian Hulin User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: Andy Wingo Subject: Re: bug#10557: GUILE_LOAD_PATH variable value ignored when setting %load-path. References: <87wr84hr0f.fsf@pobox.com> In-Reply-To: <87wr84hr0f.fsf@pobox.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10557-done Cc: 10557-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 (-) On 03/02/12 15:32, Andy Wingo wrote: > Hi Ian, > > I think I agree with ijp's assessment of things. If you can point to > something in the manual that is confusing in this regard, please let us > know. Thanks! > I think that the docs. really need to make the difference in behaviour clear between the guile compile --load-path option and setting the GUILE_LOAD_PATH environment variable. Maybe have an extended example showing that you can use multiple occurrences of the option on the command-line, and that you need to do this if you want to pre-pend a list of values to the load-path e.g $ guild compile "fred.scm" --load-path='/path/here' \ --load-path=/path/here/scm' --output='path/here/compiled/fred.go' causes fred.scm to be compiled to path/here/compiled/fred.go with a load-path list of "/path/here path/here/scm user/local/share/site etc.." Another option would be to give the long option a more appropriate name: --load-path seems to imply that you're suggesting a one-shot re-definition of the load-path, whereas you're pre-pending things to the path and you can do this multiple times. Maybe use --add-to-load-path to mirror the new function you've just added to the V2.0.5 base code? Cheers, Ian Hulin From unknown Sun Sep 07 04:47:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 04 Mar 2012 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator