It's working! I'm using load-string instead of read-string.

Sorry about the noise.

2010/12/7 Vilson Vieira <vil...@void.cc>:
> Hello Miki,
>
> I'm writing a simple Clojure editor based on jSyntaxPane. I'm trying
> to intern a function (it's defined on live-processing.editor, and I
> want to redefine it with (eval (read-string ...))). Any help?
>
> Thanks.
>
> 2010/12/6 Miki <miki.teb...@gmail.com>:
>> I've played a bit with the code and now namespaces behave. There's
>> even a set-ns! function to set the current namespace to what you want.
>>
>> On Nov 30, 9:07 am, Constantine Vetoshev <gepar...@gmail.com> wrote:
>>> On Nov 29, 2:25 pm, Miki <miki.teb...@gmail.com> wrote:
>>>
>>> > Yeah, it uses "load-string" which IMO default to clojure.core
>>> > namespace.
>>> > I've tried some namespace hacking to allow the user to define the
>>> > namespace, but couldn't make it work
>>> > (there's a FIXME in the code about that).
>>>
>>> > Currently I using names with namespace - (cv-test-1.core/some-func
>>> > arg1 arg2). Will try to fix that soon.
>>>
>>> Could (eval (read-string ...)) work?
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with your 
>> first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>
>
> --
> Vilson Vieira
>
> vil...@void.cc
>
> ((( http://automata.cc )))
>
> ((( http://musa.cc )))
>



-- 
Vilson Vieira

vil...@void.cc

((( http://automata.cc )))

((( http://musa.cc )))

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to