diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-05 16:10:09 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-05 16:10:09 -0600 |
| commit | b1d9ca0588f96bb46f2cc3a3ba6c479e0bcc73bd (patch) | |
| tree | 67ab4a48e07cccf0e736b37012f8a28ae730b174 /modules/test-runner.el | |
| parent | 399bf44a8883e22590da723cc8c4fd1bf9083fad (diff) | |
| download | dotemacs-b1d9ca0588f96bb46f2cc3a3ba6c479e0bcc73bd.tar.gz dotemacs-b1d9ca0588f96bb46f2cc3a3ba6c479e0bcc73bd.zip | |
fix(calendar-sync): fix heading order, continuation lines, and exception text cleaning
Three bugs found during manual verification of calendar sync output:
1. Heading/timestamp order reversed in event-to-org — nreverse pattern
put timestamp before the org heading. Swap initial list order.
2. get-property continuation line regex broken — the ^ anchor in
"^\n[ \t]" prevented matching at the correct position, truncating
long DESCRIPTION values at the first ICS line fold. Remove anchor,
add explicit position check (matching get-all-property-lines pattern).
3. collect-recurrence-exceptions didn't clean text — exception instances
got raw ICS text (literal \n, HTML tags) replacing the cleaned base
event text. Wrap summary/description/location in clean-text.
Diffstat (limited to 'modules/test-runner.el')
0 files changed, 0 insertions, 0 deletions
