Здравствуйте.

Использую Ubuntu 8.04.1 и Emacs 22.1.1. 
Недавно поменял используемую емаксом кодировку с koi8-r на UTF-8 и
обнаружилась странная проблема. Перестала работать проверка орфографии,
но перестала как-то хитро. Нормально проверяется орфография в первом
абзаце, а дальше нет. Если навожу курсор на слово, например, во втором
абзаце и нажимаю M-$, пишет "No word found to check!". Кто-нибудь
сталкивался с такой проблемой?

Мой ~/.emacs прикладываю к письму. Заранее спасибо.

-- 
Mikhail Vasil'ev <[EMAIL PROTECTED]>
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(TeX-close-quote ">>")
 '(TeX-open-quote "<<")
 '(column-number-mode t)
 '(current-language-environment "UTF-8")
 '(default-input-method "russian-computer")
 '(display-time-mode t)
 '(show-paren-mode t)
 '(transient-mark-mode t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'koi8-r-unix)
(prefer-coding-system 'utf-8-unix)
(tool-bar-mode nil)
(scroll-bar-mode nil)
(setq ispell-dictionary "russian")
(global-set-key [f11] 'ispell-buffer)
(global-set-key [f12] 'flyspell-mode)
(setq default-major-mode 'text-mode)
;; Turn on auto-fill mode
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(setq initial-scratch-message nil) ; Очищаем scratch buffer
;; show column & line numbers in status bar
(setq column-number-mode t)
(setq line-number-mode t)
;; hour format
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)
(display-time)
;; always end a file with a newline
(setq require-final-newline t)
;; установка размеров экрана
;;(set-frame-height (selected-frame) 55)
;;(set-frame-width (selected-frame) 145)
;; верхний левый угол
;;(set-frame-position (selected-frame) 0 0)
;; enable tex parser, also very helpful
(setq ispell-enable-tex-parser t)
(add-hook 'text-mode-hook 'flyspell-mode)
(setq flyspell-default-dictionary "russian")
;; AUCTeX
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
;; Octave
(autoload 'octave-mode "octave-mod" nil t)
(setq auto-mode-alist
      (cons '("\\.m$" . octave-mode) auto-mode-alist))
(add-hook 'octave-mode-hook
	  (lambda ()
	    (abbrev-mode 1)
	    (auto-fill-mode 1)
	    (if (eq window-system 'x)
		(font-lock-mode 1))))
;настаиваем клавишу мета
(global-set-key "\C-x\C-m" 'execute-extended-command)
;y вместо yes ...
(fset 'yes-or-no-p 'y-or-n-p)
;; Lisp
(setq inferior-lisp-program "/usr/bin/clisp -K full")
(setq slime-net-coding-system 'utf-8-unix)
(require 'slime)
(slime-setup)
-- 
ubuntu-ru mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru

Дати відповідь електронним листом