unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: <dsmich@roadrunner.com>
Cc: guile-devel@gnu.org
Subject: Re: guile-vm .go files in GUILE_LOAD_PATH
Date: Thu, 18 Sep 2008 23:14:03 +0200	[thread overview]
Message-ID: <m3prn140o4.fsf@pobox.com> (raw)
In-Reply-To: <18730150.2888471221770986002.JavaMail.root@cdptpa-web08-z02> (dsmich@roadrunner.com's message of "Thu, 18 Sep 2008 16:49:45 -0400")

Heya Dale,

On Thu 18 Sep 2008 22:49, <dsmich@roadrunner.com> writes:

> I'm pretty sure the case of not using the already installed system .scm
> files while building is handled now.

It is, but only because the uninstalled dirs are before the installed
dirs.

I committed a patch to the vm branch to remove the installed dirs from
guile's load path when running as pre-inst-guile:

    http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=02b84691b274155f4528f99e90fbe39c77ed546d

NB, relative to master, that patch depends on this one:

    http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=be52b55a3213c8f683d1007a542771daa3f9a06b

> I'm thinking more along the lines
> of some user wanted to override a system file for some reason. This
> issue came up for me when I wanted to use a newer gnus than what came
> with the system supplied emacs. At that time I didn't have admin privs
> so I just installed gnus somewhere under my home dir and made sure that
> the emacs load path searched there first. Can this situation ever come
> up in Guile? Maybe.

Sure it can. Hopefully you could get through it via the newer-than
check... but I do see your point.

> As Neil mentioned, emacs is a good example to follow. That's why I'm
> suggesting this.

I did look at its docs for quite some time before implementing it the
way that I did. That said, your solution may be the better one in the
long term. Does anyone else have an opinion?

Cheers,

Andy
-- 
http://wingolog.org/




  reply	other threads:[~2008-09-18 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 20:49 guile-vm .go files in GUILE_LOAD_PATH dsmich
2008-09-18 21:14 ` Andy Wingo [this message]
2008-09-18 22:32 ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2008-09-17 22:57 dsmich
2008-09-18  3:55 ` David Séverin
2008-09-18  7:26 ` Neil Jerram
2008-09-18 18:40 ` 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=m3prn140o4.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=dsmich@roadrunner.com \
    --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).