guile contributor setup

2012-02-02 Thread Catonano
Hello people, I'm considering the idea of trying to contribute some Scheme code to guile, and I'm running into some issues with emails, patches, git and the such. What's the common setup you people use ? I copied a patch from my gmail web inerface and pasted in a local file, but I discovered I

Re: guile contributor setup

2012-02-02 Thread Peter TB Brett
Catonano caton...@gmail.com writes: I copied a patch from my gmail web inerface and pasted in a local file, but I discovered I had to run dos2unix on it in order to git to process it properly (see http://stackoverflow.com/questions/1821267/ how-can-i-apply-a-patch-file-in-git) and then I also

Re: GNU Guile branch, stable-2.0, updated. v2.0.5-5-gbf8d845

2012-02-02 Thread Mike Gran
Hi Mark-   Thanks for the Unicode 6.1 update!  Now, however:   FAIL: srfi-14.test: Latin-1 (8-bit charset): char-set:symbol Would you be willing to investigate? Strange.  I'll check it out today. -Mike

Re: GNU Guile branch, stable-2.0, updated. v2.0.5-5-gbf8d845

2012-02-02 Thread Mike Gran
Hi Mike, Thanks for the Unicode 6.1 update!  Now, however:   FAIL: srfi-14.test: Latin-1 (8-bit charset): char-set:symbol Would you be willing to investigate? Looks like Unicode 6.1 has recategorized some of the symbols, including a few in Latin-1.   § U+00A7 SECTION SIGN from

Re: GNU Guile branch, stable-2.0, updated. v2.0.5-5-gbf8d845

2012-02-02 Thread Mark H Weaver
Mike Gran spk...@yahoo.com writes: Thanks for the Unicode 6.1 update!  Now, however:   FAIL: srfi-14.test: Latin-1 (8-bit charset): char-set:symbol Would you be willing to investigate? Looks like Unicode 6.1 has recategorized some of the symbols, including a few in Latin-1.   § U+00A7

Re: Should we add scm_to_pointer, or just use SCM_POINTER_VALUE?

2012-02-02 Thread Ludovic Courtès
Hello! Adding ‘scm_to_pointer’ is nice, but ‘SCM_POINTER_VALUE’ is also meant to be public (and should be documented.) I’m curious: why would one want to use the FFI’s C API? Thanks, Ludo’.

Re: guile contributor setup

2012-02-02 Thread Andy Wingo
On Thu 02 Feb 2012 15:44, Catonano caton...@gmail.com writes: I'm considering the idea of trying to contribute some Scheme code to guile, and I'm running into some issues with emails, patches, git and the such. What's the common setup you people use ? I use git, from the command line and

Re: Should we add scm_to_pointer, or just use SCM_POINTER_VALUE?

2012-02-02 Thread Andy Wingo
On Thu 02 Feb 2012 22:07, l...@gnu.org (Ludovic Courtès) writes: I’m curious: why would one want to use the FFI’s C API? Good question! A -- http://wingolog.org/

Re: Should we add scm_to_pointer, or just use SCM_POINTER_VALUE?

2012-02-02 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Adding ‘scm_to_pointer’ is nice, but ‘SCM_POINTER_VALUE’ is also meant to be public (and should be documented.) Okay. I’m curious: why would one want to use the FFI’s C API? Apparently he wanted to create a C callback to a Scheme procedure (using

Re: guile contributor setup

2012-02-02 Thread Neil Jerram
Andy Wingo wi...@pobox.com writes: On Thu 02 Feb 2012 15:44, Catonano caton...@gmail.com writes: I'm considering the idea of trying to contribute some Scheme code to guile, and I'm running into some issues with emails, patches, git and the such. What's the common setup you people use ? I

Re: Build Error in master

2012-02-02 Thread Noah Lavine
Got it! And unfortunately, it's a GC error. Here's what happens: symbols is an SCM object defined in symbols.c. It points to an scm_cell_t which has two elements: a type tag, and a pointer to an scm_weak_set_t. That scm_cell_t is at 0x10101cff0. However, that scm_cell_t is garbage collected in