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

2012-11-08 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hi! > > Mark H Weaver 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

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

2012-11-07 Thread Alex Shinn
On Thu, Nov 8, 2012 at 5:28 AM, Ludovic Courtès wrote: > Hi! > > Mark H Weaver 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.

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

2012-11-07 Thread Ludovic Courtès
Hi! Mark H Weaver 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 i

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

2012-11-05 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > My current inclination would be to fully reject it, then. Okay. > Currently there are two stat(2) for each entry in $GUILE_LOAD_PATH: [...] > That would double that. > > This is likely to become noticeable with large $GUILE_LOAD_PATH values > and/or numero

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

2012-11-05 Thread Ian Price
l...@gnu.org (Ludovic Courtès) writes: >> * Reject the dominant R6RS library naming convention, and force users >> and guildhall repository maintainers to rename the files to .scm and >> move *.guile.sls to *.scm. Based on Mark's prompting, I have already done this for a number of existing gu

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

2012-11-05 Thread Ian Price
nalaginrut writes: > hey guys! Should we consider add our specified name, like: .gl or > just .guile? Please don't -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

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

2012-11-05 Thread nalaginrut
hey guys! Should we consider add our specified name, like: .gl or just .guile? On Mon, 2012-11-05 at 22:15 +0100, Ludovic Courtès wrote: > Hi! > > Mark H Weaver skribis: > > > I don't think the command-line switch is a good solution. The problem > > is that even if the main program is not wri

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

2012-11-05 Thread Ludovic Courtès
Hi! Mark H Weaver skribis: > I don't think the command-line switch is a good solution. The problem > is that even if the main program is not written in R6RS, and even if the > main program does not use any R6RS libraries directly, this option might > still be needed. Right, good point. > I se

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

2012-11-05 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Andreas Rottmann skribis: > >> Not a hindrance, just an annoyance, IMHO. Maybe a reasonable compromise >> would be to add an --r6rs switch, to add these extensions, as well as >> turn on any R6RS-compatiblity reader options, so the script being >> executed

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

2012-11-05 Thread Ludovic Courtès
Hi, Andreas Rottmann skribis: > Not a hindrance, just an annoyance, IMHO. Maybe a reasonable compromise > would be to add an --r6rs switch, to add these extensions, as well as > turn on any R6RS-compatiblity reader options, so the script being > executed can use the R6RS syntax we already suppo

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

2012-11-04 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hi! > > Andreas Rottmann skribis: > >> For performance reasons, it *might* make sense to not enable this >> behavior by default, but provide a command-line switch; however, >> enabling this behavior is *already* possible using command-line switches >> ("-x

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

2012-11-04 Thread Ludovic Courtès
Hi! Andreas Rottmann skribis: > For performance reasons, it *might* make sense to not enable this > behavior by default, but provide a command-line switch; however, > enabling this behavior is *already* possible using command-line switches > ("-x .guile.sls -x .sls"), so I don't know... Right.

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

2012-11-04 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hi, > > Mark H Weaver skribis: > >> Any objections to adding ".guile.sls" and ".sls" to Guile's default >> %load-extensions? > > OK for .sls, but why .guile.sls? > This is used for compatibility libraries, for instance: % ls spells/filesys/ compat.g

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

2012-11-04 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > Any objections to adding ".guile.sls" and ".sls" to Guile's default > %load-extensions? OK for .sls, but why .guile.sls? Ludo’.

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

2012-11-04 Thread Noah Lavine
If it's semi-standard, we should probably support it too. However, a Google search reveals the following other uses of .sls: - A list of images for a slideshow ("sls" stands for "slideshow script") - The backup files for some program callled Litespeed - ScriptLab Scripts (seems to be an imag