From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Guildhall users: please update your GUILE_LOAD_PATH or %load-path Date: Wed, 30 Jan 2013 19:47:23 -0500 Message-ID: <87pq0mi3fo.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359593278 29755 80.91.229.3 (31 Jan 2013 00:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2013 00:47:58 +0000 (UTC) Cc: Ian Price To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 31 01:48:17 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U0iK9-0002sm-De for guile-user@m.gmane.org; Thu, 31 Jan 2013 01:48:17 +0100 Original-Received: from localhost ([::1]:47785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0iJr-0008UW-8I for guile-user@m.gmane.org; Wed, 30 Jan 2013 19:47:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0iJm-0008U9-74 for guile-user@gnu.org; Wed, 30 Jan 2013 19:47:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0iJk-0007l6-Ay for guile-user@gnu.org; Wed, 30 Jan 2013 19:47:54 -0500 Original-Received: from world.peace.net ([96.39.62.75]:58523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0iJj-0007aA-OH for guile-user@gnu.org; Wed, 30 Jan 2013 19:47:52 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1U0iJP-00007R-3M; Wed, 30 Jan 2013 19:47:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9944 Archived-At: Hello all, In the future it will be important for Guildhall modules to have a lower priority than in the search path than Guile's core modules. The reason is that Guildhall has several portable SRFIs, some of which will be superceded by efficient native implementations in core Guile. One such example is SRFI-41, which will soon be replaced by a superior version in Guile core. There are two ways to arrange for Guildhall's directory to have a lower priority than Guile's core modules: * If you added Guildhall's directory to the GUILE_LOAD_PATH environment variable, then make sure "/home/USERNAME/.local/share/guile/site/2.0" comes last, and add a special dummy path component composed of three dots (...) immediately before it. For example: GUILE_LOAD_PATH=...:/home//.local/share/guile/site/2.0 or: GUILE_LOAD_PATH=/foo:...:/home//.local/share/guile/site/2.0 In Guile 2.0.7 and later versions, all path components after the "..." will be added after the default Guile search path. In earlier versions, the "..." will do nothing but harmlessly await your future upgrade to 2.0.7+ :) * If you added Guildhall's directory to the %load-path variable from within Guile itself (perhaps in .guile) then append it to the *end* of the load path as follows: (set! %load-path (append %load-path (list "/home//.local/share/guile/site/2.0"))) Ian, can you please update your Guildhall "Getting-Started" document appropriately? Thanks! Mark