Re: [julia-users] Re: edit() with foreground emacs

2016-04-14 Thread daniel . matz
OK, yeah, I had the same problem when I had EDITOR="emacs -nw", so that it didn't launch the GUI but just opened up in the terminal. Maybe we should make an issue and ask that edit be made a little more clever. In your case, it could perhaps detect that there isn't a windowing system available

Re: [julia-users] Re: edit() with foreground emacs

2016-04-14 Thread Josef Sachs
> On Thu, 14 Apr 2016 07:46:18 -0700 (PDT), daniel matz said: > I'm on Mac OS X with Julia 0.4.3. The edit function is defined in > interactiveutil.jl > . > What is the output if you run this at the REPL: > Base.editor(

Re: [julia-users] Re: edit() with foreground emacs

2016-04-14 Thread daniel . matz
I'm on Mac OS X with Julia 0.4.3. The edit function is defined in interactiveutil.jl . What is the output if you run this at the REPL: Base.editor() What happens if you do this at the REPL: run(`emacs Makefile`) If you n

[julia-users] Re: edit() with foreground emacs

2016-04-13 Thread Josef Sachs
> On Wed, 13 Apr 2016 14:03:08 -0700 (PDT), daniel matz said: > It seems to work for me. What were you trying to set JULIA_EDITOR > to when you were trying emacs? Were you trying to use console emacs > with emacs -nw? > On Wednesday, April 13, 2016 at 7:46:21 AM UTC-5, Josef Sachs wrote: >>

[julia-users] Re: edit() with foreground emacs

2016-04-13 Thread daniel . matz
It seems to work for me. What were you trying to set JULIA_EDITOR to when you were trying emacs? Were you trying to use console emacs with emacs -nw? On Wednesday, April 13, 2016 at 7:46:21 AM UTC-5, Josef Sachs wrote: > > Is there a way that I can use edit() to start emacs in the foreground >