[Top][All Lists]

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

Re: [O] [PATCH] Add :special header argument

From: Eric Schulte
Subject: Re: [O] [PATCH] Add :special header argument
Date: Sun, 08 Jan 2012 12:58:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Achim Gratz <address@hidden> writes:

> address@hidden (Thomas S. Dye) writes:
>> The attached patch defines a new header argument, :special, which wraps
>> the results of Org babel source block execution in a #BEGIN_ ... #+END_
>> block.  The block name is taken from a new variable
>> org-babel-wrap-special, which is initialized as "results".
> What is the rationale for feeding the block name via a configuration
> variable rather then a value to the header argument ":special"?
> Regards,
> Achim.

Attached is an alternate patch and an example of its use.  This patch
introduces a ":wrap" header argument which accepts an optional value
used to specify the name of the block with which to wrap results.  If
this looks workable we could push it up once it gets some documentation
and tests.


#+Title: demonstrating the new :wrap header argument

#+begin_src emacs-lisp :wrap schulte
  '((1 2)
    (3 4))

| 1 | 2 |
| 3 | 4 |

Attachment: 0001-introduce-new-wrap-header-argument-for-wrapping-resu.patch
Description: Text Data

Eric Schulte

reply via email to

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