Re: [racket-dev] Embedding racket in vim

2012-12-17 Thread Sergey Khorev
Eric, I incorporated you changes into http://code.google.com/r/sergeykhorev-vim-mzscheme/source. Can you try it on Mac? Bram, > > Please let me know what I should include in the distribution. The patch > was missing changes to configure.in. > I will send you a cumulative patch once it is test

Re: [racket-dev] Embedding racket in vim

2012-12-17 Thread Bram Moolenaar
Sergey Khorev wrote: > Looks good except one thing: you really wouldn't want to gc environment > (see MZ_GC_CHECK) before registering it with MZ_REGISTER_STATIC. > > BTW are there any guarantees that MZ_REGISTER_STATIC doesn't trigger > garbage collection? Please let me know what I should incl

Re: [racket-dev] Embedding racket in vim

2012-12-16 Thread Sergey Khorev
Looks good except one thing: you really wouldn't want to gc environment (see MZ_GC_CHECK) before registering it with MZ_REGISTER_STATIC. BTW are there any guarantees that MZ_REGISTER_STATIC doesn't trigger garbage collection? @@ -861,6 +865,12 @@ > scheme_set_stack_base(stack_base, 1); >

Re: [racket-dev] Embedding racket in vim

2012-12-16 Thread Eric Dobson
Yes I was using the official source. Here is the patch of my changes, some of which you may already have. diff -r 52bfa939fc07 src/auto/configure --- a/src/auto/configure Thu Dec 06 21:30:29 2012 +0100 +++ b/src/auto/configure Sun Dec 16 14:37:19 2012 -0800 @@ -4927,7 +4927,8 @@ if test "X$vi

Re: [racket-dev] Embedding racket in vim

2012-12-14 Thread Sergey Khorev
On Fri, Dec 14, 2012 at 9:20 AM, Eric Dobson wrote: > I figured this out. It was that vim was not being compiled with the > precise garbage collection when racket was, and a couple of bugs on the vim > allocation of racket objects. I'll hopefully have a patch soon. > > Are you talking about offic

Re: [racket-dev] Embedding racket in vim

2012-12-13 Thread Eric Dobson
I figured this out. It was that vim was not being compiled with the precise garbage collection when racket was, and a couple of bugs on the vim allocation of racket objects. I'll hopefully have a patch soon. On Mon, Dec 10, 2012 at 10:32 PM, Eric Dobson wrote: > +correct vim group. > > > > On Mo

Re: [racket-dev] Embedding racket in vim

2012-12-10 Thread Eric Dobson
+correct vim group. On Mon, Dec 10, 2012 at 10:25 PM, Eric Dobson wrote: > I have recently installed a version of vim with the mzscheme option > enabled. And it sortof works except that some times it segfaults or has > other memory corruption issues. So I enabled MZ_GC_CHECK when compiling > vim

[racket-dev] Embedding racket in vim

2012-12-10 Thread Eric Dobson
I have recently installed a version of vim with the mzscheme option enabled. And it sortof works except that some times it segfaults or has other memory corruption issues. So I enabled MZ_GC_CHECK when compiling vim, and now I get the corruption every single time on startup. Here is the output fro