[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] ob-core: check argument to goto-char

From: Eike
Subject: Re: [O] [PATCH] ob-core: check argument to goto-char
Date: Sat, 30 Apr 2016 23:40:05 +0200
User-agent: mu4e 0.9.16; emacs 24.5.2

Charles C. Berry <address@hidden> 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-excursion
>      (insert
>       (format
>        "#+BEGIN_SRC emacs-lisp\n '%S\n#+END_SRC\n\n" my-list))
>      (let ((org-confirm-babel-evaluate nil))
>        (org-babel-execute-src-block)))
>      (delete-region (point)
>                  (org-babel-where-is-src-block-result)))

Oh I see. It is more complicated than I hoped.


gpg: AD7AC35E
finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E

reply via email to

[Prev in Thread] Current Thread [Next in Thread]