From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add ".guile.sls" and ".sls" to the default %load-extensions Date: Mon, 05 Nov 2012 01:17:05 +0100 Message-ID: <87k3u0kiny.fsf@delenn.lan> References: <87fw4qgi1i.fsf@tines.lan> <87k3u16rak.fsf@gnu.org> <87k3u1knqn.fsf@delenn.lan> <87bofd6j24.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352074635 12470 80.91.229.3 (5 Nov 2012 00:17:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2012 00:17:15 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 05 01:17:24 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 1TVANY-0004aQ-DF for guile-devel@m.gmane.org; Mon, 05 Nov 2012 01:17:24 +0100 Original-Received: from localhost ([::1]:36105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVANP-0005xM-DP for guile-devel@m.gmane.org; Sun, 04 Nov 2012 19:17:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVANM-0005xH-MG for guile-devel@gnu.org; Sun, 04 Nov 2012 19:17:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVANK-0003dD-LB for guile-devel@gnu.org; Sun, 04 Nov 2012 19:17:12 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:44733) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TVANK-0003d6-Bs for guile-devel@gnu.org; Sun, 04 Nov 2012 19:17:10 -0500 Original-Received: (qmail invoked by alias); 05 Nov 2012 00:17:09 -0000 Original-Received: from 91-119-183-25.dynamic.xdsl-line.inode.at (EHLO cubox.home.rotty.xx.vu) [91.119.183.25] by mail.gmx.net (mp024) with SMTP; 05 Nov 2012 01:17:09 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/JJ61d6LrJu52qCHOabxLeLfXilO/O5gfbO8jXft mekFmd2QXYdfL4 Original-Received: from delenn.lan (delenn.home.rotty.xx.vu [IPv6:fdfb:599d:f328:2::6e]) by cubox.home.rotty.xx.vu (Postfix) with ESMTP id 7148116009E; Mon, 5 Nov 2012 01:17:05 +0100 (CET) Original-Received: by delenn.lan (Postfix, from userid 1000) id 32E18320141; Mon, 5 Nov 2012 01:17:05 +0100 (CET) In-Reply-To: <87bofd6j24.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 05 Nov 2012 00:32:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.22 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:15087 Archived-At: ludo@gnu.org (Ludovic Court=C3=A8s) 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 .guile.sls -x .sls"), so I don't know... > > Right. We=E2=80=99d endup stat=E2=80=99ing two more files for each modul= e, right? > Indeed. > How much of a hindrance is it to *not* have these in the default > extension list? > 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 support, even when it is disabled by default (cf. my latest patch). On the other hand, these extensions are not part of R6RS and orthogonal to whether the script to be run uses R6RS syntax incompatible with the default reader options. Regards, Rotty --=20 Andreas Rottmann --