# HG changeset patch # User Oleksandr Gavenko # Date 1381581786 -10800 # Node ID 8fad37c1d42f2e60e198da738a390f2c62ace77e # Parent 9eda6250b20d2c82a348ed00d5540c686f587bc4 Refactoring input method selection. diff -r 9eda6250b20d -r 8fad37c1d42f .emacs-my --- a/.emacs-my Wed Oct 09 20:14:17 2013 +0300 +++ b/.emacs-my Sat Oct 12 15:43:06 2013 +0300 @@ -677,13 +677,17 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "keyboard, mouse") +;; (pc-bindings-mode) ; I define own keybinding... + ;; cyrillic-jis-russian for 567 is :,. ;; cyrillic-jcuken for SHIFT 567 is :,. ;; russian-computer for SHIFT 567 is %^& -(if (>= emacs-major-version 22) - (setq default-input-method 'russian-computer) - (setq default-input-method 'cyrillic-jcuken)) -;; (pc-bindings-mode) ; Myself define keybinding, see +(setq my-russian-input-method 'russian-computer) +(setq my-ukranian-input-method 'ukranian-computer) +(when (<= emacs-major-version 21) + (setq my-russian-input-method 'cyrillic-jcuken) + (setq my-ukranian-input-method 'cyrillic-jcuken)) +(setq default-input-method my-russian-input-method) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "mouse")