diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-04 17:48:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-04 17:48:49 -0500 |
| commit | 389a4005b48d186fe4956f0455605b6fdb1dbb65 (patch) | |
| tree | 2970f8ab15f1a24792ff29effdc28e594ec340b6 /scripts/theme-studio/previews.js | |
| parent | 48f0bbd7a1894fafd46f1093d5a17300efbba0bb (diff) | |
| download | dotemacs-389a4005b48d186fe4956f0455605b6fdb1dbb65.tar.gz dotemacs-389a4005b48d186fe4956f0455605b6fdb1dbb65.zip | |
fix(org): log state changes into LOGBOOK and drop no-op transitions
State-change log lines were written inline (org-log-into-drawer nil), where a line landing between a heading and its DEADLINE/SCHEDULED line broke org's planning-line parser and dropped the entry from agenda views. org also logged no-op "State X from X" transitions that carry no information.
Set org-log-into-drawer to t so state changes land in :LOGBOOK: drawers, and add an around-advice on org-add-log-setup that skips identical from/to transitions. The suppression decision lives in a pure predicate so it's tested without driving org-todo. This removes the cause rather than stripping the lines after they appear.
Diffstat (limited to 'scripts/theme-studio/previews.js')
0 files changed, 0 insertions, 0 deletions
