From 143e59d7d84bf851eadbf57bc24afd79a0e1b31b Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 12 Jan 2019 18:41:26 +0100 Subject: Add a reference to unicode-math-input This package seems to do exactly the kind of thing I would like to do. --- .emacs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.emacs b/.emacs index 0285e1d..7a147fa 100644 --- a/.emacs +++ b/.emacs @@ -55,14 +55,10 @@ (rg-enable-default-bindings) ; Uses the C-c s prefix. -;; TODO: define my own input method, instead of overloading TeX -;; https://www.emacswiki.org/emacs/TeXInputMethod explains why the -;; with-temp-buffer shenanigans are necessary. -;; Quoth (elisp)Input Methods: -;; > How to define input methods is not yet documented in this manual, -;; > but here we describe how to use them. -;; Regardless, `register-input-method', `quail-define-rules' may help -;; achieving that. +;; TODO: define my own input method, instead of overloading TeX. +;; Look at unicode-math-input for inspiration, since according to +;; (elisp)Input Methods: "How to define input methods is not yet +;; documented". (with-temp-buffer (activate-input-method "TeX") (let ((quail-current-package (assoc "TeX" quail-package-alist))) -- cgit v1.2.3