[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] org-babel, src blocks and asymptote
From: |
Nicolas Goaziou |
Subject: |
[Orgmode] org-babel, src blocks and asymptote |
Date: |
Wed, 16 Sep 2009 14:50:58 +0200 |
Hello,
Org-babel looks very interesting. I am pleased to see an asymptote
module included in it. While testing it, I think I found 2 problems :
To activate the asymptote module, you have to begin the source block,
for example, with
#+begin_src asymptote :file bezier.pdf
Unfortunately, the major mode used to edit asymptote code is named
asy-mode. This leads to the following error when you edit the block
with C-c ' : no such language mode: asymptote-mode.
Perhaps that module should be named org-babel-asy ?
The second problem, related to Org Src handling, is that the code is
put in a temporary buffer. I don't know about other languages, but,
in asy-mode, you can't compile code while in that kind of buffer.
This can be quite problematic in a language oriented towards
graphics, as you need to often make previews of your work.
In other words, is there an option to associate a temporary file to
the process (even in a per-language basis) instead of a buffer ? Or do I
have to mess with org-src-mode-hook to try to fix it ?
Regards,
--
Nicolas Goaziou
- [Orgmode] org-babel, src blocks and asymptote,
Nicolas Goaziou <=