From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: ':post' Direct execution via Emacs Lisp Date: Fri, 27 Mar 2015 09:46:52 +0100 Message-ID: <87y4mihloj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbPuy-00010z-S2 for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 04:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbPus-0002LW-RB for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 04:47:04 -0400 Received: from smtptls1-loi.cpub.univ-nantes.fr ([193.52.103.112]:51124 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbPus-0002LF-KP for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 04:46:58 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, We can read in the manual: 14.8.2.25 =E2=80=98:post=E2=80=99 The =E2=80=98:post=E2=80=99 header argument is used to post-process the res= ults of a code block execution. When a post argument is given, the results of the code block will temporarily be bound to the =E2=80=98*this*=E2=80=99 variab= le. This variable may then be included in header argument forms such as those used in *note var:: header argument specifications allowing passing of results to other code blocks, or direct execution via Emacs Lisp. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IIUC, it means that we can post process the data in Emacs Lisp, that is, by calling an Emacs Lisp function, not another source block. However, the example only shows how to do it with another source block. Is my understanding correct or not? If so, how can I post process the result with an Emacs Lisp function? Cheers, --=20 Daimrod/Greg