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
commit529299579f9512758a4389ff35645ef5a7c55e71 (patch)
treefbaa42ec94941a86b5ac013d229215967028f475 /init.el
parent8902880f628d8a9b2face9c6286e2967732445f6 (diff)
downloaddotemacs-529299579f9512758a4389ff35645ef5a7c55e71.tar.gz
dotemacs-529299579f9512758a4389ff35645ef5a7c55e71.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 'init.el')
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index d22ebd48..4a6ab360 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