From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names. Date: Wed, 04 May 2011 11:24:00 +0200 Message-ID: <87zkn2stsf.fsf@gnu.org> References: <1297784103-18322-1-git-send-email-janneke-list@xs4all.nl> <1297784103-18322-3-git-send-email-janneke-list@xs4all.nl> <87r58gzuoy.fsf@gnu.org> <87vcxsycds.fsf@gnu.org> <87wri7ru80.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304501058 31501 80.91.229.12 (4 May 2011 09:24:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 May 2011 09:24:18 +0000 (UTC) Cc: Andy Wingo , Mark H Weaver , guile-devel@gnu.org To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed May 04 11:24:11 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHYJW-0003bW-Vl for guile-devel@m.gmane.org; Wed, 04 May 2011 11:24:11 +0200 Original-Received: from localhost ([::1]:44717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHYJW-0004Wv-Dm for guile-devel@m.gmane.org; Wed, 04 May 2011 05:24:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHYJU-0004WX-DZ for guile-devel@gnu.org; Wed, 04 May 2011 05:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHYJT-0002NT-7U for guile-devel@gnu.org; Wed, 04 May 2011 05:24:08 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:35694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHYJT-0002NE-0h for guile-devel@gnu.org; Wed, 04 May 2011 05:24:07 -0400 Original-Received: from nixey (unknown [193.50.110.208]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id C06A544312; Wed, 4 May 2011 11:24:04 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?iso-8859-1?Q?Flor=E9al?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Noah Lavine's message of "Wed, 4 May 2011 00:13:18 -0400") User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12426 Archived-At: Hi Noah, Noah Lavine writes: > The reason this strangeness enters is that path strings are actually > lists (or vectors) encoded as strings. Conceptually, the path > ~/Desktop/Getting\ a\ Job is the list ("~" "Desktop" "Getting a Job"). > In this representation, there are no escapes and no separators. It > always seemed cleaner to me to think about it that way. Agreed. However, POSIX procedures deal with strings, so you still need to convert to a string at some point. So I think there are few places where you could really use anything other than strings to represent file names=E2=80=94unless all of libguile is changed to deal with that, which se= ems unreasonable to me. MIT Scheme=E2=80=99s API goes this route, but that=E2=80=99s heavyweight an= d can hardly be retrofitted in a file-name-as-strings implementation, I think: . > I said this is similar to the (web) module because of all of the > discussion there of how HTTP encodes data types in text, and how it's > better to think of a URI as URI type rather than a special string, > etc. Yes. Thanks, Ludo=E2=80=99.