From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: -I for guile command line Date: Sun, 15 Aug 2004 23:27:05 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87llggay8m.fsf@zagadka.ping.de> References: <0CB8AB8A-CBC8-11D8-A9B1-000A95CD5044@mac.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092605245 32318 80.91.224.253 (15 Aug 2004 21:27:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Aug 2004 21:27:25 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Aug 15 23:27:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BwSX8-0005ZR-00 for ; Sun, 15 Aug 2004 23:27:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwSbD-0005iz-0p for guile-devel@m.gmane.org; Sun, 15 Aug 2004 17:31:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BwSbA-0005iu-In for guile-devel@gnu.org; Sun, 15 Aug 2004 17:31:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BwSbA-0005ii-3V for guile-devel@gnu.org; Sun, 15 Aug 2004 17:31:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BwSb9-0005if-IP for guile-devel@gnu.org; Sun, 15 Aug 2004 17:31:27 -0400 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BwSX3-0004OC-Ll for guile-devel@gnu.org; Sun, 15 Aug 2004 17:27:13 -0400 Original-Received: from [195.253.24.121] (helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 4.34) id 1BwSX2-0005l7-Vd for guile-devel@gnu.org; Sun, 15 Aug 2004 23:27:13 +0200 Original-Received: (qmail 3661 invoked by uid 1000); 15 Aug 2004 21:27:06 -0000 Original-To: Richard Todd In-Reply-To: <0CB8AB8A-CBC8-11D8-A9B1-000A95CD5044@mac.com> (Richard Todd's message of "Thu, 1 Jul 2004 20:35:07 -0500") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.lisp.guile.devel:3953 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3953 Richard Todd writes: > any interest in this patch? It lets you put -I on the guile command > line, to add directories to the load path. > > as in: > guile -I .. -I . script-in-development.scm > > I find this easier than mucking with that environment variable. That's a nice feature, we should add it. But, in which order should the arguments be added to the load path? The usual way would be to add them in such a way that the first argument is searched first, I'd say. You patch makes the frist one be searched last. Also, the command-line dirs should probably be searched before the environment ones, which you patch does, but we need to document this all properly. I'd say we should use '-L' instead of '-I'. Sooo, could you make a new patch that addresses the issues above, if you agree? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel