Merge branch 'exit_matcher_investigation'
This commit is contained in:
commit
150b4d4387
25
org_mode_samples/Makefile
Normal file
25
org_mode_samples/Makefile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
SHELL := bash
|
||||||
|
.ONESHELL:
|
||||||
|
.SHELLFLAGS := -eu -o pipefail -c
|
||||||
|
.DELETE_ON_ERROR:
|
||||||
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
|
MAKEFLAGS += --no-builtin-rules
|
||||||
|
SUBDIRS := $(wildcard */.)
|
||||||
|
OUT=out
|
||||||
|
|
||||||
|
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||||
|
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
||||||
|
endif
|
||||||
|
.RECIPEPREFIX = >
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all:
|
||||||
|
> for dir in $(SUBDIRS); do \
|
||||||
|
> make -C $$dir $@; \
|
||||||
|
> done
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
> for dir in $(SUBDIRS); do \
|
||||||
|
> make -C $$dir $@; \
|
||||||
|
> done
|
23
org_mode_samples/exit_matcher_investigation/Makefile
Normal file
23
org_mode_samples/exit_matcher_investigation/Makefile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
SHELL := bash
|
||||||
|
.ONESHELL:
|
||||||
|
.SHELLFLAGS := -eu -o pipefail -c
|
||||||
|
.DELETE_ON_ERROR:
|
||||||
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
|
MAKEFLAGS += --no-builtin-rules
|
||||||
|
SRCFILES := $(wildcard *.org)
|
||||||
|
OUTFILES := $(patsubst %.org,%.tree.txt,$(SRCFILES))
|
||||||
|
|
||||||
|
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||||
|
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
||||||
|
endif
|
||||||
|
.RECIPEPREFIX = >
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: $(OUTFILES)
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
> rm -rf $(OUTFILES)
|
||||||
|
|
||||||
|
%.tree.txt: %.org ../common.el ../dump_org_ast.bash
|
||||||
|
> ../dump_org_ast.bash $< $@
|
1
org_mode_samples/exit_matcher_investigation/README.org
Normal file
1
org_mode_samples/exit_matcher_investigation/README.org
Normal file
@ -0,0 +1 @@
|
|||||||
|
This folder is an investigation into whether or not my exit matchers should operate from the top down or bottom up.
|
@ -0,0 +1,3 @@
|
|||||||
|
Looks like 2 blank lines always exits the top-level plain list.
|
||||||
|
|
||||||
|
Plain lists do not seem to go inside paragraphs but rather exist beside them.
|
@ -0,0 +1,10 @@
|
|||||||
|
1. foo
|
||||||
|
|
||||||
|
bar
|
||||||
|
|
||||||
|
1. baz
|
||||||
|
|
||||||
|
lorem
|
||||||
|
|
||||||
|
|
||||||
|
ipsum
|
@ -0,0 +1 @@
|
|||||||
|
Looks like table cells cannot contain lists but can contain bolds
|
@ -0,0 +1,5 @@
|
|||||||
|
ip *su* m
|
||||||
|
|
||||||
|
| foo | bar |
|
||||||
|
|----------+-----|
|
||||||
|
| 1. lo *re* m | |
|
@ -4,7 +4,8 @@ SHELL := bash
|
|||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
MAKEFLAGS += --warn-undefined-variables
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
MAKEFLAGS += --no-builtin-rules
|
MAKEFLAGS += --no-builtin-rules
|
||||||
OUT=out
|
SRCFILES := $(wildcard *.org)
|
||||||
|
OUTFILES := $(patsubst %.org,%.tree.txt,$(SRCFILES))
|
||||||
|
|
||||||
ifeq ($(origin .RECIPEPREFIX), undefined)
|
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||||
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
||||||
@ -12,11 +13,11 @@ endif
|
|||||||
.RECIPEPREFIX = >
|
.RECIPEPREFIX = >
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: paragraphs.tree.txt nested_paragraphs.tree.txt
|
all: $(OUTFILES)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
> rm -rf *.tree.txt
|
> rm -rf $(OUTFILES)
|
||||||
|
|
||||||
%.tree.txt: %.org ../common.el ../dump_org_ast.bash
|
%.tree.txt: %.org ../common.el ../dump_org_ast.bash
|
||||||
> ../dump_org_ast.bash $< $@
|
> ../dump_org_ast.bash $< $@
|
||||||
|
Loading…
Reference in New Issue
Block a user