From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Myles English" Subject: how about allowing links in #+INCLUDE: ? Date: Thu, 18 Oct 2012 16:17:18 +0100 Message-ID: <87a9vjrerl.fsf@ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOrj2-0006U0-AC for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 11:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOrj1-0006S9-5x for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 11:09:32 -0400 Received: from mail-ea0-f169.google.com ([209.85.215.169]:41399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOrj0-0006S5-VJ for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 11:09:31 -0400 Received: by mail-ea0-f169.google.com with SMTP id k11so3015312eaa.0 for ; Thu, 18 Oct 2012 08:09:30 -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: emacs-orgmode Hi, Lines like this (from the manual): #+INCLUDE: "~/.emacs" :lines "10-" Include lines from 10 to EOF could be more flexible if we were able to do: #+INCLUDE: "~/.emacs" :link [[link to a headline]] because it allows the included file to change (e.g) the number of header lines. There may also be a use for an offset argument, e.g. two lines below the headline, but I haven't really thought that through yet: #+INCLUDE: "~/.emacs" :link [[link to a headline]]+2 Patches welcome! (Thought I'd get in first with that.) Myles