unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: handa@m17n.org, emacs-devel@gnu.org
Subject: Re: Russian letters
Date: Sat, 08 Jul 2006 19:06:57 +0300	[thread overview]
Message-ID: <uy7v4nkri.fsf@gnu.org> (raw)
In-Reply-To: <200607081830.12937.pogonyshev@gmx.net> (message from Paul Pogonyshev on Sat, 8 Jul 2006 18:30:12 +0300)

> From: Paul Pogonyshev <pogonyshev@gmx.net>
> Date: Sat, 8 Jul 2006 18:30:12 +0300
> Cc: handa@m17n.org
> 
> Eli Zaretskii wrote:
> > > From: Paul Pogonyshev <pogonyshev@gmx.net>
> > > Date: Fri, 7 Jul 2006 22:59:40 +0300
> > > 
> > > >     utf-fragment-on-decoding's value is nil
> > > > 
> > > >     Whether or not to decode some chars in UTF-8/16 text into iso8859 charsets.
> > > >     [...]
> > > 
> > > Why not do the same to the typed characters?
> > 
> > Maybe it does, let's find out: how did you type those characters?  Did
> > you use a Leim input method (which one?), or did you type them on your
> > keyboard?
> 
> I think it is Leim input method `russian-computer'.  I.e. I use `C-\' in
> Emacs to switch between US Engish and Russian keyboard layouts.

Handa-san, should Leim obey utf-fragment-on-decoding?  I think it
should, but maybe there's some complication that prevents it.

> No matter how the characters are encoded, if they conceptually are
> the same, they should be displayed using the same method, no?

Ideally, yes.  However, this is a harsh requirement: a font assumes a
certain encoding of a character, so Emacs cannot easily use another
font if it's for a different encoding.

> Cronyx fonts do indeed support Russian characters.  However, customizing
> `default' face to use cronyx-courier for some reason influences only the
> current Emacs session.  Bug?

Probably.  I'll let Handa-san to answer this.

> Actually, I now see that I had this problem before and wrote about it in
> ``Pango-like font fallback (was Re: Russian numero sign)'' thread:
> 
>     I went to install all the fonts I could find in my Debian Sarge.  And
>     found cronyx-courier font, which looks nice _and_ has Cyrillic
>     characters.  However, when I customize the default face in Emacs and
>     set that font family, latin characters are still displayed in
>     adobe-courier (though Cyrillic ones are shown in cronyx-courier)...
>     And the customization doesn't take any effect after I restart Emacs...
>     Any ideas?
> 
> Kenichi Handa answered:
> 
>    Perhaps that because you don't have
>    -cronyx-courier-...-iso8859-1.  Emacs by default uses an
>    iso8859-1 font for ASCII.  To change it, you must create a
>    proper fontset by one of these ways: [...]
> 
> How an average user is supposed to find it is beyond me.

They shouldn't.  But I think Debian should add a -cronyx-courier font
for Latin-1, because without that Emacs is broken for Cyrillic
scripts.  Or maybe there's some other Unicode font that covers both
Cyrillic and Latin-1.

      reply	other threads:[~2006-07-08 16:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-05 18:10 Russian letters Paul Pogonyshev
2006-07-05 18:19 ` Andreas Schwab
2006-07-05 21:43   ` Paul Pogonyshev
2006-07-05 22:08     ` Andreas Schwab
2006-07-05 22:21       ` Paul Pogonyshev
2006-07-05 22:55         ` Andreas Schwab
2006-07-06 15:59           ` Paul Pogonyshev
2006-07-06 16:39             ` Andreas Schwab
2006-07-06 18:17               ` Paul Pogonyshev
2006-07-06 20:11                 ` Eli Zaretskii
2006-07-06  3:41         ` Eli Zaretskii
2006-07-06 15:56           ` Paul Pogonyshev
2006-07-06 20:12             ` Eli Zaretskii
2006-07-06 20:27               ` Paul Pogonyshev
2006-07-06 20:38                 ` Paul Pogonyshev
2006-07-07  8:41                   ` Eli Zaretskii
2006-07-06 21:14                 ` Eli Zaretskii
2006-07-06 21:48                   ` Paul Pogonyshev
2006-07-07  8:46                     ` Eli Zaretskii
2006-07-07 19:59                       ` Paul Pogonyshev
2006-07-08 12:35                         ` Eli Zaretskii
2006-07-08 15:30                           ` Paul Pogonyshev
2006-07-08 16:06                             ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uy7v4nkri.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).