JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.93k stars 5.49k forks source link

julia-release-basic kills emacs shell (M-x shell) #3518

Closed swadey closed 9 years ago

swadey commented 11 years ago

This occurs when there's a fatal error or on calling quit():

julia> quit()
splunk:julia swade$ exit                                                                                                                            
Process shell finished  

Note: the exit was not typed in, but happens as a result of calling quit()

JeffBezanson commented 11 years ago

Strange; works for me.

swadey commented 11 years ago

hmmm... I've tried this with and without my .emacs thinking it might be .emacs-related but it still has issues. I'm running gnu emacs on 24.3 on macos 10.8.3

thanks, wade

On Mon, Jun 24, 2013 at 4:18 PM, Jeff Bezanson notifications@github.comwrote:

Strange; works for me.

— Reply to this email directly or view it on GitHubhttps://github.com/JuliaLang/julia/issues/3518#issuecomment-19932776 .

swadey commented 11 years ago

One other note: I can make it stop by using zsh via:

(setq shell-file-name "/bin/zsh")

but if I use my default shell (which is bash) it causes this.

On Mon, Jun 24, 2013 at 9:43 PM, S Wade swadenator@gmail.com wrote:

hmmm... I've tried this with and without my .emacs thinking it might be .emacs-related but it still has issues. I'm running gnu emacs on 24.3 on macos 10.8.3

thanks, wade

On Mon, Jun 24, 2013 at 4:18 PM, Jeff Bezanson notifications@github.comwrote:

Strange; works for me.

— Reply to this email directly or view it on GitHubhttps://github.com/JuliaLang/julia/issues/3518#issuecomment-19932776 .

sje30 commented 11 years ago

I also see this in Emacs 24.3; there is also this report (at end of thread) which might help:

https://groups.google.com/forum/#!topic/julia-users/ZpyaqJ8mNCc

nerdydad commented 10 years ago

Any update on this?

I'm getting this issue too (emacs 24.3.1, Mac OS X 10.9.1). i.e. with file play.jl containing the single line "for i = 1:5 println(i) end" (without the quotes), it runs then exits the emacs shell. This happens whether my bash command is "julia-readline play.jl" or "julia-basic play.jl".

I run everything inside an emacs bash shell so this is a major annoyance.

EDIT: julia version 0.2.1

nerdydad commented 10 years ago

Strangely I do not get the issue on my linux computer - running julia-basic inside the emacs shell works fine. (emacs 23.3.1, Ubuntu 12, julia 0.2.1)

sje30 commented 10 years ago

I still see this behaviour too with julia-basic, and yes i think it is mac-specific.

chtlp commented 10 years ago

I see this issue too on mac. Really annoying.

nerdydad commented 10 years ago

This went away when I upgraded to Julia 0.3. i.e. with my current setup (emacs 24.3.1 on Mac OS X 10.9.4): julia-basic (0.2.1) kills the emacs shell julia (0.2.1) kills the emacs shell julia (0.3.1) works fine in the emacs shell.

vtjnash commented 9 years ago

julia-basic no longer exists, and there's a report that this now works