commit 143e59d7d84bf851eadbf57bc24afd79a0e1b31b
parent c673957be7d85ea5411daa6e9506a338764e6d66
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sat, 12 Jan 2019 18:41:26 +0100
Add a reference to unicode-math-input
This package seems to do exactly the kind of thing I would like to do.
Diffstat:
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git 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)))