diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
| commit | 8701931a96ae0a2ad4ed49419a06360a20fa8173 (patch) | |
| tree | f5270940fae809c337a16b7c67a59ed04bdd14e9 /modules/markdown-config.el | |
| parent | cc5e0a7de15342a1bc5863700fb42bed5b71e5e9 (diff) | |
| download | dotemacs-8701931a96ae0a2ad4ed49419a06360a20fa8173.tar.gz dotemacs-8701931a96ae0a2ad4ed49419a06360a20fa8173.zip | |
fix(calendar-sync): resolve freeze on DST transitions and large ICS files
Two bugs caused Emacs to freeze during calendar sync:
1. split-events used catastrophic regex (\(.\|\n\)*?) on multi-MB ICS
data. Replaced with buffer-based search-forward (0.011s for 4.5MB).
2. add-days used midnight for date arithmetic. On DST fall-back days,
adding 86400s to midnight CDT yields 11pm CST (same date), creating
an infinite loop. Fixed by using noon so ±1h DST shift stays correct.
Diffstat (limited to 'modules/markdown-config.el')
0 files changed, 0 insertions, 0 deletions
