emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christian Nybø" <chr@nybo.no>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] new :post header argument for post-processing of code block results
Date: Fri, 12 Dec 2014 16:37:49 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141212T170116-597@post.gmane.org> (raw)
In-Reply-To: 87li8zwsov.fsf@gmail.com

Eric Schulte <schulte.eric <at> gmail.com> writes:

> 
> Aaron Ecay <aaronecay <at> 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ø

  parent reply	other threads:[~2014-12-12 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01  1:17 [RFC] new :post header argument for post-processing of code block results Eric Schulte
2013-04-01  5:30 ` Aaron Ecay
2013-04-03 14:30   ` Eric Schulte
2013-04-04  2:18     ` Eric Schulte
2013-04-04  9:54       ` Bastien
2013-04-04 12:47         ` Eric Schulte
2013-04-04 12:54           ` Bastien
2014-12-12 16:37     ` Christian Nybø [this message]
2013-04-16 12:47 ` Eric S Fraga
2013-04-16 15:23   ` Eric Schulte
2013-04-16 20:42     ` Andreas Leha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20141212T170116-597@post.gmane.org \
    --to=chr@nybo.no \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).