emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: [babel] link type to execute src_block
Date: Thu, 25 Aug 2011 23:24:58 +0900	[thread overview]
Message-ID: <CAPaq-gMR5RMKnetbdOU7fUWjzuDhx1BZMkgpgCoQF4293PKEGw@mail.gmail.com> (raw)

Hi,
is there a way already to execute a (named source block) by creating a
link type?
I checked the manual and there is a link type for shell and elisp but
it seems not for babel.
Something like

[[babel: src_block_name()][Text]]

With this, one could create all kind of little features within an org-file
* start often used shell, python, and other language scripts,
* start little GUIs in a different programming  language (e.g., java
works fine) to allow a more mouse centric input (there was a tablet
discussion recently)
* link blocks to descriptive text making reproducible research more
readable  (e.g. ...after the applying a _FFT-transform_, the dataset
was _plotted_....)

Would be nice to have the option to either execute the link and to
jump to the code block

All the best

Totti

             reply	other threads:[~2011-08-25 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 14:24 Torsten Wagner [this message]
2011-08-25 15:13 ` [babel] link type to execute src_block 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=CAPaq-gMR5RMKnetbdOU7fUWjzuDhx1BZMkgpgCoQF4293PKEGw@mail.gmail.com \
    --to=torsten.wagner@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).