[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] evaluation context in call statements
From: |
Eric Schulte |
Subject: |
Re: [O] evaluation context in call statements |
Date: |
Wed, 26 Jun 2013 09:49:28 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Rick Frankel <address@hidden> writes:
> Nicolas-
>
> On 2013-06-26 11:13, Nicolas Goaziou wrote:
>>
>> Rick Frankel <address@hidden> writes:
>>
>> At the time (late 2012) I found Nicolases changes (named results
>> blocks, attributes and captions on the results block and not the
>> source, etc) confusing. I still find it odd that you need to evaluate
>> a source block before you can e.g, add a caption or attributes to the
>> results (previous behavior was that header arguments on the source
>> block were used for the results in exporting.)
>>
>> But you couldn't provide different captions (or attributes) to source
>> code and results (or no caption/attribute to one of them only).
>>
>> If you think about it, it's not very odd that captions and attributes
>> apply to the text located just below, instead of some remote or yet to
>> be generated piece of text.
>>
>
> I agree now (as i did then), with the functionality and understand why
> and how it works, but i still find having to execute a source block
> before being able to attribute the results counter-intuitive (as have
> others).
You are free to type a #+RESULTS: line manually.
If you use yasnippets you could define a snippet for a named code block
which inserts the #+RESULTS line concurrently with the code block.
--
Eric Schulte
http://cs.unm.edu/~eschulte
- Re: [O] evaluation context in call statements, (continued)
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/25
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/25
- Re: [O] evaluation context in call statements, Michael Brand, 2013/06/25
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/25
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/25
- Re: [O] evaluation context in call statements, Eric Schulte, 2013/06/26
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/26
- Re: [O] evaluation context in call statements, Rick Frankel, 2013/06/26
- Re: [O] evaluation context in call statements, Nicolas Goaziou, 2013/06/26
- Re: [O] evaluation context in call statements, Rick Frankel, 2013/06/26
- Re: [O] evaluation context in call statements,
Eric Schulte <=
- Re: [O] evaluation context in call statements, Eric Schulte, 2013/06/26
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/27
- Re: [O] evaluation context in call statements, Andreas Leha, 2013/06/27
- Re: [O] evaluation context in call statements, Achim Gratz, 2013/06/27
- Re: [O] evaluation context in call statements, Andreas Leha, 2013/06/27
- Re: [O] evaluation context in call statements, Eric Schulte, 2013/06/30
- Re: [O] evaluation context in call statements, Michael Brand, 2013/06/26
- Re: [O] evaluation context in call statements, Eric Schulte, 2013/06/26
- Re: [O] evaluation context in call statements, Michael Brand, 2013/06/26
- Re: [O] evaluation context in call statements, Eric Schulte, 2013/06/26