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 m...@netris.org 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

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 l...@gnu.org wrote: Hi! Mark H Weaver m...@netris.org 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

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

2012-11-05 Thread Ludovic Courtès
Hi, Andreas Rottmann a.rottm...@gmx.at 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

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

2012-11-05 Thread Ludovic Courtès
Hi! Mark H Weaver m...@netris.org 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

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 m...@netris.org skribis: I don't think the command-line switch is a good solution. The problem is that even if the main program is

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

2012-11-05 Thread Ian Price
nalaginrut nalagin...@gmail.com 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 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 numerous

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 image

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

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

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

2012-11-04 Thread Ludovic Courtès
Hi! Andreas Rottmann a.rottm...@gmx.at 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

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 a.rottm...@gmx.at 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

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

2012-11-03 Thread Mark H Weaver
having to rename the files. I'm inclined to go along. What do you think? Mark From fb87359d058e0810158019cbd958f60fcabcb9bd Mon Sep 17 00:00:00 2001 From: Mark H Weaver m...@netris.org Date: Sat, 3 Nov 2012 23:11:46 -0400 Subject: [PATCH] Add .guile.sls and .sls to the default %load