summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-02 08:34:36 -0600
committerCraig Jennings <c@cjennings.net>2026-02-02 08:34:36 -0600
commit089a4313660cb8af1eca3829ffbdbae70f72333a (patch)
treec85f6a5f251b7c2a1de0088576c4c19c56d07305 /init.el
parentba27bf84935e8820b9f9bb946d284254275e3216 (diff)
feat(keyboard): add GUI key translation for M-S- bindingsHEADmain
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 'init.el')
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
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