Nicolas Goaziou writes:
> I suggest to use built-in `orgtbl-to-orgtbl' instead:
>
> (insert (orgtbl-to-orgtbl '(("id" "num") hline ("a" "1") ("b" "2")) nil))
>
Ah, that's what I'm looking for. Thanks!
Eike
--
gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E
Charles C. Berry writes:
> The easiest way to borrow babel tools is to use babel to execute src
> blocks directly. Here is a start. Run this src block to define a function
> `insert-quoted-list-as-result':
>
> #+BEGIN_SRC emacs-lisp
>(defun insert-quoted-list-as-result (my-list)
>(save-
Hello,
"Charles C. Berry" writes:
> The easiest way to borrow babel tools is to use babel to execute src
> blocks directly. Here is a start. Run this src block to define a function
> `insert-quoted-list-as-result':
>
> #+BEGIN_SRC emacs-lisp
>(defun insert-quoted-list-as-result (my-list)
>
On Sat, 30 Apr 2016, Eike wrote:
Charles C. Berry writes:
On Sat, 30 Apr 2016, Eike wrote:
Hi,
[much deleted]
What I want to do: I want to insert an org table somewhere in an org
buffer. The data is not from an src block but retrieved from somewhere
else. So I have a list like `(("
Charles C. Berry writes:
> On Sat, 30 Apr 2016, Eike wrote:
>
>>
>> Hi,
>>
>> I have some code that uses `org-babel-insert-result' and I've found that
>> evaluating for example
>>
>> (org-babel-insert-result "a")
>>
>> results in an error.
>
> Although not explicitly marked as such, `org-babe
On Sat, 30 Apr 2016, Eike wrote:
Hi,
I have some code that uses `org-babel-insert-result' and I've found that
evaluating for example
(org-babel-insert-result "a")
results in an error.
Although not explicitly marked as such, `org-babel-insert-result' seems
intended as an internal functio
Hi,
I have some code that uses `org-babel-insert-result' and I've found that
evaluating for example
(org-babel-insert-result "a")
results in an error. The reason is that `goto-char' is called with a nil
argument. I simply put the snippet in a `when' clause, but since the
function is quite la