From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names. Date: Mon, 02 May 2011 09:45:45 +0200 Message-ID: References: <1297784103-18322-1-git-send-email-janneke-list@xs4all.nl> <1297784103-18322-3-git-send-email-janneke-list@xs4all.nl> <871v0ium61.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1304322373 6902 80.91.229.12 (2 May 2011 07:46:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 07:46:13 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 02 09:46:03 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 1QGnpS-0007oS-F7 for guile-devel@m.gmane.org; Mon, 02 May 2011 09:46:03 +0200 Original-Received: from localhost ([::1]:60324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGnpS-0002jK-1x for guile-devel@m.gmane.org; Mon, 02 May 2011 03:46:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGnpN-0002bE-8z for guile-devel@gnu.org; Mon, 02 May 2011 03:45:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGnpL-0003Ba-Ry for guile-devel@gnu.org; Mon, 02 May 2011 03:45:57 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:51320 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGnpL-0003BU-PL for guile-devel@gnu.org; Mon, 02 May 2011 03:45:55 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A2CED3A24; Mon, 2 May 2011 03:47:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=6wKEHkTZ33+7pFlW042/VSFpIOs=; b=P0UXos P0/yGChUReXbqDxD4szcZ0+tCk4/OHBv+Il+sX1+MvyiocWJcn2iCT9M6tbMIgDv moZp3cRvroeMA14JCjHbw/BO8m/rdkqtoFGyu6tzmv0XcDilGTQLEmjBv4F8B6oK 15PgUCSE/rSsd8lYoCGKgzSRalOp8xFQoat1Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=FNFu5qpxWNRs/jiURlRFnZeXbrJALmPT gyjJyRR/vvdXx4zyOF2K7jpiB38CyQXSAG3ANt9PaNjmgYv8zMkpBjQrg/oXBmRs DpwKftglkD93LXLMkjqIH6A9oCktjCszPMCvC9RotlP+5HUX3lEfM4zWmq3Rls0h eXtg48Zc36k= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7FD0B3A22; Mon, 2 May 2011 03:47:54 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 98AB53A20; Mon, 2 May 2011 03:47:51 -0400 (EDT) In-Reply-To: <871v0ium61.fsf@netris.org> (Mark H. Weaver's message of "Sun, 01 May 2011 17:48:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 7D1F5F40-7490-11E0-8054-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:12399 Archived-At: On Sun 01 May 2011 23:48, Mark H Weaver writes: > on some systems (e.g. Windows NT) filenames are considered character > data, or at least so says PEP 383 > Ah, interesting, I was blissfully ignorant; not the desired state when one is hacking file-name encoding :) Still, though, I think the basic point stands: copy what Racket does, because they actually do run well on windows and are happy with their abstraction. It's the sincerest form of flattery :) > Ideally, we should try to come up with a coherent story and set of > APIs for dealing with all of these data that are string-like, but > actually bytevectors on some systems. Environment variables and command-line arguments being the other ones that you mentioned; and yes, some common conventions here would be good. I still think, though, that path objects need their own data type. Peace, Andy -- http://wingolog.org/