all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Chris Maier <christopher.maier@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BABEL] Editing dot blocks with org-exp-blocks
Date: Wed, 09 Feb 2011 14:10:19 +0000	[thread overview]
Message-ID: <87k4h9xpro.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <AANLkTinZzEqawEodyorYr4Z3i548MbbO7Vv7oyPbObFq@mail.gmail.com> (Chris Maier's message of "Wed, 9 Feb 2011 08:31:00 -0500")

Chris Maier <christopher.maier@gmail.com> writes:

> The begin_dot is part of org-exp-blocks, as I understand it, and
> appears required to make it evaluate the Dot code, create the image
> file, and then incorporate that into the exported document (LaTeX,
> HTML, etc.)
>
> Thanks,
> Chris
>
> On Wed, Feb 9, 2011 at 3:56 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>> Chris Maier <christopher.maier@gmail.com> writes:
>>
>>> In "normal" Org code blocks (e.g. #+begin_src clojure .... #+end_src)
>>> it's possible to hit C-c ' and edit the block code in a separate
>>> buffer with the appropriate mode.  This doesn't appear to work when
>>> using org-exp-blocks to edit a "begin_dot" block.
>>>
>>> Is there a command to do this?
>>
>> No idea but what about using #+begin_src dot ... #+end_src?
>> --
>> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
>> : using Org-mode version 7.4 (release_7.4.324.gca7a)
>>

Yes, I know; I used to use begin_dot and begin_ditaa quite a bit.  My
understanding is that babel knows about dot and therefore provides the
same functionality, albeit in a different way, possibly more confusing
but definitely more customisable and hence more powerful.  babel gives
you access to features such as fontification, mode specific editing,
caching.

I am not sure what the intended long term development for these special
export blocks might be?  org's long term growth (development of
features) is organic and responsive, not planned per se (and I mean this
in a positive way as planned software projects seldom achieve their
goals...)  so it may be that nobody can answer this question!

In any case, I didn't mean to imply that you cannot continue using these
specific export blocks or that they don't do the job they were intended
for.  Simply that maybe babel is the route to go if you want to be able
to use mode specific editing.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.324.gca7a)

  reply	other threads:[~2011-02-09 14:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  3:50 [BABEL] Editing dot blocks with org-exp-blocks Chris Maier
2011-02-09  8:56 ` Eric S Fraga
2011-02-09 13:31   ` Chris Maier
2011-02-09 14:10     ` Eric S Fraga [this message]
2011-02-09 15:14       ` Dan Davison
2011-02-09 15:39         ` Chris Maier
2011-02-09 16:14           ` Dan Davison
2011-02-10  2:05             ` Chris Maier
2011-02-10  1:05         ` Eric Schulte
2011-02-10 10:05           ` Eric S Fraga
2011-02-10 17:02             ` Eric Schulte
2011-02-09  8:58 ` Sébastien Vauban

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=87k4h9xpro.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=christopher.maier@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.