emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how about allowing links in #+INCLUDE: ?
@ 2012-10-18 15:17 Myles English
  0 siblings, 0 replies; only message in thread
From: Myles English @ 2012-10-18 15:17 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-18 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18 15:17 how about allowing links in #+INCLUDE: ? Myles English

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