From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Future of ice-9/slib.scm. Date: Fri, 09 Dec 2005 12:42:59 -0800 Message-ID: <87vexyatnw.fsf@trouble.defaultvalue.org> References: <878xvpupx0.fsf@trouble.defaultvalue.org> <87psoyhan9.fsf@trouble.defaultvalue.org> <87u0e8afak.fsf@zagadka.de> <87veyoik74.fsf@trouble.defaultvalue.org> <87acg0gvq0.fsf@trouble.defaultvalue.org> <87y83kyzs4.fsf@zagadka.de> <87acg03z69.fsf@trouble.defaultvalue.org> <87mzjzt7fu.fsf@trouble.defaultvalue.org> <871x1b58m4.fsf@zip.com.au> <87u0e6rjbj.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134162378 7212 80.91.229.2 (9 Dec 2005 21:06:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Dec 2005 21:06:18 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 09 22:06:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkpPj-0004RC-E7 for guile-devel@m.gmane.org; Fri, 09 Dec 2005 22:04:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkpQ5-00005a-D4 for guile-devel@m.gmane.org; Fri, 09 Dec 2005 16:04:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ekp5U-0006W2-C4 for guile-devel@gnu.org; Fri, 09 Dec 2005 15:43:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ekp5R-0006Tx-Tx for guile-devel@gnu.org; Fri, 09 Dec 2005 15:43:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ekp5R-0006Tq-FX for guile-devel@gnu.org; Fri, 09 Dec 2005 15:43:25 -0500 Original-Received: from [70.85.129.156] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ekp6g-0001W0-T0 for guile-devel@gnu.org; Fri, 09 Dec 2005 15:44:43 -0500 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id DE65390D2B for ; Fri, 9 Dec 2005 14:43:00 -0600 (CST) Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by omen.defaultvalue.org (Postfix) with ESMTP id A1F37410E for ; Fri, 9 Dec 2005 12:43:00 -0800 (PST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 8FC5D411AD; Fri, 9 Dec 2005 12:42:59 -0800 (PST) Original-To: guile-devel@gnu.org In-Reply-To: <87u0e6rjbj.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sun, 20 Nov 2005 15:27:44 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (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: , 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: news.gmane.org gmane.lisp.guile.devel:5496 Archived-At: Rob Browning writes: > I suppose that leaves just the vicinity related definitions in > question. As far as I can tell, the vicinity related definitions aren't exported or documented, so I think we can just drop those too. For those still following this discussion, I'm planning to put the following code into guile-1.6 in Debian unstable as the contents of ice-9/slib.scm, and presuming no one has any improvements or objections, I'll also commit it to 1.6 CVS a bit later. With this arrangement, users who find they really need the old slib behavior in 1.6, will be able to set *guile-use-old-ice-9-slib* to #t. This define will not be included in in 1.8. (if (and (defined? '*guile-use-old-ice-9-slib*) *guile-use-old-ice-9-slib*) (load-from-path "ice-9/slib-old.scm") (begin ;; The goal here is to eventually *only* rely on guile.init and ;; communicate any needed fixes upstream, but for now, we still ;; need to do a bit of the work here. ;; ;; At some point, we will probably just want to require a "new ;; enough" version of slib (perhaps with Guile 1.8). In that ;; case, we'll probably just load guile.init, and then test the ;; version. ;; These can be removed if/when we require a "new enough" ;; version of SLIB. (define-module (ice-9 slib)) (provide 'hash) (load-from-path "slib/guile.init") ;; This can be removed if/when we require a "new enough" version of SLIB. (if (not (defined? 'browse-url)) ;; Nothing special to do for this, so straight from ;; Template.scm. Maybe "sensible-browser" for a debian ;; system would be worth trying too (and would be good on a ;; tty). (define-public (browse-url url) (define (try cmd end) (zero? (system (string-append cmd url end)))) (or (try "netscape-remote -remote 'openURL(" ")'") (try "netscape -remote 'openURL(" ")'") (try "netscape '" "'&") (try "netscape '" "'")))))) -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel