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: Emacs-like file buffers Date: Fri, 12 May 2006 21:08:52 -0700 Message-ID: <87wtcqva5n.fsf@trouble.defaultvalue.org> References: <9c4a82e00605070018l16448e72q374ae255a35fe3e3@mail.gmail.com> <87u0811wv7.fsf@trouble.defaultvalue.org> <871wv4nkx7.fsf@zip.com.au> <874q00xbqo.fsf@trouble.defaultvalue.org> <87ejyy8z96.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 1147493354 11507 80.91.229.2 (13 May 2006 04:09:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 May 2006 04:09:14 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 13 06:09:11 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FelRB-0006jn-D4 for guile-devel@m.gmane.org; Sat, 13 May 2006 06:09:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FelRA-00044L-Po for guile-devel@m.gmane.org; Sat, 13 May 2006 00:09:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FelR3-00041m-OD for guile-devel@gnu.org; Sat, 13 May 2006 00:08:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FelR2-000411-4i for guile-devel@gnu.org; Sat, 13 May 2006 00:08:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FelR2-00040w-11 for guile-devel@gnu.org; Sat, 13 May 2006 00:08:56 -0400 Original-Received: from [70.85.129.156] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FelSu-0008GL-JP for guile-devel@gnu.org; Sat, 13 May 2006 00:10:52 -0400 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id CDCFD90DAD for ; Fri, 12 May 2006 21:08:53 -0700 (PDT) Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by omen.defaultvalue.org (Postfix) with ESMTP id 6AFB223DBB for ; Fri, 12 May 2006 21:08:53 -0700 (PDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 120DE3C1039; Fri, 12 May 2006 21:08:52 -0700 (PDT) Original-To: guile-devel@gnu.org In-Reply-To: <87ejyy8z96.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 13 May 2006 11:55:17 +1000") 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:5923 Archived-At: Kevin Ryde writes: > Rob Browning writes: >> My impression was that Guile just uses whatever library it finds on >> the system (if any), and that the library found might or might not be >> POSIX compliant. If that's correct, then I'd much rather have an >> arrangement where we know exactly what kind of regular expressions >> Guile will provide on *any* host system. > > I'd probably only go so far as help someone link to a decent library, > a "--with" option on configure or whatever. Non-posix libc would > probably hurt many programs so you could argue guile needn't try too > hard to overcome it. I still think there's quite a lot to be said for the fact that in Perl (and I assume Python) you can write the equivalent of (if (regex-match FOO filename) (rm-rf filename)) and know for *sure* that according to the official documentation (barring an implementation bug) you will get the exact same behavior on every supported platform. Frankly, without some guarantee like that, I would think twice about trying to write regular expression based, cross-platform scripts (in particular, destructive programs) using Guile. Of course if we could add a mandatory, full POSIX regular expression test suite to make check (whenever regular expressions are available), then that, along with suitable documentation, would be one way to solve the problem. -- 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