From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: The load path Date: Fri, 05 Nov 2004 18:31:59 +0100 Message-ID: <874qk4fbhs.fsf@ivanova.rotty.yi.org> References: <1097949129.4178.31.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099678151 25838 80.91.229.6 (5 Nov 2004 18:09:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 18:09:11 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 05 19:08:58 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 1CQ8W9-0004oq-00 for ; Fri, 05 Nov 2004 19:08:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ8eL-0003Ql-JR for guile-devel@m.gmane.org; Fri, 05 Nov 2004 13:17:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQ8eA-0003PM-Rf for guile-devel@gnu.org; Fri, 05 Nov 2004 13:17:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQ8e9-0003OU-Uk for guile-devel@gnu.org; Fri, 05 Nov 2004 13:17:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ8e9-0003ON-QZ for guile-devel@gnu.org; Fri, 05 Nov 2004 13:17:13 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQ8VU-0004Vd-MC for guile-devel@gnu.org; Fri, 05 Nov 2004 13:08:17 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CQ8VT-000615-00 for ; Fri, 05 Nov 2004 19:08:15 +0100 Original-Received: from chello080109053157.14.14.univie.teleweb.at ([80.109.53.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Nov 2004 19:08:15 +0100 Original-Received: from a.rottmann by chello080109053157.14.14.univie.teleweb.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Nov 2004 19:08:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-devel@gnu.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: chello080109053157.14.14.univie.teleweb.at User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:7C5hXxPsTLWNiYWbytiKJj5xXyg= 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: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4339 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4339 Marius Vollmer writes: > [ Andy, I discussed this with rlb on #guile, but I guess you weren't > there at the time. The below is a (subjectively filtered) > summary. > ] > > Andy Wingo writes: > >> First off, the load path for a guile in /usr/bin/guile doesn't >> include /usr/local. > > Yes. I am not sure whether it is good to single out /usr/local, tho. > There might be any number of directories that people could reasonable > expect to be in the load path, such as /opt//guile for a > Guile using . > > We do currently support "init.scm": This file gets executed at startup > immediately after boot-9.scm. It is looked for in the load path. > That file is intended for site-specific initialization such as adding > /usr/local, /opt/ etc to the load path. > > This does not address what should be in that file _by_default_. In > fact, the Debian approach is to have a directory of init files that > all get executed in order, so that different packages can cleanly > deposit their own actions. > > We think we should support this directly in Guile. What about > executing this code at the end of boot-9.scm: > [snip] > > This will run every *.scm file in ${sysconfdir}/guile-1.x/init.d/ in > lexicographic order. > After skimming the Debian Emacs Policy, I think there might be one useful feature to copy: All emacsen have a /etc/emacs/site-start.d directory in common, which is used in case there is no /etc//site-start.d directory: ,---- | This result is that .elc files will take precedence over .el files | in a given directory, and files in the site-start.d | directory will take precedence over those in the emacs common | directory. `---- This might be useful to support multiple versions of Guile on a system, but nevertheless allowing packages that do not depend on a specific Guile version to place their scripts into /etc/guile/init.d. Just my 2 eurocent, Rotty -- Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 Software Patents: Where do you want to stifle inovation today? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel