[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [babel] "tangle" results of source blocks?
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: [babel] "tangle" results of source blocks? |
Date: |
Mon, 08 Nov 2010 21:15:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hello Maurizio,
Maurizio Vitale wrote:
> Hi,
> I have procmail rules defined in a org table which is then used as an
> argument for an elisp block which produces procmailrc results.
>
> Something like:
>
> #+tblname: mailing-lists
> | to | emacs-users | emacs-users |
> #+TBLFM:
>
> #+srcname: procmail-rules(mailing-lists=mailing-lists)
> #+begin_src emacs-lisp :exports results :results output :tangle no
> ... elisp code that evaluates to procmail rules
> #+end_src
>
> #+results: procmail-rules :tangle /tmp/YYY
> :0:
> * address@hidden
> $MAILDIR/emacs-users/
>
> I'd like to tangle the result section, not the code block. Is that
> possible?
See the "exports" header argument.
http://orgmode.org/manual/exports.html#exports
Best regards,
Seb
--
Sébastien Vauban