From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Shinn Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions Date: Thu, 8 Nov 2012 11:37:36 +0900 Message-ID: References: <87fw4qgi1i.fsf@tines.lan> <87k3u16rak.fsf@gnu.org> <87k3u1knqn.fsf@delenn.lan> <87bofd6j24.fsf@gnu.org> <87k3u0kiny.fsf@delenn.lan> <87pq3s9j2b.fsf@gnu.org> <874nl3epxw.fsf@tines.lan> <87liefsqe0.fsf@gnu.org> <87mwyvcnsc.fsf@tines.lan> <87zk2tkvhx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352342262 18404 80.91.229.3 (8 Nov 2012 02:37:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2012 02:37:42 +0000 (UTC) Cc: Mark H Weaver , guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Nov 08 03:37:52 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TWI08-0000AT-4i for guile-devel@m.gmane.org; Thu, 08 Nov 2012 03:37:52 +0100 Original-Received: from localhost ([::1]:51140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHzy-0002jT-RJ for guile-devel@m.gmane.org; Wed, 07 Nov 2012 21:37:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHzv-0002j8-SO for guile-devel@gnu.org; Wed, 07 Nov 2012 21:37:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWHzu-0007EA-Kp for guile-devel@gnu.org; Wed, 07 Nov 2012 21:37:39 -0500 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:61623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWHzu-0007E2-D2; Wed, 07 Nov 2012 21:37:38 -0500 Original-Received: by mail-lb0-f169.google.com with SMTP id k6so2049960lbo.0 for ; Wed, 07 Nov 2012 18:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=eDGs+jlGUEMuXG3hEMhw82XPGZN920IlC3WadO26LF4=; b=b6MbE9IYJrwGDTdIk8cz2MdRD6cYs5CBnLMT6Ab1vQZHo437ASKzggqVTfjgkiKoyQ yBcRq4Dd2gLODooVWQk+ud6IUjGX4JNwW8AwWOcDAok6bkcVisBtlWzwpXALOtPU4uQc aLYhZtMpsJVvmvLMR8UKWiNeDfkg27bDnZgnGDUTfXRGCAvFMXjL+vAeW8pChWW0iLWx nb0Na2fkQDVBqMK3ktlXuu9s5mE6jhpmBoZBIJtwTGuTY/i5SEq+GvSfOB/j1AMMtudG qV5NBLTOPPBEAKgIJt18NXwtyEtgtcyqMu4Qn8Bllo5IDvjRXBaTExvjrFxJv9p3QJOx +89g== Original-Received: by 10.152.108.42 with SMTP id hh10mr6096051lab.4.1352342256485; Wed, 07 Nov 2012 18:37:36 -0800 (PST) Original-Received: by 10.112.102.197 with HTTP; Wed, 7 Nov 2012 18:37:36 -0800 (PST) In-Reply-To: <87zk2tkvhx.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15126 Archived-At: On Thu, Nov 8, 2012 at 5:28 AM, Ludovic Court=E8s 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=92s quite an uncommon model. > >>> (I=92m 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=92t 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? FYI, there is currently no convention, and the design of Snow (the library sharing network) does not require any specific extension (you create and work with packages which are self-describing via meta-info). However, for third-party tools it may be convenient to have a common convention. Currently Chibi uses .sld (Scheme Library Definition) to distinguish from R6RS. These can inline the entire library definition, or use include files (again, since you specify the filename any extension will do, and Chibi uses the traditional .scm). --=20 Alex