ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] GNU/Emacs , баги или фичи ?
Date: Wed, 13 Feb 2002 11:44:29 +0200
Message-ID: <20020213094429.GM30816@sam-solutions.net> (raw)
In-Reply-To: <Pine.LNX.4.43L.0202122313460.26274-100000@arrakis.zephyrous>

On Tue, Feb 12, 2002 at 11:30:34PM +0300, Ivan Zakharyaschev wrote:
> On Wed, 23 Jan 2002, Alexander Bokovoy wrote:
> 
> > И еще для Emacs -- неполноценная, но зато работающая поддержка
> > CP1251:
> 
> Спасибо, определения языковых окружений наподобие этого я добавил в
> Emacs: основанные на кодировках cp* для трех языков. Еще благодаря
> маленькому хаку в них можно переключаться, не делая предварительно
> (codepage-setup ...).
ОК.


> > (set-language-environment "Cyrillic-CP1251")
> > (set-terminal-coding-system 'cp1251)
> > (set-keyboard-coding-system 'cp1251)
> 
> Это все понятно и записано в нужные конфиги. Но возникает теоретический
> вопрос: так ли необходимо указывать keyboard-coding-system, не может ли
> Emacs напрямую получать от XFree информацию о вводимых символах не в
> виде одного байта (про кодировку которых надо знать), а как четкое
> определение символа в большом наборе типа Unicode: cyrillic ya (ведь с
> таким представлением работает X)?
Не знаю, мои талмуды по Emacs об этом молчат, а в код за ненадобностью я
не лазил. Может быть стоит об этом спросить в emacs-овой рассылке?

> > Если еще правильно описать cyrillic-cp1251 для
> > set-language-info-alist,
> > как это уже сделано для cyrillic-iso88595-5, то появится возможность
> > работать с 1251 напрямую, исключая использование ISO 8859-5. Тогда
> > заработает украинская "г с чубом".
> В одной ветке CVS GNU Emacs что-то делается для определения cp1251
> по-другому.
Главное, чтобы заработало и не мешало другим языкам и кодировкам. Mule
давно пора обновлять...

-- 
/ Alexander Bokovoy
Software architect and analyst             // SaM-Solutions Ltd.
---
It's a lot of fun being alive ... I wonder if my bed is made?!?



  parent reply	other threads:[~2002-02-13  9:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-22 22:13 Dimitri Schlecht
2002-01-23 12:52 ` Ivan Zakharyaschev
2002-01-23 14:38   ` Alexander Bokovoy
2002-02-12 20:30     ` Ivan Zakharyaschev
2002-02-13  3:35       ` Mikhail Yakshin
2002-02-13  9:44       ` Alexander Bokovoy [this message]
2002-01-23 20:26   ` Dimitri Schlecht

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=20020213094429.GM30816@sam-solutions.net \
    --to=a.bokovoy@sam-solutions.net \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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