Re: Accessing the environment's locale encoding settings

2011-11-24 Thread Peter Brett
cale switch (Perl and Python both manage without quite comfortably). How is: guile --locale="foobar" Better than: LANG="foobar" guile ? Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: Accessing the environment's locale encoding settings

2011-11-16 Thread Peter Brett
oking at "safe" encodings for filenames. I wonder if that's relevant to command-line argument processing? Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: [PATCH] fix locale string reading

2011-11-09 Thread Peter Brett
oblem is that Guile calls scm_set_program_arguments() [feature.c:72] early in initialisation, and this can fail messily. I still think your proposed "solution" causes WAY more problems than it claims to solve, though. What do Andy & Ludovic think? Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: [PATCH] fix locale string reading

2011-11-09 Thread Peter Brett
ocale_stringn" returning a bytevector; No, you can't do that, because scm_*_locale_string is supposed to either return a string or raise "decoding-error". > 2. Why not let "scm_from_locale_stringn" return string according to > the locale from current environment a

Re: [PATCH] fix locale string reading

2011-11-08 Thread Peter Brett
es that they use "the current locale", not "the locale specified by the environment variables". Not to mention the fact that they change the current locale without restoring it afterwards. So no, please don't do this. It's obviously the Wrong Thing. Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: new module: (web client)

2011-07-19 Thread Peter Brett
Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: scm_remember_upto_here_* obsolete?

2011-05-27 Thread Peter Brett
BT Templeton writes: > Are the scm_remember_upto_here_* functions useful now that Guile uses > BDW-GC? They're still useful if you want your code to work with both 1.8.x and 2.x. Peter ;-) -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile

2011-04-08 Thread Peter Brett
rpreter users being increasingly treated as second class citizens. Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: Using libunistring for string comparisons et al

2011-03-31 Thread Peter Brett
l...@gnu.org (Ludovic Courtès) writes: > Hi Peter, > > Peter Brett writes: > >> It would certainly make my life as a downstream application maintainer >> much, much easier if all Guile API functions that accept a C string >> argument expected UTF-8. > > Out of

Re: summer of code project: cpan

2011-03-29 Thread Peter Brett
ed criticism of other aspects of Ruby development). http://lwn.net/Articles/423732/ Regards, Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: Using libunistring for string comparisons et al

2011-03-29 Thread Peter Brett
o Guile that the locale is set up correctly is a pain. Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: Reconsideration of MinGW work

2010-03-22 Thread Peter Brett
at link libguile would provide similar feedback. Regards, Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre

Re: User perception on backward compatibility

2010-01-22 Thread Peter Brett
ch of API that's deprecated in 1.8.x. OTOH if there are major changes in the C API in 2.x (particularly the mechanisms for converting strings and numbers to/from SCM representation) I will likely go postal. Peter -- Peter Brett Remote Sensing Resear