unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.de>
Cc: guile-devel@gnu.org
Subject: Re: -I for guile command line
Date: Sun, 15 Aug 2004 23:27:05 +0200	[thread overview]
Message-ID: <87llggay8m.fsf@zagadka.ping.de> (raw)
In-Reply-To: <0CB8AB8A-CBC8-11D8-A9B1-000A95CD5044@mac.com> (Richard Todd's message of "Thu, 1 Jul 2004 20:35:07 -0500")

Richard Todd <rwtodd@mac.com> 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


  parent reply	other threads:[~2004-08-15 21:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-02  1:35 -I for guile command line Richard Todd
2004-07-10  0:12 ` Kevin Ryde
2004-07-10  1:28   ` Richard Todd
2004-08-15 21:27 ` Marius Vollmer [this message]
2004-08-15 21:36   ` Richard Todd
2004-08-15 23:17     ` Richard Todd
2004-08-15 23:18       ` Richard Todd
2004-08-21 17:45       ` Marius Vollmer
  -- strict thread matches above, loose matches on Subject: below --
2004-07-05 17:56 Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87llggay8m.fsf@zagadka.ping.de \
    --to=mvo@zagadka.de \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).