aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-reveal.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-10 00:44:39 -0500
committerCraig Jennings <c@cjennings.net>2026-07-10 00:44:39 -0500
commit621287447f149eb571e00c067e410704c4ebf968 (patch)
tree063f25f408fbf90b71255ab75e3abf12a0dca90f /scripts/setup-reveal.sh
parent02c2e0ee8e00869681595bd7b80a98219563b39f (diff)
downloaddotemacs-621287447f149eb571e00c067e410704c4ebf968.tar.gz
dotemacs-621287447f149eb571e00c067e410704c4ebf968.zip
test(ledger): audit ledger-config and pin its current behavior
The linting doesn't run. flycheck-ledger loads and registers the ledger checker, but flycheck-mode is hooked to sh-mode and emacs-lisp-mode only, and there's no global-flycheck-mode. I checked a live ledger-mode buffer: checker registered, flycheck-mode nil. Unbalanced transactions and typo'd account names produce no warning, on a financial file, while the module commentary claims linting. Three smaller findings. Every save reorders the whole file, because ledger-mode-clean-buffer calls ledger-sort-buffer over point-min to point-max. The demoted error around it lets a save proceed after a partial rewrite, with nothing to roll back. Reconcile has no confirmation and clears whole transactions. Five characterization tests pin what exists now, including the clean-on-save default the audit questions. I fixed nothing: the guardrail choices are a separate task, and only the flycheck gap is a defect rather than a preference.
Diffstat (limited to 'scripts/setup-reveal.sh')
0 files changed, 0 insertions, 0 deletions