[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] how about allowing links in #+INCLUDE: ?

From: Myles English
Subject: [O] how about allowing links in #+INCLUDE: ?
Date: Thu, 18 Oct 2012 16:17:18 +0100
User-agent: mu4e 0.9.9-dev6; emacs 24.2.1


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]