|
From: | Richard Riley |
Subject: | [Orgmode] org-babel - utility to ease chopping src chunks into smaller org entries |
Date: | Sun, 19 Sep 2010 03:48:00 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
I often find myself chopping a large source code block into smaller entities with their own notes, tags and comments etc. This small utility facilitates that by wrapping the current region with org entry markers and src code delimiters. It assumes you are in a currently src block. http://splash-of-open-sauce.blogspot.com/2010/09/mark-region-as-src-code-if-prefix-used.html Its currently hardcoded for emacs-lisp but it might be useful nonetheless. (Anyone know how to make blogspot line wrap?) r.
[Prev in Thread] | Current Thread | [Next in Thread] |