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 --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 9bb1f7fb..9757dc48 100644 --- a/init.el +++ b/init.el @@ -22,7 +22,7 @@ (require 'config-utilities) ;; enable for extra Emacs config debug helpers (require 'user-constants) ;; paths for files referenced in this config (require 'host-environment) ;; convenience functions re: host environment -(require 'terminal-compat) ;; terminal/mosh compatibility fixes +(require 'keyboard-compat) ;; terminal/GUI keyboard compatibility (require 'system-defaults) ;; native comp; log; unicode, backup, exec path (require 'keybindings) ;; system-wide keybindings and keybinding discovery -- cgit v1.2.3