aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-format.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-02 12:56:09 -0500
committerCraig Jennings <c@cjennings.net>2026-06-02 12:56:09 -0500
commit42f3a75651ed8d2f8e601c654e482dc85363bb83 (patch)
treefa737d9aab0afc407bcc2264ab1ff03a99590e0c /tests/test-pearl-format.el
parent293c9f2a097991ca64f05f6252d0725f510d2e47 (diff)
downloadpearl-42f3a75651ed8d2f8e601c654e482dc85363bb83.tar.gz
pearl-42f3a75651ed8d2f8e601c654e482dc85363bb83.zip
feat(views): default-view resolver and open command
Phase 1 of the default-view spec. I added the data and dispatch; keymap and the setter come in later phases. pearl-default-view (defcustom) holds the legacy-mode default: nil for my open issues, or a local-view name. In accounts mode the per-account :default-view key wins instead, so pearl--resolve-account now carries :default-view in its context plist and pearl--resolve-default-view reads from the active account, falling back to the global only in legacy mode. pearl-open-default-view dispatches the resolved default: nil runs pearl-list-issues, a known local-view name runs pearl-run-local-view, and a name that's since been deleted falls back to pearl-list-issues with a message instead of erroring. pearl-list-issues keeps its contract — it's still literal my-open-issues, the keymap rebind is phase 3. Nine tests cover the resolver in both modes and the three dispatch paths. Suite 792 to 801, compile and lint clean.
Diffstat (limited to 'tests/test-pearl-format.el')
0 files changed, 0 insertions, 0 deletions