From: Andy Wingo <wingo@pobox.com>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guile-devel@gnu.org
Subject: Re: git push weird?
Date: Wed, 16 Jun 2010 00:15:47 +0200 [thread overview]
Message-ID: <m339wohrho.fsf@pobox.com> (raw)
In-Reply-To: <87wru0m037.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Tue, 15 Jun 2010 23:56:28 +0200")
Hi,
On Tue 15 Jun 2010 23:56, Thien-Thi Nguyen <ttn@gnuvola.org> writes:
> () Andy Wingo <wingo@pobox.com>
> () Tue, 15 Jun 2010 23:07:47 +0200
>
> Just for readability I have rebased the commits. The gnulib commit will
> get overwritten at the next gnulib import. GUILE_CONFIG_SCRIPT is fine.
>
> OK, thanks for cleaning up my mess.
No prob. FWIW what happened was that Ludovic and I both responded and
reverted at the same time; amusing. We worked it out on IRC in the end.
His comments are still valid, of course.
> If you really think that 'tmpfile is the right thing, let's talk about
> it :)
>
> One way to rationalize 'tmpfile is to consider #f to denote "invalid", in
> which case #f for the ‘tmpfile’ (the port-returning proc) does not
> ring true.
I don't think that #f is invalid; it's simply "no file name available",
which is true in this case.
> On the other hand, until another file-port with non-string filename type
> rears, i have no problem mentally keeping track of:
>
> (port-filename P) => 'tmpfile
>
> ===
>
> (and (file-port? P) (not (port-filename P)))
I'm definitely on the side of the curious peoples of the world, but I
also have to maintain this thing :P Can you give a use case for when you
want to know if a port is a tmpfile?
> The bigger question is (to touch upon a past discussion) the separation of
> "file name" into "directory component + base name". If that ever comes to
> pass (fundamentally), i think ‘port-filename’ won't mind transparently
> passing the (richer) information to the user, with rv type most likely in
> the set {#f, string, location (d+b)}, with some distinguished locations
> symbolic. Then we can welcome the return of 'tmpfile.
Perhaps. I don't think we really have filename handling right yet.
Definitely something to consider in that context :)
Cheers,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2010-06-15 22:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-15 11:36 git push weird? Thien-Thi Nguyen
2010-06-15 14:41 ` Xiangfu Liu
2010-06-15 17:54 ` Thien-Thi Nguyen
2010-06-15 18:56 ` Ludovic Courtès
2010-06-15 19:39 ` Thien-Thi Nguyen
2010-06-15 20:56 ` Ludovic Courtès
2010-06-15 21:07 ` Andy Wingo
2010-06-15 21:56 ` Thien-Thi Nguyen
2010-06-15 22:15 ` Andy Wingo [this message]
2010-06-16 2:14 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m339wohrho.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=guile-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=ttn@gnuvola.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).