From d26912ac5cdc6710f3f599c44f4578a44bffea72 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Wed, 11 Sep 2024 21:48:42 +0200 Subject: Emacs: calc: pgtk input fix --- dot.emacs.d/init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dot.emacs.d') diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index 3c1b21d..cad5d37 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -336,7 +336,12 @@ ;; Use keypad comma as decimal separator (use-package calc :config - (define-key calc-digit-map (kbd "") ".")) + (define-key calc-digit-map (kbd "") ".") + + ;; Necessary for calc-digit-map kp-separator shenanigans below + ;; cf. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56117 + (if (eq window-system 'pgtk) + (pgtk-use-im-context nil))) ;;; Mail (use-package gnus -- cgit v1.2.3