From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#10326: Need to document %load-path, %load-compiled-path, and add %search-load-compiled-path and load-compiled-from-path to API Date: Fri, 27 Jan 2012 13:20:08 +0100 Message-ID: <87ehulgww7.fsf@pobox.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1327672186 10461 80.91.229.12 (27 Jan 2012 13:49:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2012 13:49:46 +0000 (UTC) Cc: 10326@debbugs.gnu.org To: Ian Hulin Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jan 27 14:49:42 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqmBS-0000rH-3c for guile-bugs@m.gmane.org; Fri, 27 Jan 2012 14:49:42 +0100 Original-Received: from localhost ([::1]:39354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqmBR-00041B-OX for guile-bugs@m.gmane.org; Fri, 27 Jan 2012 08:49:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqmBI-00040z-Hf for bug-guile@gnu.org; Fri, 27 Jan 2012 08:49:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqmBC-0007Yh-LF for bug-guile@gnu.org; Fri, 27 Jan 2012 08:49:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqmBC-0007Ya-IN for bug-guile@gnu.org; Fri, 27 Jan 2012 08:49:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RqmBl-00034s-Lj for bug-guile@gnu.org; Fri, 27 Jan 2012 08:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 27 Jan 2012 13:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10326 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10326-submit@debbugs.gnu.org id=B10326.132767218011799 (code B ref 10326); Fri, 27 Jan 2012 13:50:01 +0000 Original-Received: (at 10326) by debbugs.gnu.org; 27 Jan 2012 13:49:40 +0000 Original-Received: from localhost ([127.0.0.1]:46382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqmBP-00034G-3y for submit@debbugs.gnu.org; Fri, 27 Jan 2012 08:49:39 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:35439 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqmBM-000347-4y for 10326@debbugs.gnu.org; Fri, 27 Jan 2012 08:49:38 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C54ED8531; Fri, 27 Jan 2012 08:48:57 -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=vfI8ZLDvQ8zy8WeIr0zXqSK2xZs=; b=j9pn1g DDDva/Zpvtd7t5ILRuZJDPEqtjewTyYv/WKG8AmtBRpND19xU5OG5YFwm7IjOKAv 1RlX5hB6kOjCD1cGZYnKNSfG+FUJP8PENPsYD8OCggOJ9W6SXCFvYi6JM0MzmRLT svdIZMEsTuDKA/CuH/Jy/SZ+APA2CPAQEFa/4= 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=S6R+bonJn6zBehiRGoMyC3UO9mqQlpWo WeIy39s/FbT50DX+ae8ZJUhzPmQ8e3zSeHW55XZd71Ltob57TkG4YIl/ewmxpUmE SJqJ4iaTkxuaAjagOUfG+7LrJU7bntC33EDofoE7xcU1GIys5S1LTsDU8Dulk1gg BHi/iqGDB3w= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BEBE58530; Fri, 27 Jan 2012 08:48:57 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (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 02E37852E; Fri, 27 Jan 2012 08:48:56 -0500 (EST) In-Reply-To: (Ian Hulin's message of "Mon, 19 Dec 2011 15:00:19 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: A8A3B314-48ED-11E1-A1D2-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6094 Archived-At: Hi Ian, Thank you for the bug report. As a result of this report we have added a fair amount of documentation and reorganized other things. In particular, see the new sections: Modules and the File System Installing Site Packages Load Paths On Mon 19 Dec 2011 16:00, Ian Hulin writes: > - Variable: %load-compiled-path > > The list of directories which will currently be searched by > load-compiled-from-path and %search-load-compiled-path to locate a > compiled scheme file. There is no load-compiled-from-path or %search-load-compiled-path. There is, however, search-path and %load-compiled-path. Guile doesn't simply look for compiled files: it looks for compiled files that correspond to source files. They could be in the load-compiled path or in the fallback path. The search rules are different here -- see "Load Paths" and "Compilation", for details. Auto-compilation only happens with the fallback path. Do you still think that load-compiled-from-path would be useful to you? If everything is set up correctly, load-from-path should be sufficient, as it would find the corresponding compiled file. > "As with Scheme files, Guile searches a path to find compiled .go > files, the %load-compiled-path. By default, this path has two entries: > a path for Guile's files, and a path for site packages. You should > install your .go files into the latter. Currently there is no > procedure to get at this path, which is probably a bug." I'll see about fixing this. Andy -- http://wingolog.org/