unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Damien Mattei <damien.mattei@gmail.com>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: %load-path
Date: Sat, 12 Jun 2021 11:32:52 +0000	[thread overview]
Message-ID: <a5f3e7f2-41ce-2f34-1ab7-ab2dd02635d3@posteo.de> (raw)
In-Reply-To: <CADEOadempGa2cawo68bVgnLAbcgRX7Ri__DNh=GEURSLQVoa9g@mail.gmail.com>

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




  reply	other threads:[~2021-06-12 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12  8:47 %load-path Damien Mattei
2021-06-12 11:32 ` Zelphir Kaltstahl [this message]
2021-06-12 12:08   ` %load-path tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5f3e7f2-41ce-2f34-1ab7-ab2dd02635d3@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=damien.mattei@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).