emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Re: org-babel, src blocks and asymptote
Date: Wed, 16 Sep 2009 13:42:27 -0600	[thread overview]
Message-ID: <m2y6oehe1o.fsf@gmail.com> (raw)
In-Reply-To: <87ws3yoola.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 16 Sep 2009 18:12:49 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Actually, about the first problem, I found about org-src-lang-modes
> variable and that you can do
>
> (add-to-list 'org-src-lang-modes '("asymptote" . asy))
>

this is now provided in the default value of org-src-lang-modes

>
> About the second problem, I can always edit code in native mode (C-c ')
> go back to org file, compile the block, and visit the link provided.

for what it's worth this can be done in three key-chords
1) C-c '     jump back to org buffer
2) C-c C-c   recompile with `org-babel-execute-src-block'
3) C-c C-o   open file with `org-babel-open-src-block-result'

> But it still looks to me a bit awkward and unnatural and I still got
> the urge to press C-c C-c in native mode.

yea, understood, it would be much more convenient to optionally
associate the org-src-buffer with a temporary file to provide support
for those major modes (like asy-mode) which require a file name.

Thanks -- Eric

  reply	other threads:[~2009-09-16 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 12:50 org-babel, src blocks and asymptote Nicolas Goaziou
2009-09-16 16:12 ` Nicolas Goaziou
2009-09-16 19:42   ` Eric Schulte [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y6oehe1o.fsf@gmail.com \
    --to=schulte.eric@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).