Привет всем. Помогите, пожалуйста, настроить проверку русского ispell-ом в utf-8 буферах emacs-а. Система testing, срез примерно недельной давности. Emacs из пакета emacs21.
При попытке проверить русский говорит Spell-checking done и ничего не выводится, не зависимо от того есть там ошибки или нет. Английский текст проверяется (если сменить словарь на американский). Все параметры emacs-а - по умолчанию, .emacs не было в домашней дирректории. В документации пакета dictionaries-common нашел вот что: Spell-checking utf-8 buffers ---------------------------- Spell-checking utf-8 buffers should be internally handled by most {x}emacs if buffer-file-coding-system is set to the encoding instead to 'undecided' or equivalent without the need of having a specific utf-8 dictionary entry. Notably xemacs21-nomule does not support that. ispell.el will recode that UTF-8 to the encoding declared by the dictionary when sending strings and the other way back when receiving them. That should be transparent to the user, unless the original UTF-8 has characters that cannot be recoded to the single byte encoding, leading to misalignment errors (like in #205516). However this is not available out-of-the-box for all encodings. If this is not working for you, please try installing package 'mule-ucs'. The drawback is that your emacs startup will become (much) slower. remember, this will not work for xemacs21-nomule. Пробовал set-buffer-file-coding-system- ничего не изменилось. После чего установил mule-ucs сделал .emacs (un-define-debian) (set-language-environment "UTF-8") (prefer-coding-system 'utf-8-unix) Проверки русского все равно нет. Я проверил, из консоли ispell русский пороверяет если файл в koi8-r кодировке, хотя и показывает какие-то кружочки вместо букв (вроде это так и должно быть) в utf-8 локале. Результат проверки я iconv-ом посмотрел. На всякий случай информация о локале: [EMAIL PROTECTED]:~$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= Вот, вроде, все исходные, если что-то важное упустил- подскажите, пожалуйста. -- Sincerely yours, Yury. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]