[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: make Guile compiler always write absolute paths in
From: |
Vili Aapro |
Subject: |
Re: Feature request: make Guile compiler always write absolute paths in .go files for Geiser compatiblity |
Date: |
Mon, 25 Sep 2023 12:36:04 +0300 |
On Mon, 25 Sep 2023 11:26:31 +0200
Maxime Devos <maximedevos@telenet.be> wrote:
> Sounds like a very bad idea. The absolute file name would be somewhere
> in the build directory, which very likely doesn't exist anymore on a
> typical installation.
Yes, you are right.
> I suppose that whatever code
> is responsible for loading .go/.scm can be adjusted to add a prefix
> turning it in an absolute file name.
Yes, this must be the way. The loader should do the job.
> > One wrong way to find out the absolute path would be to go through
> > %load-path, but the semantics of that would break under mutation.
> Can you elaborate?
I was just thinking of a dirty fix on the Emacs side of things, to search for
the module through %load-path, that that would break when %load-path was
mutated.