> So here is my FEATURE REQUEST:
>
> either modify `org-babel-demarcate-block' so that it can be used to
> insert a language-specific code-block (with args?) non-interactively, or
> add something like `org-insert-block' to Org-mode's core. I would prefer
> signature
>
> ,----------------------------------------------
> | (defun org-insert-block (lang &rest args)...)
> `----------------------------------------------
>
> to be able to specify the src-block headline exactly in a program that
> uses this function.

This function may be easily written outside of Org-mode by anyone who
needs it.

I don't see that Org-mode itself will ever want to programatically and
non-interactively insert a code block in an Org-mode file (if fact that
sounds rather dangerous to me), so I would vote against adding such a
function to the core.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

Reply via email to