From: <tomas@tuxteam.de>
To: Damien Mattei <damien.mattei@gmail.com>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: GOOPS question
Date: Sun, 2 May 2021 12:35:35 +0200 [thread overview]
Message-ID: <20210502103535.GA16372@tuxteam.de> (raw)
In-Reply-To: <CADEOadcbS9LNk6LTTn0nT59a75KYi-tX+cZiOcBc6bPz8y6WFQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
On Sun, May 02, 2021 at 12:14:37PM +0200, Damien Mattei wrote:
> i use now the good way to loadmodule:
>
> scheme@(guile-user)> (set! %load-path (reverse (cons "." (reverse
> %load-path))))
Apart from what Mikael says: if you want to modify `%load-path', you
typically want to add your "special" directories at the front (same
pattern as in the shell path): your local things take precedence,
the rest of the world is default :)
So no need for that double reverse. Unless you have some very special
requirement, that is.
Best of all (see the docs) is to use the function `add-to-load-path'
which adds your directory to the front :)
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-05-02 10:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 23:10 GOOPS question Damien Mattei
2021-04-30 5:52 ` Atom X
2021-04-30 7:55 ` Mikael Djurfeldt
2021-05-02 0:07 ` Damien Mattei
2021-05-02 10:14 ` Damien Mattei
2021-05-02 10:26 ` Mikael Djurfeldt
2021-05-02 10:58 ` Damien Mattei
2021-05-02 10:34 ` Damien Mattei
2021-05-02 10:35 ` tomas [this message]
2021-05-02 10:21 ` Mikael Djurfeldt
2021-05-08 21:11 ` Damien Mattei
2021-05-10 12:22 ` Mikael Djurfeldt
2021-04-30 7:57 ` Linus Björnstam
2021-04-30 9:47 ` Damien Mattei
2021-04-30 10:43 ` Mikael Djurfeldt
2021-04-30 11:08 ` Mikael Djurfeldt
2021-04-30 12:19 ` Stefan Israelsson Tampe
2021-04-30 14:50 ` Mikael Djurfeldt
2021-04-30 15:15 ` Mikael Djurfeldt
[not found] <Pine.GSO.4.05.10207071043010.9685-100000@sallust.ida.ing.tu-bs.de>
2002-07-08 18:26 ` goops question Marius Vollmer
[not found] ` <87fzyu9iu0.fsf@zagadka.ping.de>
2002-07-08 19:59 ` Dirk Herrmann
2002-07-09 21:17 ` Neil Jerram
-- strict thread matches above, loose matches on Subject: below --
2002-07-07 8:45 Dirk Herrmann
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=20210502103535.GA16372@tuxteam.de \
--to=tomas@tuxteam.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).