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: Tue, 03 May 2011 00:18:55 +0200 Message-ID: <87vcxsycds.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> 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 1304374750 25918 80.91.229.12 (2 May 2011 22:19:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 22:19:10 +0000 (UTC) Cc: Eli Barzilay , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue May 03 00:19:06 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 1QH1SM-0006Ik-11 for guile-devel@m.gmane.org; Tue, 03 May 2011 00:19:06 +0200 Original-Received: from localhost ([::1]:55290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1SL-0002RQ-Hm for guile-devel@m.gmane.org; Mon, 02 May 2011 18:19:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1SI-0002RL-Pq for guile-devel@gnu.org; Mon, 02 May 2011 18:19:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH1SH-0007J4-PC for guile-devel@gnu.org; Mon, 02 May 2011 18:19:02 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:44291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH1SH-0007Iy-Kh for guile-devel@gnu.org; Mon, 02 May 2011 18:19:01 -0400 Original-Received: from nixey (reverse-83.fdn.fr [80.67.176.83]) (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 00A6F442CA; Tue, 3 May 2011 00:18:59 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?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: (Andy Wingo's message of "Mon, 02 May 2011 23:58:28 +0200") 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:12408 Archived-At: Hello! Andy Wingo writes: > On Mon 02 May 2011 22:58, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > The funny thing is that this doesn't matter at all. Well, I mean that > it's valid to construct pathnames with / as the separator on Windows, as > / and \ are equivalent there. Oh, good. > I still think that we need at least the ability to pass a bytevector as > a path name, on GNU systems; and that if we can do so, then any routine > that needs to deal with a path name would then need to deal in byte > vectors in addition to strings, and at that point perhaps it is indeed > useful to have a path library. To accommodate various file name encodings, right? Then yes. I think GLib and the like expect UTF-8 as the file name encoding and complain otherwise, so UTF-8 might be a better default than locale encoding (and it=E2=80=99s certainly wiser to be locale-independent.) >> Vicinities in SLIB/SCM are similar, with =E2=80=98vicinity:suffix?=E2=80= =99 >> abstracting over slash vs. backslash [2]. I=E2=80=99m not sure how they= handle >> MS-DOS volume names. > > I don't think that they do handle volume names; at least, from what I > could see in the API description there. So volumes matter in the file name canonicalization of the .go cache right? Couldn=E2=80=99t we mimic /cygdrive/c, etc.? Thanks, Ludo=E2=80=99.