diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-02 08:34:36 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-02 08:34:36 -0600 |
| commit | d89b1765a1c9f77ef82ab3db5a1e4299299ec6bb (patch) | |
| tree | d6dc08124e19e26491cbd0f0069b9f8cfeadf689 /tests/test-calendar-sync--expand-weekly.el | |
| parent | 5bb732910cac405b21a9d6b4ac79280021997cec (diff) | |
| download | dotemacs-d89b1765a1c9f77ef82ab3db5a1e4299299ec6bb.tar.gz dotemacs-d89b1765a1c9f77ef82ab3db5a1e4299299ec6bb.zip | |
feat(keyboard): add GUI key translation for M-S- bindings
Rename terminal-compat.el to keyboard-compat.el and add GUI support.
Problem: M-S-o and other Meta+Shift bindings didn't work in GUI mode.
GUI Emacs receives M-O (uppercase) but bindings use M-S-o syntax.
Terminal can't use M-O due to arrow key escape sequence conflicts.
Solution: Use key-translation-map in GUI mode to translate M-O -> M-S-o
for all 18 Meta+Shift keybindings. Terminal fixes unchanged.
Also fix two test issues:
- Remove expected-fail from expand-weekly test (timezone fix resolved it)
- Add helpful install messages to dependency-checking tests
Diffstat (limited to 'tests/test-calendar-sync--expand-weekly.el')
| -rw-r--r-- | tests/test-calendar-sync--expand-weekly.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-calendar-sync--expand-weekly.el b/tests/test-calendar-sync--expand-weekly.el index d7b0eddc..fe333c98 100644 --- a/tests/test-calendar-sync--expand-weekly.el +++ b/tests/test-calendar-sync--expand-weekly.el @@ -24,9 +24,7 @@ ;;; Normal Cases (ert-deftest test-calendar-sync--expand-weekly-normal-saturday-returns-occurrences () - "Test expanding weekly event on Saturday (GTFO use case). -Known issue: Timezone calculation may cause off-by-one day error." - :expected-result :failed + "Test expanding weekly event on Saturday (GTFO use case)." (test-calendar-sync--expand-weekly-setup) (unwind-protect (let* ((start-date (test-calendar-sync-time-days-from-now 1 10 30)) |
