diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 10:47:08 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 10:47:08 -0500 |
| commit | 1f8977c90211c803c56f77631a7cf9091f91b303 (patch) | |
| tree | 096bd4696293665302dff00a5382941fd0064619 /tests | |
| parent | 23e9c56a5a4298b937227ec2b8eccb554631775c (diff) | |
| download | dotemacs-1f8977c90211c803c56f77631a7cf9091f91b303.tar.gz dotemacs-1f8977c90211c803c56f77631a7cf9091f91b303.zip | |
refactor: clear transcription C-; T menu, move telega launcher to C-; T
The transcription menu wasn't earning its top-level keymap slot --
the commands (transcribe-audio, switch-backend, view-transcriptions,
kill-transcription) are run rarely enough that `M-x' is fine. Drop
the `cj/transcribe-map' keymap, its `(keymap-set cj/custom-keymap
"T" ...)' binding, and the which-key labels. Commands stay
callable by name.
That frees `C-; T' for telega, where the mnemonic actually fits.
Move the launcher from `C-; G' to `C-; T'. Update the
which-key label, the module commentary, and the keymap-binding
test assertion. The dashboard `g' single-letter binding stays put
-- `t' there is vterm, so dashboard letters and the global
`C-;' prefix don't share a key space anyway.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-telega-config.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/test-telega-config.el b/tests/test-telega-config.el index c642d1f67..d8aaeb4d7 100644 --- a/tests/test-telega-config.el +++ b/tests/test-telega-config.el @@ -18,9 +18,13 @@ (should (featurep 'telega-config))) (ert-deftest test-telega-config-launcher-binding-is-telega () - "Normal: =C-; G= invokes the launcher wrapper, which routes to -`telega' when installed or signals a helpful user-error otherwise." - (should (eq (keymap-lookup cj/custom-keymap "G") #'cj/telega))) + "Normal: =C-; T= invokes the launcher wrapper, which routes to +`telega' when installed or signals a helpful user-error otherwise. + +Was =C-; G= when `T' was contested between org-table and transcription +menus; both have moved (org-table flattened under `C-; O', +transcription cleared to M-x), so the natural mnemonic is free." + (should (eq (keymap-lookup cj/custom-keymap "T") #'cj/telega))) (ert-deftest test-telega-config-launcher-without-package-signals-user-error () "Error: with telega absent, the launcher signals a `user-error' that |
