More pretty with selecting.
--- a/.emacs-my Wed Oct 15 22:24:58 2008 +0300
+++ b/.emacs-my Wed Oct 15 22:27:49 2008 +0300
@@ -109,13 +109,21 @@
(add-hook 'text-mode-hook 'turn-on-auto-fill)
;; ----------------------------------------------------------------------
-;; Show marked text
-(setq transient-mark-mode t)
+;; syntax highlighting
(setq font-lock-maximum-decoration t)
-;; syntax highlighting
(global-font-lock-mode 1 t)
;; ----------------------------------------------------------------------
+;; selecting
+
+(transient-mark-mode 1) ; 1/-1, when the mark is active, the region is highlighted.
+(delete-selection-mode 1) ; 1/-1
+
+;; Order of next item is important.
+(setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc.
+(pc-selection-mode)
+
+;; ----------------------------------------------------------------------
;; Line
(if window-system
(progn
@@ -132,17 +140,13 @@
(setq show-paren-style (quote parenthesis))
;; ======================================================================
-;; Keyboard, mouse and selection
+;; Keyboard, mouse.
;; cyrillic-jcuken for 567 is :,.
;; russian-computer for 567 is %^&
(setq default-input-method 'russian-computer)
;; (pc-bindings-mode) ; Myself define keybinding, see
-;; Настройка выделения "как в Windows"
-(setq pc-select-selection-keys-only t) ; to avoid some key bindings as F6, etc
-(transient-mark-mode t) ; t/nil, when the mark is active, the region is highlighted
-(delete-selection-mode t) ; t/nil
;; ----------------------------------------------------------------------
;; Completition