emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] hide inline source code blocks by results
@ 2012-04-11 14:45 Torsten Wagner
  2012-04-11 14:08 ` Eric Schulte
  0 siblings, 1 reply; 5+ messages in thread
From: Torsten Wagner @ 2012-04-11 14:45 UTC (permalink / raw)
  To: Org Mode Mailing List

Hi,

I guess we had such a discussion some time ago already.
I just started again to use inline source code blocks

e.g.

text text text src_python[:session]{print((U[0]-U[1])*1000)} mV text text text

if you have a lot of these in a text its rather hard to read.
I was thinking of something similar like links in org-mode
The inline source code gets hidden behind the result of the last
evaluation and can be accessed in the same way like links in org-mode.
It could even open up in a buffer of the target language like source
code blocks.
The above example would be reduced to

text text text _355_ mV text text text

C-c C-c would update the result
mouse click open the source code in a language specific buffer
etc.

This would really make it more readable

All the best
Torsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-27 13:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 14:45 [babel] hide inline source code blocks by results Torsten Wagner
2012-04-11 14:08 ` Eric Schulte
2012-04-26  8:37   ` Eric Fraga
2012-04-26 13:08     ` Eric Schulte
2012-04-27 13:25       ` Eric Fraga

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).