русификация xkb + XEmacs (xemacs emacs rus xkb font)
Ключевые слова: xemacs, emacs, rus, xkb, font, (найти похожие документы)
- RU.LINUX (2:5077/15.22) ------------------------------------------ RU.LINUX -
From : Andrew Filonov 2:5019/22.2 18 Jan 01 01:33:34
Subj : русификация xkb + XEmacs
-------------------------------------------------------------------------------
Victor> При этом XEmacs ругается -- No such coding system: koi8-r.
Victor> Hо при установленных cyrillic iso8859-5 fonts русские буквы
Victor> есть, а при переключении раскладки, XEmacs опять ругается --
Victor> iso-next-group not defined, Cyrillic_io not defined,
Victor> Cyrillic_ve not defined, Cyrillic_em not defined... Как быть
Victor> в этом случае?
s> Вообще-то ты пытаешся пользоваться xkb, а XEmacs этого не любит (в
s> отличии от FSF Emacs ;-), правильная переключалка в XEmacs С-\, но
s> если ты хочешь пользоваться xkb, то добавь ЭТО в .emacs:
s> (global-set-key [(iso-next-group)] '(lambda () (interactive)
s> (play-sound-file _switch-keyboard-sound)))
Мда, что народ не придумает, чтобы документацию не читать.
(global-set-key [Cyrillic_a] [а])
(global-set-key [Cyrillic_A] [А])
(global-set-key [Cyrillic_be] [б])
(global-set-key [Cyrillic_BE] [Б])
(global-set-key [Cyrillic_che] [ч])
(global-set-key [Cyrillic_CHE] [Ч])
(global-set-key [Cyrillic_de] [д])
(global-set-key [Cyrillic_DE] [Д])
(global-set-key [Cyrillic_dzhe] [ж])
(global-set-key [Cyrillic_DZHE] [Ж])
(global-set-key [Cyrillic_e] [э])
(global-set-key [Cyrillic_E] [Э])
(global-set-key [Cyrillic_ef] [ф])
(global-set-key [Cyrillic_EF] [Ф])
(global-set-key [Cyrillic_el] [л])
(global-set-key [Cyrillic_EL] [Л])
(global-set-key [Cyrillic_em] [м])
(global-set-key [Cyrillic_EM] [М])
(global-set-key [Cyrillic_en] [н])
(global-set-key [Cyrillic_EN] [H])
(global-set-key [Cyrillic_er] [р])
(global-set-key [Cyrillic_ER] [Р])
(global-set-key [Cyrillic_es] [с])
(global-set-key [Cyrillic_ES] [С])
(global-set-key [Cyrillic_ghe] [г])
(global-set-key [Cyrillic_GHE] [Г])
(global-set-key [Cyrillic_ha] [х])
(global-set-key [Cyrillic_HA] [Х])
(global-set-key [Cyrillic_hardsign] [ъ])
(global-set-key [Cyrillic_HARDSIGN] [Ъ])
(global-set-key [Cyrillic_i] [и])
(global-set-key [Cyrillic_I] [И])
(global-set-key [Cyrillic_ie] [е])
(global-set-key [Cyrillic_IE] [Е])
(global-set-key [Cyrillic_io] [ё])
(global-set-key [Cyrillic_IO] [Ё])
(global-set-key [Cyrillic_je] [f])
(global-set-key [Cyrillic_JE] [f])
(global-set-key [Cyrillic_ka] [к])
(global-set-key [Cyrillic_KA] [К])
(global-set-key [Cyrillic_o] [о])
(global-set-key [Cyrillic_O] [О])
(global-set-key [Cyrillic_pe] [п])
(global-set-key [Cyrillic_PE] [П])
(global-set-key [Cyrillic_sha] [ш])
(global-set-key [Cyrillic_SHA] [Ш])
(global-set-key [Cyrillic_shcha] [щ])
(global-set-key [Cyrillic_SHCHA] [Щ])
(global-set-key [Cyrillic_shorti] [й])
(global-set-key [Cyrillic_SHORTI] [Й])
(global-set-key [Cyrillic_softsign] [ь])
(global-set-key [Cyrillic_SOFTSIGN] [Ь])
(global-set-key [Cyrillic_te] [т])
(global-set-key [Cyrillic_TE] [Т])
(global-set-key [Cyrillic_tse] [ц])
(global-set-key [Cyrillic_TSE] [Ц])
(global-set-key [Cyrillic_u] [у])
(global-set-key [Cyrillic_U] [У])
(global-set-key [Cyrillic_ve] [в])
(global-set-key [Cyrillic_VE] [В])
(global-set-key [Cyrillic_ya] [я])
(global-set-key [Cyrillic_YA] [Я])
(global-set-key [Cyrillic_yeru] [ы])
(global-set-key [Cyrillic_YERU] [Ы])
(global-set-key [Cyrillic_yu] [ю])
(global-set-key [Cyrillic_YU] [Ю])
(global-set-key [Cyrillic_ze] [з])
(global-set-key [Cyrillic_ZE] [З])
(global-set-key [Cyrillic_zhe] [ж])
(global-set-key [Cyrillic_ZHE] [Ж])
(global-set-key [iso-next-group] [])
--
Andrew E. Filonov
--- Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Persephone)
* Origin: Cliph News Site (2:5019/22.2@fidonet)