On Mon, 25 Sep 2023 11:26:31 +0200 Maxime Devos <maximede...@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.