From 089a4313660cb8af1eca3829ffbdbae70f72333a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 2 Feb 2026 08:34:36 -0600 Subject: 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 --- tests/test-calendar-sync--expand-weekly.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/test-calendar-sync--expand-weekly.el') 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)) -- cgit v1.2.3