[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions

From: Ludovic Courtès
Subject: Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions
Date: Wed, 07 Nov 2012 21:28:58 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)


Mark H Weaver <address@hidden> skribis:

> One option would be to return to Aubrey Jaffer's model (used in SCM),
> where a catalog of modules and their locations is maintained

Hmm, I never really liked that.  And it’s quite an uncommon model.

>> (I’m not sure if searching for a file name with no extension is
>> intentional.  Ideas?)
> I looked into this.  Guile has searched for file names with no extension
> since its initial import into VCS in 1996 (0f2d19dd).  Initially, names
> with no extension were searched _before_ *.scm, and this logic was
> hard-coded into the search procedure (try-module-autoload in
> boot-9.scm).  Jim Blandy introduced the '%load-extensions' variable with
> default value ("" ".scm") later in 1996 (26544b96), and Mikael Djurfeldt
> reversed the order to (".scm" "") in 1999 (0a74e31d).  It has been that
> way ever since.

Woow, thanks for digging it up.  Now we should find out what these guys
had in mind *before* Guile was first put under version control.  ;-)

Anyway, I still don’t know what to do with .sls.  But the fact that R7
may come up with its own extension makes me think that maybe we should
just forget about that extension, as everyone will eventually do.   Hmm?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]