[julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Michael Turok
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.

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Mauro
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 wrote: > Anyone here running julia under ESS in e

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Michael Turok
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

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Andrei Zh
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

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Tamas Papp
Hi Michael, I am using Emacs+ESS for Julia. Having asked about various issues on the ESS list I was told to wait until the ESS internals are reorganized. I am currently collecting fixes and workarounds in https://github.com/tpapp/ESS-julia-extensions , feel free to contribute. That said, I beli

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Stephen Eglen
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.

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Michael Turok
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: > >

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Stephen Eglen
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

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-17 Thread Cedric St-Jean
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 BT

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-18 Thread Tamas Papp
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

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-18 Thread Mauro
There is this julia-org-babel repo: https://github.com/gjkerns/ob-julia/blob/master/ob-julia-doc.org But it didn't quite work for me. But maybe that was because of my poor ESS setup. But I would certainly be interested in that functionality. On Fri, 2015-09-18 at 09:09, Tamas Papp wrote: > Hi,

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-18 Thread Ista Zahn
ob-julia works for me, with Julia 0.3.11. I haven't tried 0.4 yet.

Re: [julia-users] Emacs, ESS and julia-mode

2015-09-18 Thread Mauro
> ob-julia works for me, with Julia 0.3.11. I haven't tried 0.4 yet. I was using 0.4, and I think that did indeed cause some problems.