From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: %load-path Date: Sat, 12 Jun 2021 11:32:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33105"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Damien Mattei Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Jun 12 13:33:43 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ls1tX-0008NG-La for guile-user@m.gmane-mx.org; Sat, 12 Jun 2021 13:33:43 +0200 Original-Received: from localhost ([::1]:50920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls1tW-0001SH-Jl for guile-user@m.gmane-mx.org; Sat, 12 Jun 2021 07:33:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls1su-0001Pv-1r for guile-user@gnu.org; Sat, 12 Jun 2021 07:33:04 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:36251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls1sm-0005xh-Pr for guile-user@gnu.org; Sat, 12 Jun 2021 07:33:03 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 16F7C2400FC for ; Sat, 12 Jun 2021 13:32:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1623497574; bh=IopbQ4D7ii19YEkixHTyFbdkl6lGiU+cVhNKQQ3+Sys=; h=Subject:To:Cc:From:Date:From; b=WVYNlqT/xWN5QlPJk82DyR/rjDTNgd/GFEs3H2BIoeBZLE0wEe8m4ZOBzpZS8c2ko c+CE1Ir4+jZiAljBb28s4bGAgLPDg71acl0K+Cc9c5YYCzxDW1EqmH2z1PSAIYpH+h bYkietxSrk6qvlCgnkpsO1g/XA6HHwNNt2YwBgNBtX86vXSn8XvJ2pDaHeVgnGMlQe 7r+2zW2EYgA1XAgSDBObA2wvYqSGEURZ7B/gBMpl+/edC6XnCMPIlqI4zwFZrKhfP9 ajyhXGjDBcf+ny6NxM3+akj6JZQqeR13mdleI3ZzfNb+rSHl3cGt4EcVyg2W2c+l58 xOzYwTtYpiKdw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G2Fv92h8Fz9rxW; Sat, 12 Jun 2021 13:32:53 +0200 (CEST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17598 Archived-At: Hello Damien, Until today I was not aware, that there is a use-modules with slash notation. I have found, that modifying the load-path is usually not, what I want in the end. I prefer to use the -L argument for telling Guile, which directories it should start "looking from" when processing the list in a (use-modules ...) expression. Unfortunately I do not know, whether anything relating to that changed. Best regards, Zelphir On 6/12/21 10:47 AM, Damien Mattei wrote: > hi, > i had : > ;; set current path in load path > (set! %load-path (reverse (cons "." (reverse %load-path)))) > in my .guile > in guile 2.* > and i was able to load module like that: > (not sure it is correct to do that) > > (use-modules (guile/growable-vector)) > and now it works with: > (use-modules (guile growable-vector)) > > in guile 2.* the beahvior was exactly opposite: the first example worked > not the second > > did someone know if it changed? or a possible problem in my config files? > > Damien -- repositories: https://notabug.org/ZelphirKaltstahl