.emacs-my
changeset 449 068ea808901d
parent 448 bfed530c0e79
child 451 cf6fe4141a9d
equal deleted inserted replaced
448:bfed530c0e79 449:068ea808901d
   437     (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
   437     (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
   438     (modify-coding-system-alist 'process ".*" 'utf-8-unix)
   438     (modify-coding-system-alist 'process ".*" 'utf-8-unix)
   439     ))
   439     ))
   440  (t
   440  (t
   441   (progn
   441   (progn
   442     ;; (set-selection-coding-system   'utf-8-unix)
       
   443     (prefer-coding-system 'cp1251-dos)
   442     (prefer-coding-system 'cp1251-dos)
   444     (prefer-coding-system 'utf-8-unix)
   443     (prefer-coding-system 'utf-8-unix)
   445     (modify-coding-system-alist 'process ".*" 'utf-8-unix)
   444     (modify-coding-system-alist 'process ".*" 'utf-8-unix)
   446     ))
   445     ))
   447   )
   446   )
   448 
       
   449 ;; XXXXXXXXXXXXXXXXXXXXXXXX
       
   450 
       
   451 ;; To open from command line file, which names has extended opcode
       
   452 ;; (set-file-name-coding-system 'cp1251)
       
   453 
       
   454 ;; (set-language-environment "Russian") ; XXX not used as set default coding system to koi8-r.
       
   455 
   447 
   456 ;; ----------------------------------------------------------------------
   448 ;; ----------------------------------------------------------------------
   457 ;; dired.
   449 ;; dired.
   458 
   450 
   459 (setq dired-dwim-target t)
   451 (setq dired-dwim-target t)