From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: [org-babel] Idea: Rendering output of code blocks inline (like org links) Date: Thu, 15 Oct 2009 10:08:35 -0500 Message-ID: <1e5bcefd0910150808j632a07bcgeb98b9480cb70a28@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0185618703==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyS3J-0005a3-E1 for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 11:15:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyS3F-0005Vc-W2 for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 11:15:41 -0400 Received: from [199.232.76.173] (port=38598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyS3F-0005VN-OJ for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 11:15:37 -0400 Received: from mail-yx0-f191.google.com ([209.85.210.191]:60588) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyS3F-0005a6-Ah for emacs-orgmode@gnu.org; Thu, 15 Oct 2009 11:15:37 -0400 Received: by yxe29 with SMTP id 29so863189yxe.14 for ; Thu, 15 Oct 2009 08:15:36 -0700 (PDT) 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: Org Mode --===============0185618703== Content-Type: multipart/alternative; boundary=001636b2b0f04212800475faa7d7 --001636b2b0f04212800475faa7d7 Content-Type: text/plain; charset=ISO-8859-1 Hello list! I haven't still managed to get org-babel to work, but I do have a doubt that might turn into a feature request :) Would it be possible to have chunks of code around the buffer get evaluated when you close them with some kind of token, and them only show the output, *just like links behave*. When you create a link, you have the structure: [[/location][name]] As you know, when you close this string, the rendering changes, and only the name part is shown, styled as a link. I'm wondering if the same thing would be possible, only that, instead of showing the "name", it would be the output of a string evalution - which could be a complex table, or a graph (could org buffers have images embedded inline?) or any other output, inline, in the buffer (no need to export it). Well, just a thought, let me know what you guys think about it. Att, Marcelo. --001636b2b0f04212800475faa7d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello list!

I haven't still managed to get org-babel to work, bu= t I do have a doubt that might turn into a feature request :)

Would = it be possible to have chunks of code around the buffer get evaluated when = you close them with some kind of token, and them only show the output, *jus= t like links behave*.

When you create a link, you have the structure:

[[/location][nam= e]]

As you know, when you close this string, the rendering changes, = and only the name part is shown, styled as a link.

I'm wondering= if the same thing would be possible, only that, instead of showing the &qu= ot;name", it would be the output of a string evalution - which could b= e a complex table, or a graph (could org buffers have images embedded inlin= e?) or any other output, inline, in the buffer (no need to export it).

Well, just a thought, let me know what you guys think about it.

= Att,

Marcelo.



--001636b2b0f04212800475faa7d7-- --===============0185618703== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0185618703==--