From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Org-mode list <emacs-orgmode@gnu.org>
Subject: org-babel, src blocks and asymptote
Date: Wed, 16 Sep 2009 14:50:58 +0200 [thread overview]
Message-ID: <87ocpboxxp.fsf@gmail.com> (raw)
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
next reply other threads:[~2009-09-16 12:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 12:50 Nicolas Goaziou [this message]
2009-09-16 16:12 ` org-babel, src blocks and asymptote Nicolas Goaziou
2009-09-16 19:42 ` Eric Schulte
2009-09-16 17:01 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ocpboxxp.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.