Skip to main content
18 events
when toggle format what by license comment
S Dec 21, 2015 at 22:56 history suggested CommunityBot CC BY-SA 3.0
removed unnecessary thing
Dec 21, 2015 at 22:10 review Suggested edits
S Dec 21, 2015 at 22:56
Dec 21, 2015 at 22:06 history edited Zorgoth CC BY-SA 3.0
edited body
Dec 21, 2015 at 21:59 history edited Zorgoth CC BY-SA 3.0
deleted 13 characters in body
Dec 21, 2015 at 21:33 history edited Zorgoth CC BY-SA 3.0
added 90 characters in body
Dec 21, 2015 at 21:24 history edited Zorgoth CC BY-SA 3.0
added 1 character in body
Dec 21, 2015 at 21:17 history edited Zorgoth CC BY-SA 3.0
added 47 characters in body
Dec 21, 2015 at 21:12 comment added Zorgoth I added some more code in the answer above.
Dec 21, 2015 at 21:11 history edited Zorgoth CC BY-SA 3.0
added 4688 characters in body
Dec 21, 2015 at 20:55 comment added Zorgoth I think that in general it's a one-or-the-other situation. Fully functional REPL or ESS. I want the REPL because it's doing double duty as a shell and I like ; and ?. One isn't going to be able to replicate the integration with ESS, though with a specific command, you could write something that emulates that command by determining the contents of the current line, switching to the Julia-REPL buffer, using term-send-string and term-send-input, then returning.
Dec 21, 2015 at 18:00 comment added Zorgoth I don't know exactly; I don't have that function. I'm not surprised that it doesn't really know how to interact with ESS.
Dec 21, 2015 at 12:17 comment added Michael Thanks a lot for the screen trick and the custom code! It works perfectly except one thing: When I send commands from an *.jl file via ess-eval-line-and-step (bound to C-c C-n) to the created *julia* buffer, the command is shown twice instead of only once before the actual response is shown. Do you also observe this behaviour? Any idea how to fix this? Thanks!
Dec 13, 2015 at 16:52 vote accept Zorgoth
Dec 11, 2015 at 5:38 comment added Zorgoth Also, you may want to read up on how term works if you don't already know. It has a char-mode and a line-mode and in char-mode doesn't take regular emacs commands except via an escape sequence.
Dec 11, 2015 at 5:32 comment added Zorgoth Note: if you need to set environment variables, you will have to override the julia command or make a new command that runs julia with those specific environment variables and pass that to screen instead of "julia." This is very likely to be necessary in order to use the PyPlot package. Since this answer is not that easy to find, I'll mention that on my computer, I need to set the variable PYTHON to go to my anaconda python and LD_PRELOAD to include ".../anaconda3/lib/libopenblas.so" There are other people who need other things in LD_PRELOAD. It depends on your setup.
Dec 11, 2015 at 5:24 history edited Zorgoth CC BY-SA 3.0
added 16 characters in body
Dec 11, 2015 at 5:18 comment added Zorgoth Inspiration for using screen: reddit.com/r/emacs/comments/3uj1tz/…
Dec 11, 2015 at 5:18 history answered Zorgoth CC BY-SA 3.0