From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Limited #+INCLUDE ? Date: Tue, 27 Apr 2010 09:27:45 +0100 Message-ID: <878w89l2pq.wl%ucecesf@ucl.ac.uk> References: <874oj2v2a6.fsf@tandberg.com> <87k4ruy5pd.fsf@mundaneum.com> <87eii26lzg.fsf@stats.ox.ac.uk> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6h6w-0002oa-G8 for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:29:46 -0400 Received: from [140.186.70.92] (port=49631 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6h6v-0002nE-8U for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:29:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6h6p-0004at-P9 for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:29:45 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:57565) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6h6p-0004Zy-E2 for emacs-orgmode@gnu.org; Tue, 27 Apr 2010 05:29:39 -0400 In-Reply-To: <87eii26lzg.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban , emacs-orgmode@gnu.org, Giles Chamberlin On Mon, 26 Apr 2010 15:40:35 -0400, Dan Davison wrote: > I'm considering investigating the following and would appreciate > comments on this idea. The aim is to make it easier to use Org-mode to > work pure code files which are *external to Org-mode* (i.e. this > proposal lies outside of the current org-babel tangling framework). > > - Extend Org file links to allow links to a range of lines in a > file. The syntax could be > [[file:/path/to/file::from::to][linkname]] +1 I like this idea, especially for exporting complex documents. If org-store-link were enhanced to generate links with this line information, I would probably use this a lot. > - These links will bring up a buffer visiting the target file, narrowed > to the target region. Or could be brought up with a wide view but with the region selected? > - 'from' and 'to' could be line numbers, or regexps for text search. The latter could be quite appealing, although possibly a little fragile.