[julia-users] Re: Julia with LightTable

2014-07-20 Thread Joshua Job
Can you post the contents of your user behaviors file? You can get to it 
via ctrl+space and then typing "user behaviors", you should see an option 
to edit them. You have to specify the path to julia there, or have it on 
your path. More details can be found 
at https://github.com/one-more-minute/Jupiter-LT/wiki/Installing-%26-Upgrading

On Sunday, July 20, 2014 4:12:23 PM UTC-7, Diego Tapias wrote:
>
> I have got the following error whenever I try to run a Julia Script with 
> the editor LightTable:
>
> Couldn't connect to Julia
>
> ERROR: REPLCompletions not defined
>  in anonymous at no file
>  in include at boot.jl:238
>  in include_from_node1 at loading.jl:114
>  in include at boot.jl:238
>  in include_from_node1 at loading.jl:114
>  in reload_path at loading.jl:140
>  in _require at loading.jl:58
>  in require at loading.jl:43
>  in include at boot.jl:238
>  in include_from_node1 at loading.jl:114
>  in process_options at client.jl:303
>  in _start at client.jl:389
> at /home/diego/.julia/v0.2/Jewel/src/completions.jl:106
> at /home/diego/.julia/v0.2/Jewel/src/Jewel.jl:9
> at /opt/LightTable/plugins/Jewel/jl/init.jl:20
>
>
> I have cloned the repositories Jewel, Jupiter-LT and June-LT from the 
> sources and put them into the folder /opt/LightTable/plugins/ where it is 
> supposed they should be.
>


Re: [julia-users] Re: Julia with LightTable

2014-07-20 Thread Diego Tapias
Thank you @Joshua. That's what I got (I have followed the instructions of
the one-more-minute repo).

;; User behaviors
;; -
;; Behaviors are stored as a set of diffs that are merged together
;; to create the final set of functionality that makes up Light Table. You
can
;; modify these diffs to either add or subtract functionality.
;;
;; Behaviors are added to tags, objects with those tags then automatically
gain
;; whatever logic the behavior imparts. To see a list of user-level
behaviors,
;; start typing a word related to the functionality you want in between the
square
;; brackets (e.g. "theme").

{:+ {
 ;; The app tag is kind of like global scope. You assign behaviors that
affect
 ;; all of Light Table here
 :app [(:lt.objs.style/set-skin "dark")]

 ;; The editor tag is applied to all editors
 :editor [:lt.objs.editor/no-wrap
  (:lt.objs.style/set-theme "june")]

 ;; Here we can add behaviors to just clojure editors
 :editor.clojure [(:lt.plugins.clojure/print-length 1000)]}

 ;; You can use the subtract key to remove behavior that may get added by
 ;; another diff
 :- {:app [(:lt.objs.langs.julia/julia-path "/usr/bin/julia")]}}


2014-07-20 19:11 GMT-05:00 Joshua Job :

> Can you post the contents of your user behaviors file? You can get to it
> via ctrl+space and then typing "user behaviors", you should see an option
> to edit them. You have to specify the path to julia there, or have it on
> your path. More details can be found at
> https://github.com/one-more-minute/Jupiter-LT/wiki/Installing-%26-Upgrading
>
>
> On Sunday, July 20, 2014 4:12:23 PM UTC-7, Diego Tapias wrote:
>>
>> I have got the following error whenever I try to run a Julia Script with
>> the editor LightTable:
>>
>> Couldn't connect to Julia
>>
>> ERROR: REPLCompletions not defined
>>  in anonymous at no file
>>  in include at boot.jl:238
>>  in include_from_node1 at loading.jl:114
>>  in include at boot.jl:238
>>  in include_from_node1 at loading.jl:114
>>  in reload_path at loading.jl:140
>>  in _require at loading.jl:58
>>  in require at loading.jl:43
>>  in include at boot.jl:238
>>  in include_from_node1 at loading.jl:114
>>  in process_options at client.jl:303
>>  in _start at client.jl:389
>> at /home/diego/.julia/v0.2/Jewel/src/completions.jl:106
>> at /home/diego/.julia/v0.2/Jewel/src/Jewel.jl:9
>> at /opt/LightTable/plugins/Jewel/jl/init.jl:20
>>
>>
>> I have cloned the repositories Jewel, Jupiter-LT and June-LT from the
>> sources and put them into the folder /opt/LightTable/plugins/ where it is
>> supposed they should be.
>>
>


Re: [julia-users] Re: Julia with LightTable

2014-07-21 Thread Zahirul ALAM
I have it in the following way

 :app [(:lt.objs.style/set-skin "dark")

   (:lt.objs.langs.julia/julia-path "C:\\Julia\\bin\\julia.exe")

   ]
and it works

On Sunday, 20 July 2014 22:15:15 UTC-4, Diego Tapias wrote:
>
> Thank you @Joshua. That's what I got (I have followed the instructions of 
> the one-more-minute repo). 
>
> ;; User behaviors
> ;; -
> ;; Behaviors are stored as a set of diffs that are merged together
> ;; to create the final set of functionality that makes up Light Table. You 
> can
> ;; modify these diffs to either add or subtract functionality.
> ;;
> ;; Behaviors are added to tags, objects with those tags then automatically 
> gain
> ;; whatever logic the behavior imparts. To see a list of user-level 
> behaviors,
> ;; start typing a word related to the functionality you want in between 
> the square
> ;; brackets (e.g. "theme").
>
> {:+ {
>  ;; The app tag is kind of like global scope. You assign behaviors 
> that affect
>  ;; all of Light Table here
>  :app [(:lt.objs.style/set-skin "dark")]
>
>  ;; The editor tag is applied to all editors
>  :editor [:lt.objs.editor/no-wrap
>   (:lt.objs.style/set-theme "june")]
>
>  ;; Here we can add behaviors to just clojure editors
>  :editor.clojure [(:lt.plugins.clojure/print-length 1000)]}
>
>  ;; You can use the subtract key to remove behavior that may get added by
>  ;; another diff
>  :- {:app [(:lt.objs.langs.julia/julia-path "/usr/bin/julia")]}}
>
>
> 2014-07-20 19:11 GMT-05:00 Joshua Job >:
>
>> Can you post the contents of your user behaviors file? You can get to it 
>> via ctrl+space and then typing "user behaviors", you should see an option 
>> to edit them. You have to specify the path to julia there, or have it on 
>> your path. More details can be found at 
>> https://github.com/one-more-minute/Jupiter-LT/wiki/Installing-%26-Upgrading
>>
>>
>> On Sunday, July 20, 2014 4:12:23 PM UTC-7, Diego Tapias wrote:
>>>
>>> I have got the following error whenever I try to run a Julia Script with 
>>> the editor LightTable:
>>>
>>> Couldn't connect to Julia
>>>
>>> ERROR: REPLCompletions not defined
>>>  in anonymous at no file
>>>  in include at boot.jl:238
>>>  in include_from_node1 at loading.jl:114
>>>  in include at boot.jl:238
>>>  in include_from_node1 at loading.jl:114
>>>  in reload_path at loading.jl:140
>>>  in _require at loading.jl:58
>>>  in require at loading.jl:43
>>>  in include at boot.jl:238
>>>  in include_from_node1 at loading.jl:114
>>>  in process_options at client.jl:303
>>>  in _start at client.jl:389
>>> at /home/diego/.julia/v0.2/Jewel/src/completions.jl:106
>>> at /home/diego/.julia/v0.2/Jewel/src/Jewel.jl:9
>>> at /opt/LightTable/plugins/Jewel/jl/init.jl:20
>>>
>>>
>>> I have cloned the repositories Jewel, Jupiter-LT and June-LT from the 
>>> sources and put them into the folder /opt/LightTable/plugins/ where it is 
>>> supposed they should be.
>>>
>>
>