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 | 9cbf88c58134c411168aaeecc56ba9609807344d (patch) | |
| tree | fb8e733701844d33ec6120ec55b9b206eaff24ca /modules/custom-misc.el | |
| parent | d1840d4f73c9800acecf93801b85e3ee650292c0 (diff) | |
| download | dotemacs-9cbf88c58134c411168aaeecc56ba9609807344d.tar.gz dotemacs-9cbf88c58134c411168aaeecc56ba9609807344d.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/custom-misc.el')
0 files changed, 0 insertions, 0 deletions
