5 ms·
Show HN: Emacs org mode integration with IPython
- mattdeboard 11y agoCan I please beg and beseech you to please use git version tagging (semver.org is a good place to start) and MELBA stable for your package releases?
- jonrx 11y agoThat is neat! Thank you so much for this. Learning to embrace org was a long and arid journey (it can do so much you quickly get lost in the process). Babel was the first extension I really enjoyed to use from day 1. It is what I expected from a literate programming tool. I've never much used IPython but I heard a lot of praise about it. I guess it's the perfect timing to jump in. Are you planning on adding to the languages' page? [1] [1] : http://orgmode.org/worg/org-contrib/babel/languages.html http://orgmode.org/worg/org-contrib/babel/languages.html
- nekopa 11y agoCan you recommend any specific resources that helped you get a handle on org?
- jonrx 11y agoWorg [1] is IMHO clearly the best place to start (and finish!). There is a lot of stuff there, and I don't think I'm even 10% done. (I still haven't looked at the calendar, tried the to-do list and wasn't convinced, etc.) At first, comparing it to Markdown (markup-wise) was very helpful. I keep this page ( http://orgmode.org/manual/Markup.html http://orgmode.org/manual/Markup.html ) handy and write my blog posts in Org. (This is why I found babel to be invaluable : I don't have to keep my code separate from my post, which is one hassle less for quick demonstrations). Right now, my strategy is a little bit like this : the moment I think something would require some writing, I quickly check what org-mode has to offer. The learning might be slower, but I don't get bored this way. [1] : http://orgmode.org/worg/ http://orgmode.org/worg/
- brobdingnagian 11y agoIPython Notebook can export a report to PDF with syntax highlighted code - can this?
- pyre 11y agoProbably. You can mark code blocks in .org files with the Emacs "mode" for them, and they will be highlighted appropriately (and you can use a shortcut to open a new buffer in said mode just to edit that block). I imagine that if PDF export exists (I assume it does), this would map to it.
- LukeShu 11y agoYes, with the "gotcha" that you must set org-src-fontify-natively (a customizable setting) to non-nil.
- ams6110 11y agoNice screenshot[1] with Awesome window manager[2]. [1] https://github.com/gregsexton/ob-ipython/blob/master/screenshot.jpg https://github.com/gregsexton/ob-ipython/blob/master/screens... [2] http://awesome.naquadah.org/ http://awesome.naquadah.org/
- wz1000 11y agoCan you use different kernels with this?
- wodenokoto 11y agoThis is really cool. As far as I can tell a similar workflow was presented at pycon 2013: http://pyvideo.org/video/2000/emacs-org-mode-python-in-reproducible-researc http://pyvideo.org/video/2000/emacs-org-mode-python-in-repro...
- enupten 11y agoNeat! Can people in the know share their experience with TeXmacs which is supposed to do very similar stuff ?
- nekopa 11y agoIs it possible to set up something like this for Vim? I am devoting this summer to learning one editor in depth, and I was thinking of going with Vim because it is on servers everywhere. But I've also chosen to deep dive into python and I love the ipython notebooks, so this could be handy
- yenda 11y agoStop with this "vim is on server everywhere", only vi is and it's pretty much useless compare to vim outside of text editing. Plus with emacs you edit the server directly from your machine via ssh with tramp, you don't ssh then open emacs on the server
- buster 11y agoAlthough i recently had a huge "woah" effect when i SSH'd into a server and wanted to edit a file using emacs. Turns out emacs recognized my X11 forward and i had a fully functional emacs GUI in front of me! I would never had expected this and also don't know any other editor that does this. :)
- nekopa 11y agoSorry, didn't mean to offend you, and I did mean to write vi. I was only looking at the best use of my time to deep learn an editor. I was considering sublimetext as well as emacs. I just thought Vim would be good, as long as I started with vi first and built on up to Vim. I say this after reading an interesting answer on Stack Exchange where some be goes off on the philosophy of vi. Was an interesting read and got me thinking. Also I wanted the ability to use a simple ssh utility from my android or iOs tablet. Do you know of any good mobile implementations of emacs that would work with your idea of using tramp?
- buster 11y agoStuff like this always amazes me and makes me glad i switched to Emacs not too recently ago. I begin to grasp why Emacs is its own OS and that's even a nice thing! (fwiw, nowadays Emacs is my mail client and my go to editor/IDE)
- agentultra 11y agoWelcome to the fold. Emacs is basically a lisp image with a built-in text editor. You can even write web servers in it (and people have). The utility of such a system beyond just editing one or text files at a time is enormous. Enjoy your stay.
- thrownaway122 11y agoDoes this work with evil mode?
- gregsexton 11y agoYes. I use evil mode with it.
- gjm11 11y agoenupten, you appear to be hellbanned (i.e., your comments are auto-killed so that they won't be visible to people other than you unless they have the "showdead" option on). This appears to have happened about 2 days ago, I would guess because someone regarded your comments about India and/or "Hinduphobia" as inflammatory or over-political. (Which is not the same as being incorrect.) It is possible that you may be able to get reinstated by contacting the HN admins and (if appropriate) either defending your comments or promising to change. [EDITED to add: enupten's comment here was perfectly innocuous: s/he was asking for comparisons with TeXmacs which has kinda-IPython-like facilities for embedding an interpreter in a document. I haven't looked hard at either, but my feeling is that this and IPython-in-org-mode are solving rather different problems: nice typography in one, nice interaction in the other.]
- stared 11y agoAs I see for Atom.io there is something similar: https://atom.io/packages/hydrogen https://atom.io/packages/hydrogen
- WalterGR 11y agoSubmission: Show HN: Hydrogen Brings Light Table to Atom 190 points willwhitney 20 days ago 70 comments https://atom.io/packages/hydrogen https://atom.io/packages/hydrogen