From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: idea, in-line preview link Date: Thu, 5 Apr 2012 18:04:58 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFidA-00012W-Sa for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 05:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFid3-0003XU-RZ for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 05:05:23 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:36943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFid2-0003Sr-LN for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 05:05:17 -0400 Received: by iajr24 with SMTP id r24so1913308iaj.0 for ; Thu, 05 Apr 2012 02:04:58 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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