Re: guile-2.0 on mingw: the sequel

2013-08-22 Thread Eli Zaretskii
> Date: Thu, 22 Aug 2013 22:25:02 +0200 > From: Panicz Maciej Godek > > I managed to go through the compilation process, > and (after modifying meta/Makefile.am according to Eli's > patch) to make install. This compilation process includes compiling all the Scheme files that come with Guile. Si

guile-2.0 on mingw: the sequel

2013-08-22 Thread Panicz Maciej Godek
Recently I've had a little more time to experiment with guile-2.0 on mingw32. Following the advice of Eli Zaretskii from http://lists.gnu.org/archive/html/guile-user/2013-06/msg00028.html, I compiled guile-2.0.9 without thread support, and modified my demos so they no longer use theads explicitly (

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Mike Gran
>> 2. In the inner_main of your scm_with_guile call, >> try calling scm_setlocale.  Maybe something like this? >> (This shouldn't make a difference, I think. >> But, if it does, it says something interesting.) >> >> scm_setlocale( scm_variable_ref(scm_c_lookup("LC_ALL")), > scm_from_local

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Richard Shann
On Thu, 2013-08-22 at 11:45 -0700, Mike Gran wrote: > Hi Richard- > > > > scheme@(guile-user)> (string-append " " "hello") > > > $1 = " \ue176hello" > > scheme@(guile-user)> (display " ") > > scheme@(guile-user)> (display (string-append " " > > "hello")) > > helloscheme@(guile-us

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Mike Gran
Hi Richard- > scheme@(guile-user)> (string-append "  " "hello") > $1 = "  \ue176hello" > scheme@(guile-user)> (display  "  ") >   scheme@(guile-user)> (display  (string-append "  " > "hello")) >   helloscheme@(guile-user)> > I notice that I do not have LC_ALL set in my environment. > > F

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Richard Shann
I have been doing some experiments with the guile interpreter guile --version guile (GNU Guile) 2.0.5-deb+1-3 and it seems to understand the wide characters, using the unicode e176 character with the string "hello" attached I get this: scheme@(guile-user)> (string-append " " "hello") $1 = "

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Richard Shann
Thank you for your reply. I didn't try altering anything in the program, because this problem has arisen when changing from guile-1.8 to guile-2.0 and so I am hoping it is an understood problem. FWIW I see that the following code is executed at Denemo program startup setlocale (LC_ALL, ""); bi

Re: Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Panicz Maciej Godek
2013/8/22 Richard Shann > GNU/Denemo has a number of guile scripts in which wide characters are > embedded in strings. These used to work in guile 1.8 but with guile 2.0 > I am seeing the following error message trying to use a string with " > " > in it (if that string will get through the email

Problem with wide characters on upgrading to guile 2.x

2013-08-22 Thread Richard Shann
GNU/Denemo has a number of guile scripts in which wide characters are embedded in strings. These used to work in guile 1.8 but with guile 2.0 I am seeing the following error message trying to use a string with " " in it (if that string will get through the email software) (format #t "~%=> ~A~%""