Skip to main content

Use this tag for questions about tangling code in Emacs org-mode. Tangling is the process of extracting source code from code blocks from an org-mode file into programs for execution by a computer.

In literate programming, tangling is the process of exporting code from a file that contains code and the documentation of that code, into external program files which can be executed later by a computer.

In the context of Emacs, tangling usually refers to a more restricted version that is implemented in Org mode.

Resources:

Wikipedia article on Literate Programming

Tangling section in the Org mode manual