From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Scharff Subject: [feature request] tangle on org-special-edit Date: Thu, 21 Jul 2011 15:38:40 +0200 Message-ID: Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjtSl-0007Jz-3l for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 09:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjtSh-0000NW-3Y for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 09:38:51 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:51318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjtSg-0000NJ-LZ for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 09:38:46 -0400 Received: by fxd18 with SMTP id 18so2867649fxd.39 for ; Thu, 21 Jul 2011 06:38:45 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Org-mode provides the function to edit code blocks in their languages = native environment. If you want do literate programming you'll end up = with web-syntax (<> ) in the environment = org-special-edit started.=20 I'd like to purpose, that before opening the special language = environment, the code-block should be tangled to a temporary file. Then = a buffer should be stated with that file loaded in its native language = environment. If you'd do that the code would really be executable and = therefore debuggable and analyzable with the tools the programming = language provides. =20 You'll have to keep track on the tangled code blocks then. I think some = info in comments should do the trick. I uploaded a mockup of what I mean = here: http://dl.getdropbox.com/u/3503145/org-feature-mockup.pdf best regards, Dirk.=