From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Modified load-path proposal Date: Fri, 28 Oct 2005 18:45:08 +0100 Message-ID: <87vezhbknv.fsf@ossau.uklinux.net> References: <878xwx5ld2.fsf@ossau.uklinux.net> <87u0fl3wam.fsf@ossau.uklinux.net> <87oe5s51l4.fsf@ivanova.rotty.yi.org> <87ek6njah0.fsf@ossau.uklinux.net> <87r7adf8h1.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130521720 29752 80.91.229.2 (28 Oct 2005 17:48:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2005 17:48:40 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Oct 28 19:48:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVYIE-0006kz-Bw for guile-user@m.gmane.org; Fri, 28 Oct 2005 19:45:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVYID-0003nB-N8 for guile-user@m.gmane.org; Fri, 28 Oct 2005 13:45:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVYI5-0003lc-I7 for guile-user@gnu.org; Fri, 28 Oct 2005 13:45:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVYI0-0003hp-Jx for guile-user@gnu.org; Fri, 28 Oct 2005 13:45:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVYHx-0003hU-LD for guile-user@gnu.org; Fri, 28 Oct 2005 13:45:15 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVYHx-0003Uw-QS for guile-user@gnu.org; Fri, 28 Oct 2005 13:45:13 -0400 Original-Received: from laruns (host81-139-72-254.in-addr.btopenworld.com [81.139.72.254]) by mail3.uklinux.net (Postfix) with ESMTP id 0C17C40A0B3; Fri, 28 Oct 2005 17:45:12 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 3DFB96F6CE; Fri, 28 Oct 2005 18:45:09 +0100 (BST) Original-To: Kevin Ryde In-Reply-To: <87r7adf8h1.fsf@zip.com.au> (Kevin Ryde's message of "Sun, 23 Oct 2005 09:16:42 +1000") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4902 Archived-At: Kevin Ryde writes: > I think there's some confusion here. > > The automake docs read like AM_PATH_LISPDIR goes to wherever emacs is > installed, but looking at the code for that macro, and giving it a > run, I believe it merely chooses between > > $libdir/emacs/site-lisp > $libdir/xemacs/site-lisp > $datadir/emacs/site-lisp > $datadir/xemacs/site-lisp > > according to whether $EMACS load-path has /something/lib or > /something/share, and whether it's emacs or xemacs. Thanks for the heads up. I've looked at the AM_PATH_LISPDIR code now and agree that you're right. Together with the history that shows up if you google for AM_PATH_LISPDIR, this suggests that Greg's and Ludovic's preference for things only being installed under $prefix was right all along. And if we go with that it also makes everything much simpler. - We no longer need the idea that the distribution or Guile installation has a preference for where 3rd party packages should go, so the `default' marker in config.scm can disappear. - Therefore we don't need the GUILE_SCHEME_DIR macro. - Therefore we don't need tags or descriptions. So all that's left is: - config.scm, as previously described but with simpler format like this: ((load-path "/usr/share/guile/site" "/usr/share/guile" "/usr/share/guile/1.6" ...) ...) - Guile's reading of config.scm on startup, as previously described (and respecting $sysconfdir) - guile-config ensure-load-path and guile-config clean-load-path, for use at package author's discretion in Makefile.am. Everyone happy with that? Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user