ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Кучумов А.А." <kuchumov@srd.mtuci.ru>
To: <community@altlinux.ru>
Subject: RE: [Comm] Проблемы с русскими шрифтами вxemacs
Date: Tue, 8 Jun 2004 14:42:09 +0400
Message-ID: <20040608104258.B415DE5814@master.altlinux.ru> (raw)
In-Reply-To: <m365a8q0fx.fsf@hammer.malta.altlinux.ru>

> -----Original Message-----
> From: community-bounces@altlinux.ru [mailto:community-bounces@altlinux.ru]
> On Behalf Of sbolshakov@altlinux.ru
> Sent: Thursday, June 03, 2004 4:41 PM
> To: community@altlinux.ru
> Subject: Re: [Comm] Проблемы с русскими шрифтами вxemacs
> 
> >>>>> "kuchumov" == kuchumov  <.> writes:
> 
>  > Доброго времени суток.
>  > Никак не могу настроить нормальное отображение русских букв в xemacs.
>
> Предлагаю поместить это в ~/.Xdefaults (или ~/.Xresources ):
> --- %< ---
> ! Поправьте под свои нужды
> #define XEMACSFONT -rfx-courier-medium-r-*-*-14-*-*-*-*-*-microsoft-cp1251

[Пропущено]

> Это в ~/.xemacs/init.el :
> (MULElaunch
>  (set-language-environment "Cyrillic-Win")
>  (set-charset-registry 'ascii "windows-1251")
>  (set-charset-registry 'latin-iso8859-1 "windows-1251")
>  (set-charset-registry 'cyrillic-iso8859-5 "windows-1251")
>  (set-charset-ccl-program 'cyrillic-iso8859-5 'ccl-encode-windows1251)
>  (put-charset-property 'cyrillic-iso8859-5 'preferred-coding-system
> 'windows-1251)
>  (define-coding-system-alias 'cp1251 'windows-1251)
>  )

Спасибо, не заработало :-)

Если я правильно понял, то строка
>  (set-charset-ccl-program 'cyrillic-iso8859-5 'ccl-encode-windows1251) 
предназначена для перекодирования шрифта из win1251 в iso8859-5.
Но в текущей версии XEmacs не ccl-encode-windows1251
Есть coding-system-ccl-encode. Поскольку lisp я не знаю - то самостоятельно
разобраться пока не могу. Может подскажете что бы такого не очень толстого
почитать? Что бы хотя бы синтаксис понимать?

На данный момент вышел из положения следующим простым способом:
(set-language-environment "Cyrillic-Win") - в init.el, причем без MULElaunch
И установил пакет русских шрифтов в кодировке iso8859-5.

Ну и в .Xresources прописал то, что вы подсказали, только кодировку сменил
на iso, а Xemacs на просто emacs - как написано в документации.

Однако нарисовалась еще одна проблемка - GNU Emacs не хочет работать с
aspell. Т.е. если пакет aspell установлен - то GNU Emacs пишет ispell exited
with коде 1 в буфере *Messages*.
Может кто знает как это лечится?

С уважением, Кучумов Андрей.

  reply	other threads:[~2004-06-08 10:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03 12:18 [Comm] Проблемы с русскими шрифтами в xemacs Кучумов А.А.
2004-06-03 12:40 ` sbolshakov
2004-06-08 10:42   ` Кучумов А.А. [this message]
2004-06-08 10:59     ` [Comm] Проблемы с русскими шрифтами вxemacs sbolshakov
2004-06-08 16:11       ` Кучумов А.А.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040608104258.B415DE5814@master.altlinux.ru \
    --to=kuchumov@srd.mtuci.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git