I have set my default-input-method variable to "english-dvorak":
(custom-set-variables
'(default-input-method "english-dvorak"))
When I launch Emacs, this input method is not selected. How can I make it so that all buffers by default open in this input method?
To do this, type C-\ ( toggle-input-method ). To reenable the input method, type C-\ again. If you type C-\ and you have not yet selected an input method, it prompts you to specify one. This has the same effect as using C-x RET C-\ to specify an input method.
To select a language environment, customize current-language-environment or use the command M-x set-language-environment . It makes no difference which buffer is current when you use this command, because the effects apply globally to the Emacs session.
(defadvice switch-to-buffer (after activate-input-method activate)
(activate-input-method "english-dvorak"))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With