emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [org-babel] Idea: Rendering output of code blocks inline (like org links)
Date: Thu, 15 Oct 2009 10:08:35 -0500	[thread overview]
Message-ID: <1e5bcefd0910150808j632a07bcgeb98b9480cb70a28@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 873 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 966 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

             reply	other threads:[~2009-10-15 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 15:08 Marcelo de Moraes Serpa [this message]
2009-10-15 22:42 ` [org-babel] Idea: Rendering output of code blocks inline (like org links) Eric Schulte
2009-10-16  3:42   ` Maurizio Vitale
2009-10-16 14:34     ` [babel] Re: " 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=1e5bcefd0910150808j632a07bcgeb98b9480cb70a28@mail.gmail.com \
    --to=celoserpa@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).