From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian =?utf-8?b?Tnliw7g=?= Subject: Re: [RFC] new :post header argument for post-processing of code block results Date: Fri, 12 Dec 2014 16:37:49 +0000 (UTC) Message-ID: References: <87bo9zoxqd.fsf@gmail.com> <87bo9yvmux.fsf@gmail.com> <87li8zwsov.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzTEH-0008Mi-3Q for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 11:38:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzTE9-00088p-Jv for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 11:38:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:48129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzTE9-00088l-D7 for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 11:38:01 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XzTE8-0005Fa-Fr for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 17:38:00 +0100 Received: from 148.122.202.130 ([148.122.202.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 17:38:00 +0100 Received: from chr by 148.122.202.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 17:38:00 +0100 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 Eric Schulte gmail.com> writes: > > Aaron Ecay gmail.com> writes: > Yes again > > > . Do we want to allow ":post (message *this*)"? > > Yes again Eric, would you mind posting a sample that shows how to post-process the result with emacs-lisp? If I create a buffer test.org, add the following to the buffer, place the cursor at the end of the line containing "date" and type C-c C-c, I get "Symbol's value as variable is void: *this*" #+begin_src sh :post (message *this*) date #+end_src Org-mode version 8.3beta (release_8.3beta-642-gb8d790 @ /home/chr/extsrc/org-mode/lisp/) Regards, Christian Nybø