I use few languages and I need to set up specific input method to specific major-mode in Emacs.
I mean, configuration to "auto change" input method for specific major-mode.
Is there some way to do this? Thank you!
I use few languages and I need to set up specific input method to specific major-mode in Emacs.
I mean, configuration to "auto change" input method for specific major-mode.
Is there some way to do this? Thank you!
You can use the MODE-hook for each MODE in question to either set the
default-input-method(toggled with C-\) for buffers in that mode:or to go ahead and activate the input method automatically:
See also How to set a specific input method to a file.