Skip to content

Latest commit

 

History

History
70 lines (63 loc) · 1.93 KB

dotemacs-test.org

File metadata and controls

70 lines (63 loc) · 1.93 KB

About

Here is an example file to show how org-dotemacs.el works Each header below has a :NAME: property naming the block, and some have a :DEPENDS: property indicating names of blocks that should be loaded before that block. Some blocks have tags which can be used in a tag match to select which blocks to load.

You can load all elisp block in this file like this: (org-dotemacs-load-file nil “dotemacs-test.org”)

To load just the tagged blocks use: (org-dotemacs-load-file “dotemacs-test.org”)

Note: you may need to change the path to the files.

Buffer-wide TODO states

You need a line like the following one somewhere in the file to be able to mark blocks as broken or unused.

You can customize the variables `org-dotemacs-exclude-todo’ and `org-dotemacs-include-todo’ to indicate the effects of these TODO states.

Block 1

Here is the first block.
(message "block 1")

Block 2

Here is the second block, it contains a subheading with another code block in it.
(message "block 2")

Block 2a

(message "block 2a")

Block 3

This block depends on blocks 1 and 2 (including 2a).
(message "block 3")

Block 4

(message "block 4")

Block 5

This block will not be loaded because the TODO state is set to BROKEN.
(message "block 5")