I added these to my init.el:
(use-package org
:ensure nil
:hook (org-mode . (lambda ()
(org-indent-mode)
(variable-pitch-mode -1)
(display-line-numbers-mode -1)
(set-input-method "custom-input-method")))
..
..
The (set-input-method "custom-input-method")
loads some custom keys I defined to insert phonetic symbols:
(quail-define-package
"custom-input-method" "" "" t
"Custom input method
Documentation goes here."
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
;; Phonetic symbols
("\\uh" ?ə) ; UNSTRESSED SCHWA VOWEL
("\\uH" ?ʌ) ; STRESSED SCHWA VOWEL
("\\ii" ?ɪ) ; NEAR-CLOSE NEAR-FRONT UNROUNDED VOWEL
("\\uu" ?ʊ) ; NEAR-CLOSE NEAR-BACK ROUNDED VOWEL
..
..
I use these symbols quite often in my documents so I would like the input method to be enabled by default in Org mode which it works using the code above.
When I enable the custom input method with (set-input-method "custom-input-method")
does it have any negative side effect on the default input method? or the custom input method will just add the additional characters on top of the default input method? So can I enable it by default without having to worry?