Add default TODO/DONE states.

This commit is contained in:
Sergio Martínez Portela 2024-08-22 20:36:51 +02:00
parent 9a6d0191d7
commit 04fe576385

View File

@ -109,7 +109,9 @@ def load_all(top_dir_relative):
path = os.path.join(root, name) path = os.path.join(root, name)
try: try:
doc = load_org(open(path), extra_cautious=True) doc = load_org(open(path),
environment={"org-todo-keywords": "TODO(t) NEXT(n) MEETING(m/!) Q(q) PAUSED(p!/!) EVENT(e/!) SOMETIME(s) WAITING(w@/!) TRACK(r/!) | DISCARDED(x@/!) VALIDATING(v!/!) DONE(d!/!)"},
extra_cautious=True)
docs.append(doc) docs.append(doc)
except Exception as err: except Exception as err:
import traceback import traceback