From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [BABEL] Editing dot blocks with org-exp-blocks Date: Wed, 09 Feb 2011 18:05:26 -0700 Message-ID: <874o8cpt3y.fsf@gmail.com> References: <87hbcd1t94.fsf@pinto.chemeng.ucl.ac.uk> <87k4h9xpro.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50278 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnLTi-0000UX-JF for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 20:37:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnLTe-0008CX-VL for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 20:37:48 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:42827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnLTe-0008CL-Sa for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 20:37:46 -0500 Received: by gwj22 with SMTP id 22so401853gwj.0 for ; Wed, 09 Feb 2011 17:37:45 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: Chris Maier , emacs-orgmode Dan Davison writes: > Eric S Fraga writes: > >> Chris Maier 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 wrote: >>>> Chris Maier 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. =C2=A0This doesn't appear to work w= hen >>>>> 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, > > I vote for removing / deprecating the dot and ditaa functionality of > org-exp-blocks. > I also vote for removing the dot and ditaa block types from org-exp-blocks, left over from before the existence of begin_src blocks. As the original developer of org-exp-blocks, I no longer maintain it in favor of focusing on begin_src blocks. The only downside to removing these block types is breaking existing Org-mode files... Perhaps we could add a deprecation warning which will appear as a message every time a begin_dot or begin_ditaa blocks is evaluate, then after a month or so of warning we can remove those blocks entirely. Thoughts? -- Eric