Sweet!
Thanks

On Mon, Nov 8, 2010 at 3:40 PM, Eric Schulte <schulte.e...@gmail.com> 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 <m...@google.com> 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:
> > * ^to_emacs-us...@xxx.com
> > $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.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to