Re: interrogation about introspecting function bindings

2013-01-07 Thread Andy Wingo
On Wed 11 Jan 2012 17:13, ri...@happyleptic.org writes:

> -[ Tue, Jan 10, 2012 at 10:15:54PM +0100, Andy Wingo ]
>> Why not use program-arguments-alist, or program-lambda-list?
>
> Because they were not in the procedure index, hence the attached patch.

Finally committed :)  Cheers!

Andy
-- 
http://wingolog.org/



Re: propagating a coding setting across source files

2013-01-07 Thread Andy Wingo
Hi,

Forwarding this one to bug-guile to make a bug report.  I guess we need
a (default-source-file-encoding) parameter.

Andy

On Tue 17 Jan 2012 00:41, l...@gnu.org (Ludovic Courtès) writes:

> Andy Wingo  skribis:
>
>> On Sun 15 Jan 2012 22:51, l...@gnu.org (Ludovic Courtès) writes:
>>
>>> Mike Gran  skribis:
>>>
 I tried to dig through the logic of this the other day, and I'm not
 sure that your suggestion can work.  If "load" ends up calling
 "primitive-load", then any file without a "coding:" line is UTF-8.
 %default-port-encoding doesn't enter in to it.
>>>
>>> Right.  So what Sven is asking for, propagating source file encoding
>>> programmatically, is not possible AFAIK.  Sven: you really need to add
>>> the “coding:” cookie to each and every file.
>>
>> Is possible to provide such an interface?
>
> Maybe a ‘guild compile’ option?
>
> Ludo’.

-- 
http://wingolog.org/



Re: salutations and web scraping

2013-01-07 Thread Andy Wingo
On Fri 27 Jan 2012 13:18, Catonano  writes:

> So it seems to me that this workaround of indicating a http 1.0 request
> introduces too much unpredictability from the servers; I'm probably
> running in a not so common case so some shoddiness in servers
> configurations is emerging

I know it's a year late, but I tracked this one down to the http-get
code shutting down the write end of the socket for non-keep-alive
connections.  This appears to stop the bytes being written from
readching their destination!  Perhaps we would need to uncork the socket
or something in the future; surely someone performance-oriented will
come along later and fix it properly.  Anyway, fetching friendfeed.com/
now works properly.

Cheers,

Andy
-- 
http://wingolog.org/