aboutsummaryrefslogtreecommitdiff
path: root/docs/issue-sort-order-spec.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-26 19:56:21 -0500
committerCraig Jennings <c@cjennings.net>2026-05-26 19:56:21 -0500
commit34c67ddc3b72f92033ced3f86346f3483f5ba463 (patch)
tree5df3b8c96266c6f2f6a63930d5d17aaaa32b6f35 /docs/issue-sort-order-spec.org
parent00571a577e12e4a59b1400e9712e3423e4730643 (diff)
downloadpearl-34c67ddc3b72f92033ced3f86346f3483f5ba463.tar.gz
pearl-34c67ddc3b72f92033ced3f86346f3483f5ba463.zip
feat(refresh): re-tidy drawers via org-tidy when it's active
After a refresh, merge, or comment add, pearl folds property drawers so the page stays scannable. When org-tidy-mode is on, org-tidy owns drawer display with its own compact inline symbol, so a plain native fold doesn't match. Worse, org-tidy's overlays go stale when pearl rewrites the buffer, leaving the new drawers untidied. I added pearl--hide-or-tidy-drawers, which re-tidies via org-tidy-buffer when org-tidy-mode is active and falls back to the native fold otherwise. I routed the three drawer-hide paths (full render, single-issue refresh, comment add) through it. org-tidy stays an optional soft dependency, guarded by bound-and-true-p and fboundp, so a setup without it behaves exactly as before.
Diffstat (limited to 'docs/issue-sort-order-spec.org')
0 files changed, 0 insertions, 0 deletions