equal
deleted
inserted
replaced
42 ;; ====================================================================== |
42 ;; ====================================================================== |
43 ;; Настройка внешнего вида редактора. |
43 ;; Настройка внешнего вида редактора. |
44 ;; View. |
44 ;; View. |
45 |
45 |
46 ; remove menu on nil |
46 ; remove menu on nil |
47 (menu-bar-mode nil) ; t/nil |
47 (menu-bar-mode -1) ; 1/-1 |
48 ; remove button on nil |
48 ; remove button on nil |
49 (tool-bar-mode nil) ; t/nil |
49 (tool-bar-mode -1) ; 1/-1 |
50 |
50 |
51 (if window-system |
51 (if window-system |
52 ;; Для X-window и Win |
52 ;; Для X-window и Win |
53 (progn |
53 (progn |
54 ;; size of emacs area and position |
54 ;; size of emacs area and position |
117 ;; ---------------------------------------------------------------------- |
117 ;; ---------------------------------------------------------------------- |
118 ;; highlight selected text |
118 ;; highlight selected text |
119 |
119 |
120 (transient-mark-mode 1) ; 1/-1, when the mark is active, the region is highlighted. |
120 (transient-mark-mode 1) ; 1/-1, when the mark is active, the region is highlighted. |
121 (delete-selection-mode 1) ; 1/-1 |
121 (delete-selection-mode 1) ; 1/-1 |
|
122 |
122 ;; Order of next item is important. |
123 ;; Order of next item is important. |
123 (setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc. |
124 (setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc. |
124 (pc-selection-mode) |
125 (pc-selection-mode) |
125 |
126 |
126 ;; ---------------------------------------------------------------------- |
127 ;; ---------------------------------------------------------------------- |
199 |
200 |
200 ;; (global-set-key [language-change] 'ignore) |
201 ;; (global-set-key [language-change] 'ignore) |
201 |
202 |
202 ;; ====================================================================== |
203 ;; ====================================================================== |
203 ;; Coding system, charset, locale, lang. |
204 ;; Coding system, charset, locale, lang. |
|
205 |
204 ; Подготовка к использованию соответствующих кодовых страниц. |
206 ; Подготовка к использованию соответствующих кодовых страниц. |
205 (codepage-setup 866) |
207 (codepage-setup 866) |
206 (codepage-setup 1251) |
208 (codepage-setup 1251) |
207 |
209 |
208 ;; Comment because prefer-coding-system will be ignored. |
210 ;; Comment because prefer-coding-system will be ignored. |