Refile and archive !15

merged merged by cmc on 2026-10-05 04:50 UTC · krz/orgstar:phase2-refile into main

Discussion

cmc

Phase 2, plan D3.

  • Ported from Org 9.8.7: copy/paste subtree, refile (within a file and to another file), archive (location rules, context properties via org-entry-put, statistics after the cut), parent TODO statistics (now also after TODO cycling and TODO-heading insert).
  • Session: refile and archive write the other file through the save path first, then remove the subtree as one undo step; targets from the index plus the open buffer.
  • App: C-c C-w with a filtered target list in the echo area, C-c C-x C-s / C-c $; palette entries.
  • Oracles (real temp files, frozen time): refile within/across files, archive to new/existing/in-file locations, TODO cookies — all match Emacs; corpus oracles still match.

242 tests pass.