emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [babel] "tangle" results of source blocks?


From: Maurizio Vitale
Subject: Re: [Orgmode] [babel] "tangle" results of source blocks?
Date: Mon, 8 Nov 2010 16:27:41 -0500

Sweet!
Thanks

On Mon, Nov 8, 2010 at 3:40 PM, Eric Schulte <address@hidden> wrote:
Hi Maurizio,

You could try something like the following using the noweb expansion to
run the code block and tangle its results.

#+begin_src procmail :tangle yes :noweb yes
 <<procmail-rules(mailing-lists=mailing-lists)>>
#+end_src

Best -- Eric

Maurizio Vitale <address@hidden> writes:

> 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?
>
> Thanks,
>
>         Maurizio
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

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