Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Steven G. Johnson
It looks like Gadfly does not currently support writemime to any image backend: https://github.com/dcjones/Gadfly.jl/blob/5554d3a1bcdc5fc6852cc8f1e469dd3a0f65f220/src/Gadfly.jl#L726-L744 But image/png writemime output be easy to add (maybe file an issue?) since Gadfly already supports expo

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Jacob Quinn
Steven, Thanks for the reply, I'd definitely like to get something working for plots. I just did a quick test, but I wasn't able to see an image/png tag in display_data when I ran the following: using Gadfly plot(x=[1:10], y=[1:10], Geom.point) Do I need to explicitly push the image/png mime typ

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Ismael VC
That's great Jacob! Ok maybe "The more usefull command" is debatable, but at least for me it is the most used shortcut, I so much hate to do END and then ENTER to go to a new line if the cursor is inside brackets/braces/parens, and not at the end of the line to just do ENTER. Since I haven't c

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Steven G. Johnson
On Thursday, February 6, 2014 10:10:50 PM UTC-5, Jacob Quinn wrote: > > Hey Isaiah, > > No inline plotting yet, though I'm ready to start exploring what we can do > here; possibly open up the plot in the default browser, sublime also > recently got support for image viewing, so if we can get an i

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Jacob Quinn
Ok, I just pushed changes for this. The behavior, as now noted in the README is: Using Sublime-IJulia > > * Commands can be entered directly in the IJulia console view, pressing >> `shift+enter` to execute. > > * A newline can be entered without executing the command by typing `Enter` >>

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-07 Thread Jacob Quinn
Thanks for the suggestion Ismael. Yeah, I originally came from the RStudio world, so I was mirroring ctrl+enter from that world and personally have never used ctrl+enter in sublime (really, the most useful command?!). But yeah, I've though several times we should probably try to match the notebook

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-06 Thread Ismael VC
I forgot to say CTRL+ENTER for new line below, is the single most useful and used command for me in all SublimeText. Wouldn't it be better to use SHIFT+ENTER, to run the "cell", (as oposed to ENTER) and just ENTER for next line , (as oposed to CTRL+ENTER) as it is the way IJulia qtconsole wor

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-06 Thread Ismael VC
Wow! Jacob I love it! I just noticed that in: ipython qtconsole --profile=julia ENTER just goes to the next line until you run the "cell" code with SHIFT+ENTER. But in Sublime-IJulia you use CTRL+ENTER to go to the next line, and ENTER to run the "cell" code, not to mention I lose the CTRL+EN

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-06 Thread Isaiah Norton
I don't use Sublime (yet?) -- could you put up a screenshot or two of this setup? Does inline plotting work? Nice work! Isaiah On Thu, Feb 6, 2014 at 9:30 PM, Jacob Quinn wrote: > I'm grateful for those who have patiently hacked through the platform > issues in getting this working, but I thin

Re: [julia-users] Sublime-IJulia Official Debut

2014-02-06 Thread Jacob Quinn
Hey Isaiah, No inline plotting yet, though I'm ready to start exploring what we can do here; possibly open up the plot in the default browser, sublime also recently got support for image viewing, so if we can get an image object back for the plot, we could open it up directly in sublime. I actu