[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Selectively export RESULTS
From: |
Eric Schulte |
Subject: |
Re: [O] Selectively export RESULTS |
Date: |
Fri, 02 Mar 2012 13:26:18 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) |
>
> Eric,
>
> your response is threaded as a reply to Matthew, but here you have
> replied to my comment about buffer wide PROPERTY setting of :cache.
>
> Here is an example of the difficulty I face:
>
> ,----
> | #+property: :cache yes
> |
> |
> | #+name: Ablock
> | #+begin_src emacs-lisp :results value :exports both
> | (current-time-string)
> | #+end_src
> |
> | #+results[2ca40f0dc0f23e5743133e229d9e8f31b31830c5]: Ablock
> | : Wed Feb 29 11:57:19 2012
> |
> |
> | * headline 1
> | :PROPERTIES:
> | :cache: no
> | :END:
> |
> | #+CALL: Ablock() :exports results
> |
> `----
>
> When I place point under the headline and issue
>
> C-c @ C-c C-e a
>
> I get
>
> ,----
> | headline 1
> | ==========
> |
> | Author:
> | Date: 2012-03-02 11:28:54 PST
> |
> |
> |
> |
> | Fri Mar 2 11:28:52 2012
> |
> `----
>
> showing that Ablock() actually was executed.
>
> If the :cache setting under 'headline 1' is omitted then no update of
> the time string is performed.
>
> I understand that this behavior might be considered a *feature*, not a
> *bug*.
>
> Either way, having an easy way to copy results into other parts of a
> document would help me out.
>
Hi Chuck,
You have a simple syntax error at the top of the file. Replace
> | #+property: :cache yes
with
> | #+property: cache yes
^
(delete a colon | right there)
and you will get the behavior you are seeking.
Best,
>
> Best,
>
> Chuck
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- Re: [O] Selectively export RESULTS, (continued)
- Re: [O] Selectively export RESULTS, Sebastien Vauban, 2012/03/03
- Re: [O] Selectively export RESULTS, Achim Gratz, 2012/03/03
- Re: [O] Selectively export RESULTS, Sebastien Vauban, 2012/03/03
- Re: [O] Selectively export RESULTS, Achim Gratz, 2012/03/04
- Re: [O] Selectively export RESULTS, Sebastien Vauban, 2012/03/04
Re: [O] Selectively export RESULTS, cberry, 2012/03/02
Re: [O] Selectively export RESULTS,
Eric Schulte <=
Re: [O] Selectively export RESULTS, Christophe Pouzat, 2012/03/02