aboutsummaryrefslogtreecommitdiff
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
commitc0a9ee167df0f58bb5415ae49bf80be32429858b (patch)
tree84a633936b7c942fd467f9bd8f564a9d16d9731b /init.el
parentbff41f304151ed5cf98db0cbccf035f1d0054dcd (diff)
downloaddotemacs-c0a9ee167df0f58bb5415ae49bf80be32429858b.tar.gz
dotemacs-c0a9ee167df0f58bb5415ae49bf80be32429858b.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 9bb1f7fb6..9757dc488 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