Skip to content

[Feature Request] Parse #+INCLUDE lines #17

@spicyriceball

Description

@spicyriceball

Sometimes org files are split into multiple org files. This could be due to multiple org files using the same parts, so it's sort of "DRY", or you simply have modular stuff you want to bring into one file. The INCLUDE word can be used to include lines from other files when exporting.

Currently, you have to do something like this with ntangle:

emacs file.org -q --batch -f org-org-export-to-org --kill
ntangle file.org.org
rm file.org.org

it could be nice if we could just do:

ntangle file.org

However, it does make sense if the maintainer doesn't want this in ntangle since the default org-babel-load-file (which ntangle sort of mimics?) doesn't have this behavior as far as I know. Thoughts on throwing this onto the backlog or nay?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions