if anyone is interested in this, a simple defadvice appears to be a good
option, I put
(defadvice org-babel-execute-maybe (around org-babel-stop-on-collision)
"stop execution of result file defined more than once"
(let ((info (org-babel-get-src-block-info)))
(setq result-file (cdr (assoc :
Is it possible to add a function to org-ctrl-c-ctrl-c-hook without patching
ob-core.el? If I just add something like
(add-hook 'org-ctrl-c-ctrl-c-hook 'org-babel-stop-if-file-collision)
in my .emacs I notice that my addition gets overwritten later via the
autoloads (I think) that are defined in o
I thought about temp files, but that makes the file names cryptic which is
inconvenient for communication without people outside org.. also, I tend
recompile figures many times which would cause a lot of cluttering files
that are hard to delete since you don't know which file is the one
currently l
I collaborate with different people on the same orgfile which contains many
source blocks that generate graphics by e.g. :results graphics abc.pdf
It can happen that I or someone else accidentally create another
independent source block that overwrites my abc.pdf which is of course very
bad.
I wo
ah, this was easy, thanks!
2012/4/12 Eric Schulte :
> Henning Redestig writes:
>
>> Hi,
>>
>> I write many source blocks that take a fairly long time to execute
>> (several minutes). Sometimes I find myself wanting to do cosmetic
>> changes to the code, that
Hi,
I write many source blocks that take a fairly long time to execute
(several minutes). Sometimes I find myself wanting to do cosmetic
changes to the code, that I know (for sure) do not change the output,
after the first evaluation. Unfortunately, after having made these
changes the cache obviou
Better now but still some issues here, now if I start a new org buffer and type
:
> Hi Nick,
>
> Nick Dokos writes:
>
>> Confirmed. It only happens when you start typing into an empty buffer.
>> Looks like an off-by-one error in org.el:org-fontify-meta-lines-and-blocks-1,
>> aroung line 5487:
>>
+1 on this, I get 'org-mode fontification error' all the time after
having typed just
#+
in an org buffer. with org 7.8.08 and emacs 23.1.50.1 and running with emacs -Q
2011/8/18 Leo :
> On 2011-08-18 15:22 +0800, Bastien wrote:
>>> Just a heads-up. I saw this in my *message* buffer. I don't kno
e file name in '+calls' like this to get different plots for
different arguments.
Using:
GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) of
2009-09-27 on crested, modified by Debian
Org-mode version 7.01trans
Best regards,
--
/Henning Redestig
Metabolome Info