Hi,

Regarding notebooks: I see the issue as orthogonal. I am using org-mode
(with R) for notebook functionality in Emacs, and I guess Julia could
support every feature just as easily via Babel. Are you using something
else (in Emacs?)

I don't think SLIME per se is the solution: even though people have
tried to integrate SLIME with other languages (besides CL), most of
those efforts were abandonned. I hope Julia gets its own SWANK-like
backend that all frontends can then use.

That said, now that I am using Julia more and more, I am gradually
moving away from trying to manipulate an image in memory to having
small, self-contained scripts that do simple things (load results,
analyze, save results). So maybe the functionality of SLIME is not
needed. I want develop the way I use Julia better before commiting a lot
of time to such a project.

Best,

Tamas

On Thu, Sep 17 2015, Cedric St-Jean <[email protected]> wrote:

> Tamas,
>
> I've hacked into SLIME/Swank before to support a DSL, and it wasn't too 
> horrible. I'd love to get SLIME support for Julia, but my workflow revolves 
> around notebooks these days, and I don't want to give those up. Do you see 
> any way of combining the two?
>
> (thank you for your LLA library BTW!)
>
> Cédric
>
> On Thursday, September 17, 2015 at 12:20:41 PM UTC-4, Stephen Eglen wrote:
>>
>> Its even simpler, of course...   *@doc eig* gets you the documentation 
>> for eig.  So, try editing ess/etc/ess-julia.jl so that your help definition 
>> is simply:
>>
>>
>> function help(topic::String)
>>     eval(parse("@doc $topic"))
>> end    
>>
>> and start a new *julia* session.  
>>
>> On Thursday, September 17, 2015 at 4:34:21 PM UTC+1, Michael Turok wrote:
>>>
>>> Thank you!  And for that pointer to the doc string....
>>>
>>> On Thursday, September 17, 2015 at 9:55:52 AM UTC-4, Stephen Eglen wrote:
>>>>
>>>> As one of the ESS developers, I will try and fix this with 0.4.  From 
>>>> quick inspection, it looks like I can get the same help from the command 
>>>> line using:
>>>>
>>>>
>>>> -----
>>>>
>>>> julia> Base.Docs.@repl pwd
>>>>
>>>> search: pwd powermod print_with_color
>>>>
>>>>
>>>>   pwd() -> AbstractString
>>>>
>>>>
>>>>   Get the current working directory.
>>>>
>>>> -----
>>>>
>>>>
>>>> If that looks right, I'll try to add that.
>>>>
>>>> On Thursday, September 17, 2015 at 2:33:29 PM UTC+1, Andrei Zh wrote:
>>>>>
>>>>> ESS mode's integration with Julia's REPL is quite simple and can't 
>>>>> handle special sequences. It's a pity that `help()` function has been 
>>>>> removed from 0.4, I didn't see it before your post.
>>>>>
>>>>> There was a discussion regarding better REPL (network REPL?) recently, 
>>>>> but AFAIK nobody is working on such solution yet.
>>>>>
>>>>>
>>>>> On Thursday, September 17, 2015 at 4:16:33 PM UTC+3, Michael Turok 
>>>>> wrote:
>>>>>>
>>>>>> The issue is that ?Pkg.init isn't recognized either - is there some 
>>>>>> special REPL handling?
>>>>>>
>>>>>> julia> ?Pkg.init
>>>>>> ERROR: UndefVarError: ? not defined
>>>>>>
>>>>>>
>>>>>> julia> 
>>>>>>
>>>>>>
>>>>>> On Thursday, September 17, 2015 at 9:11:54 AM UTC-4, Mauro wrote:
>>>>>>>
>>>>>>> Well, help is not a function in 0.4 anymore.  Use ?Pkg.init 
>>>>>>>
>>>>>>> Can't help with the other ESS things.   I've tried it for a bit but 
>>>>>>> it 
>>>>>>> introduced a noticeable lag so I switch back to just using 
>>>>>>> julia-mode.el 
>>>>>>>
>>>>>>> On Thu, 2015-09-17 at 14:32, Michael Turok <[email protected]> 
>>>>>>> wrote: 
>>>>>>> > Anyone here running julia under ESS in emacs? 
>>>>>>> > 
>>>>>>> > It seems that emacs's ess-mode for julia isn't quite as happy 
>>>>>>> lately - 
>>>>>>> > especially with some changes in 0.4 (related to REPL changes, 
>>>>>>> possibly?).   
>>>>>>> > For example, help() doesn't do anything...perhaps b/c the REPL now 
>>>>>>> expects 
>>>>>>> > "?" to do something useful. 
>>>>>>> > 
>>>>>>> > Anyone have any suggestions?   (Or am I moving to atom+hydrogen 
>>>>>>> later 
>>>>>>> > today?) 
>>>>>>> > 
>>>>>>> > *Julia 0.3:* 
>>>>>>> > julia> help(Pkg.init) 
>>>>>>> > Base.Pkg.init(meta::String=DEFAULT_META, 
>>>>>>> branch::String=META_BRANCH) 
>>>>>>> > 
>>>>>>> > 
>>>>>>> >    Initialize "Pkg.dir()" as a package directory. This will be done 
>>>>>>> >    automatically when the "JULIA_PKGDIR" is not set and 
>>>>>>> >    "Pkg.dir()" uses its default value. As part of this process, 
>>>>>>> >    clones a local METADATA git repository from the site and branch 
>>>>>>> >    specified by its arguments, which are typically not provided. 
>>>>>>> >    Explicit (non-default) arguments can be used to support a custom 
>>>>>>> >    METADATA setup. 
>>>>>>> > 
>>>>>>> > 
>>>>>>> > julia> 
>>>>>>> > 
>>>>>>> > *Julia 0.4* 
>>>>>>> > 
>>>>>>> > 
>>>>>>> > 
>>>>>>> > 
>>>>>>> > *julia> help(Pkg.init)ERROR: UndefVarError: help not definedjulia> 
>>>>>>> * 
>>>>>>>
>>>>>>>

Reply via email to