emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* idea, in-line preview link
@ 2012-04-05  9:04 Torsten Wagner
  2012-04-05 11:55 ` Christian Moe
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Wagner @ 2012-04-05  9:04 UTC (permalink / raw)
  To: Org Mode Mailing List

Hi,

recently I was wondering if org-mode could have some sort of inline
link. This would allow quick check-ups on details without having more
and more buffers open.
That is a link to another text (org-file) including text position like

[[file:~/code/main.c::255]]

However instead of open a new buffer and jump to that line, I would
like to see the line +x lines just below the link and possible only
until I move the cursor or by any other means close the link again

Thus

[[inlinefile:~/code/main.c::255+4]]

open it

[[inlinefile:~/code/main.c::255+4]]
   1. This is all code
   2. from main.c
   3. I can preview in org
   4. without switching the buffer
   5. is that useful?!

close it again and the buffer looks again like

[[inlinefile:~/code/main.c::255+4]]


Actually, I believe it is fairly easy to implement for people knowing
LISP just a bit better then me ;)

What do you think

Totti

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

end of thread, other threads:[~2012-04-12 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05  9:04 idea, in-line preview link Torsten Wagner
2012-04-05 11:55 ` Christian Moe
2012-04-12 12:02   ` peter.frings

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