From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.devel Subject: Re: Windows file name separators Date: Mon, 30 Jun 2014 17:56:29 +0300 Message-ID: <834mz25tuq.fsf@gnu.org> References: <83lht730k8.fsf@gnu.org> <87k38p6f9v.fsf@gnu.org> <83egyw21qd.fsf@gnu.org> <87ioni1wdb.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1404140244 13607 80.91.229.3 (30 Jun 2014 14:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2014 14:57:24 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 30 16:57:17 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X1d16-0004ud-Eh for guile-devel@m.gmane.org; Mon, 30 Jun 2014 16:57:12 +0200 Original-Received: from localhost ([::1]:34866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1d16-000066-3M for guile-devel@m.gmane.org; Mon, 30 Jun 2014 10:57:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1d0e-0007wX-8p for guile-devel@gnu.org; Mon, 30 Jun 2014 10:56:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1d0X-0002h1-ON for guile-devel@gnu.org; Mon, 30 Jun 2014 10:56:44 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1d0X-0002gk-GD; Mon, 30 Jun 2014 10:56:37 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N7Z00H00LBP4Z00@a-mtaout20.012.net.il>; Mon, 30 Jun 2014 17:56:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7Z00G60LIBDMC0@a-mtaout20.012.net.il>; Mon, 30 Jun 2014 17:56:35 +0300 (IDT) In-reply-to: <87ioni1wdb.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:17253 Archived-At: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Cc: guile-devel@gnu.org > Date: Mon, 30 Jun 2014 13:15:44 +0200 >=20 > > To solve this problem completely, we need a function that > > canonicalizes a file name wrt directory separators -- converts al= l > > backslashes to forward slashes. Does Guile have such a function? >=20 > My understanding of your other message is that you now advocate try= ing > hard to stick to slashes instead of backslashes, in which case a fi= le > name canonicalization function is practically unnecessary, right? Yes, I think so -- provided that I indeed succeeded in finding all th= e places where file names and path lists are created from directories returned by C APIs. You are in a better position to judge that, as I still have only a very vague idea about which part of Guile does what= , both in C and in Scheme. In Emacs, some of the file and directory names recorded during the build and startup come from argv[0] and from prefix-relative director= y names computed by configure. Is there something similar in Guile, an= d if so, where do I find that?