Unfortunately I can't look this up at the moment, but
my guess is that the :results code option might help with
what you want?
Maurizio Vitale wrote:
"Sébastien" == Sébastien Vauban <wxhgmqzgw...@spammotel.com> writes:
Sébastien> Hello Maurizio,
Sébastien> 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: *
>> ^to_emacs-us...@xxx.com
>> $MAILDIR/emacs-users/
>>
>> I'd like to tangle the result section, not the code block. Is
>> that possible?
Sébastien> See the "exports" header argument.
Sébastien> http://orgmode.org/manual/exports.html#exports
That option controls what is exported, but I really need to tangle:
there're portions of the file, section headings and other documentation
that don't belong into the output file. So for instance given:
* Introduction
This is a file that does blah
* Configuration
#+tblname: config
|a | nice table|
*Details
#+srcname: procmail-rules(config=config)
#+begin_src emacs-lisp :exports results :results output :tangle ~/.procmailrc
... elisp code that evaluates to procmail rules
#+end_src
Of this entire file, noting should end up in ~/.procmailrc except for the
result of the evaluation of procmail-rules, which is what I hoped to
achieve with ':tangle ~/.procmailrc' and ':exports results' combined.
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