Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One nice org-mode feature is "Babel", the ability to embed snippets of code in documents, run them during export and insert the results (either values or stdout) into other parts of the document http://orgmode.org/worg/org-contrib/babel/

Since my blog is mostly about programming, this lets me write the code I'm talking about directly into the prose (using C-c ' to switch to the relevant Emacs mode for editing that language) and ensures that the code and results match up exactly (including graphs generated with GNUplot).



People even write their dotemacs in Org mode and use babel in their init.el to run it

https://github.com/thomanil/dot-emacs/blob/master/thomanil.o...


Even an "Emacs configuration template" (a la Prelude or emacs-starter-kit) that makes use of it (and `el-get` to retrieve and initialize packages):

https://github.com/xiaohanyu/oh-my-emacs

Nifty.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: